diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-02-07 01:34:28 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-02-07 01:34:28 +0000 |
commit | 20c4d970db872ba2aad8f63d030685717790dde4 (patch) | |
tree | 6d09e4bc1a31fcb97b5d033197afa192dc6f5433 /gnu | |
parent | 44b9b09a0ebc7efd092d8c5cb27ca52a02e16be3 (diff) |
zap sp64elf.h, get the only config part really used (PREFERRED_DEBUGGING_TYPE)
into openbsd64.h. Keep the other stuff in #if 0 for now.
okay miod@, brad@, pval@...
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config.gcc | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/sparc/openbsd64.h | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config.gcc b/gnu/usr.bin/gcc/gcc/config.gcc index 0de60e22919..0c1867549a3 100644 --- a/gnu/usr.bin/gcc/gcc/config.gcc +++ b/gnu/usr.bin/gcc/gcc/config.gcc @@ -2453,7 +2453,7 @@ sparc-*-openbsd*) use_collect2=yes ;; sparc64-*-openbsd*) - tm_file="sparc/openbsd1-64.h sparc/sparc.h elfos.h svr4.h sparc/sysv4.h sparc/sp64-elf.h openbsd.h ${openbsd_libspec} sparc/openbsd64.h" + tm_file="sparc/openbsd1-64.h sparc/sparc.h elfos.h svr4.h sparc/sysv4.h openbsd.h ${openbsd_libspec} sparc/openbsd64.h" tm_file="${tm_file} exec-stack.h" xm_file=sparc/xm-sp64.h gas=yes gnu_ld=yes diff --git a/gnu/usr.bin/gcc/gcc/config/sparc/openbsd64.h b/gnu/usr.bin/gcc/gcc/config/sparc/openbsd64.h index b6b99408a97..d7b43e19ba5 100644 --- a/gnu/usr.bin/gcc/gcc/config/sparc/openbsd64.h +++ b/gnu/usr.bin/gcc/gcc/config/sparc/openbsd64.h @@ -173,3 +173,29 @@ Boston, MA 02111-1307, USA. */ = init_one_libfunc (TARGET_ARCH64 ? "__dtol" : "__dtoll"); \ fixunsdfdi_libfunc \ = init_one_libfunc (TARGET_ARCH64 ? "__dtoul" : "__dtoull") + + +#undef PREFERRED_DEBUGGING_TYPE +#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG + +#if 0 +/* The medium/anywhere code model practically requires us to put jump tables + in the text section as gcc is unable to distinguish LABEL_REF's of jump + tables from other label refs (when we need to). */ +/* But we now defer the tables to the end of the function, so we make + this 0 to not confuse the branch shortening code. */ +#undef JUMP_TABLES_IN_TEXT_SECTION +#define JUMP_TABLES_IN_TEXT_SECTION 0 + +/* V9 chips can handle either endianness. */ +#undef SUBTARGET_SWITCHES +#define SUBTARGET_SWITCHES \ +{"big-endian", -MASK_LITTLE_ENDIAN, N_("Generate code for big endian") }, \ +{"little-endian", MASK_LITTLE_ENDIAN, N_("Generate code for little endian") }, + +#undef BYTES_BIG_ENDIAN +#define BYTES_BIG_ENDIAN (! TARGET_LITTLE_ENDIAN) + +#undef WORDS_BIG_ENDIAN +#define WORDS_BIG_ENDIAN (! TARGET_LITTLE_ENDIAN) +#endif |