diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-11 19:21:54 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-11 19:21:54 -0400 |
commit | 4d3f9f5b1cd8d68f8bea3d86d93a09b1e37c7542 (patch) | |
tree | 7d30ad24d3cdc56add490a49627c6b0d620f2020 | |
parent | 6b6ccd10606c3c0811577e6edd5a95dbc46d17ba (diff) | |
download | gcc-4d3f9f5b1cd8d68f8bea3d86d93a09b1e37c7542.zip gcc-4d3f9f5b1cd8d68f8bea3d86d93a09b1e37c7542.tar.gz gcc-4d3f9f5b1cd8d68f8bea3d86d93a09b1e37c7542.tar.bz2 |
(LIBGCC2_WORDS_BIG_ENDIAN): Define to be 0/1 depending on the target endianess.
(ASM_FILE_START): Define, to call output_options in addition to
output_file_directive.
(TRAMPOLINE_SIZE): Correct size to match code.
From-SVN: r10319
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 5e83c31..94d62a9 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -121,6 +121,14 @@ do { \ #define BYTES_BIG_ENDIAN (TARGET_BIG_ENDIAN) #define WORDS_BIG_ENDIAN (TARGET_BIG_ENDIAN) +/* Define this to set the endianness to use in libgcc2.c, which can + not depend on target_flags. */ +#ifndef _LITTLE_ENDIAN +#define LIBGCC2_WORDS_BIG_ENDIAN 1 +#else +#define LIBGCC2_WORDS_BIG_ENDIAN 0 +#endif + /* Size of the outgoing register save area */ #undef RS6000_REG_SAVE #define RS6000_REG_SAVE (TARGET_AIX_CALLS ? (TARGET_64BIT ? 64 : 32) : 0) @@ -312,6 +320,14 @@ extern int rs6000_pic_labelno; %{mrelocatable} \ %{mlittle} %{mlittle-endian} %{mbig} %{mbig-endian}" +/* Output .file and comments listing what options there are */ +#undef ASM_FILE_START +#define ASM_FILE_START(FILE) \ +do { \ + ASM_OUTPUT_OPTIONS (FILE); \ + output_file_directive ((FILE), main_input_filename); \ +} while (0) + /* This is the end of what might become sysv4.h. */ /* Allow stabs and dwarf, prefer dwarf. */ @@ -403,7 +419,7 @@ do { \ /* Length in units of the trampoline for entering a nested function. */ #undef TRAMPOLINE_SIZE -#define TRAMPOLINE_SIZE (TARGET_64BIT ? 52 : 44) +#define TRAMPOLINE_SIZE (TARGET_64BIT ? 48 : 40) /* Emit RTL insns to initialize the variable parts of a trampoline. FNADDR is an RTX for the address of the function's pure code. |