/* Bytecode definitions for GNU C-compiler.
- Copyright (C) 1993 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
This file is part of GNU CC.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
extern int output_bytecode;
/* Emit DI constant according to target machine word ordering */
-#ifdef WORD_HIGH_ENDIAN
-
#define bc_emit_bytecode_DI_const(CST) \
{ int opcode; \
- opcode = TREE_INT_CST_HIGH (CST); \
+ opcode = (WORDS_BIG_ENDIAN \
+ ? TREE_INT_CST_HIGH (CST) \
+ : TREE_INT_CST_LOW (CST)); \
bc_emit_bytecode_const ((char *) &opcode, sizeof opcode); \
- opcode = TREE_INT_CST_LOW (CST); \
+ opcode = (WORDS_BIG_ENDIAN \
+ ? TREE_INT_CST_LOW (CST) \
+ : TREE_INT_CST_HIGH (CST)); \
bc_emit_bytecode_const ((char *) &opcode, sizeof opcode); \
}
-
-#else
-
-#define bc_emit_bytecode_DI_const(CST) \
-{ int opcode; \
- opcode = TREE_INT_CST_LOW (CST); \
- bc_emit_bytecode_const ((char *) &opcode, sizeof opcode); \
- opcode = TREE_INT_CST_HIGH (CST); \
- bc_emit_bytecode_const ((char *) &opcode, sizeof opcode); \
-}
-
-#endif
-
extern void bc_expand_expr ();
extern void bc_output_data_constructor ();
#define BC_NOP (0)
#define BC_GLOBALIZE_LABEL(FP, NAME) BC_NOP
#define BC_OUTPUT_COMMON(FP, NAME, SIZE, ROUNDED) BC_NOP
+#define BC_OUTPUT_BSS(FP, NAME, SIZE, ROUNDED) BC_NOP
#define BC_OUTPUT_LOCAL(FP, NAME, SIZE, ROUNDED) BC_NOP
#define BC_OUTPUT_ALIGN(FP, ALIGN) BC_NOP
#define BC_OUTPUT_LABEL(FP, NAME) BC_NOP