diff options
author | 2005-02-07 01:34:27 +0000 | |
---|---|---|
committer | 2005-02-07 01:34:27 +0000 | |
commit | 15b2dbbd101d7140b24f82fcf00092189db15dea (patch) | |
tree | e1abb2b9f34c9f69b36a40caf8613cc910925a64 | |
parent | take size of metainfo into account when checking if the file system is (diff) | |
download | wireguard-openbsd-15b2dbbd101d7140b24f82fcf00092189db15dea.tar.xz wireguard-openbsd-15b2dbbd101d7140b24f82fcf00092189db15dea.zip |
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@...
-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 |