diff options
author | Michael Meissner <meissner@cygnus.com> | 1996-04-24 16:54:48 +0000 |
---|---|---|
committer | Michael Meissner <meissner@cygnus.com> | 1996-04-24 16:54:48 +0000 |
commit | 3bb0808d5db3382f7492081ded6fa8bc663705dc (patch) | |
tree | 7b73c7a7b56ba247b72a79c0826bfb00cbcf07a2 /gcc/config/rs6000/eabi.h | |
parent | aea163428d9141e7b22fd76da896af3ca7626eee (diff) |
Solaris, Linux changes
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@11874 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/eabi.h')
-rw-r--r-- | gcc/config/rs6000/eabi.h | 60 |
1 files changed, 5 insertions, 55 deletions
diff --git a/gcc/config/rs6000/eabi.h b/gcc/config/rs6000/eabi.h index 7c20972e3e5..926e314ca76 100644 --- a/gcc/config/rs6000/eabi.h +++ b/gcc/config/rs6000/eabi.h @@ -22,41 +22,9 @@ Boston, MA 02111-1307, USA. */ #include "rs6000/sysv4.h" -/* For now, make stabs the default debugging type, not dwarf. */ -#undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG - -/* Make int foo : 8 not cause structures to be aligned to an int boundary */ - -#undef PCC_BITFIELD_TYPE_MATTERS -#define PCC_BITFIELD_TYPE_MATTERS (TARGET_BITFIELD_TYPE) - -/* Define this macro to be the value 1 if instructions will fail to - work if given data not on the nominal alignment. If instructions - will merely go slower in that case, define this macro as 0. - - Note, little endian systems trap on unaligned addresses, so never - turn off strict alignment in that case. */ -#undef STRICT_ALIGNMENT -#define STRICT_ALIGNMENT (TARGET_STRICT_ALIGN || TARGET_LITTLE_ENDIAN) - -/* Align stack to 8 byte boundaries, rather than 16 bytes Sys V.4 uses */ -#undef STACK_BOUNDARY -#define STACK_BOUNDARY 64 - -/* No data type wants to be aligned rounder than this. */ -#undef BIGGEST_ALIGNMENT -#define BIGGEST_ALIGNMENT 64 - -/* Put PC relative got entries in .got2 */ -#undef MINIMAL_TOC_SECTION_ASM_OP -#define MINIMAL_TOC_SECTION_ASM_OP \ - ((TARGET_RELOCATABLE) ? "\t.section\t\".got2\",\"aw\"" : "\t.section\t\".got1\",\"aw\"") - -/* Put relocatable data in .data, not .rodata so initialized pointers can be updated */ -#undef CONST_SECTION_ASM_OP -#define CONST_SECTION_ASM_OP \ - ((TARGET_RELOCATABLE) ? "\t.section\t\".data\"\t# .rodata" : "\t.section\t\".rodata\"") +/* Add -meabi to target flags */ +#undef TARGET_DEFAULT +#define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_EABI) /* Invoke an initializer function to set up the GOT */ #define NAME__MAIN "__eabi" @@ -68,23 +36,5 @@ Boston, MA 02111-1307, USA. */ #define CPP_PREDEFINES \ "-DPPC -D__embedded__ -Asystem(embedded) -Acpu(powerpc) -Amachine(powerpc)" -/* Clue the simulator in to use netbsd */ -#undef LINK_START_SPEC -#define LINK_START_SPEC "%{msim: %{!Ttext*: -Ttext 0x10000074}}" - -/* Use the simulator crt0 or mvme and libgloss/newlib libraries if desired */ -#undef STARTFILE_SPEC -#define STARTFILE_SPEC "crti.o%s \ -%{mmvme: mvme-crt0.o%s} \ -%{msim: sim-crt0.o%s}" - -#undef LIB_SPEC -#define LIB_SPEC "\ -%{mmvme: -lmvme -lc -lmvme} \ -%{msim: -lsim -lc -lsim}" - -#undef LIBGCC_SPEC -#define LIBGCC_SPEC "libgcc.a%s" - -#undef ENDFILE_SPEC -#define ENDFILE_SPEC "crtn.o%s" +#undef MULTILIB_DEFAULTS +#define MULTILIB_DEFAULTS { "mbig", "mbig-endian", "mcall-sysv-eabi", "mno-sdata" } |