diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-12-22 12:06:01 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-12-22 12:06:01 +0000 |
commit | 57809813b459dc5926d3d2f8d89dba41a73bad1e (patch) | |
tree | a92085fa56630420fbd714a86cd4883b809f5416 /gcc/config/sh | |
parent | 6e30705627f75583735d7e04d1a162ee4afbe838 (diff) | |
download | gcc-57809813b459dc5926d3d2f8d89dba41a73bad1e.zip gcc-57809813b459dc5926d3d2f8d89dba41a73bad1e.tar.gz gcc-57809813b459dc5926d3d2f8d89dba41a73bad1e.tar.bz2 |
svr4.h: Remove.
* config/svr4.h: Remove.
* system.h (USING_SVR4_H, SVR4_ASM_SPEC): Poison.
* config.gcc, config/bfin/bfin.h, config/cris/cris.h,
config/fr30/fr30.h, config/frv/frv.h, config/i386/openbsdelf.h,
config/i386/vx-common.h, config/ia64/elf.h, config/ia64/ia64.h,
config/ia64/sysv4.h, config/iq2000/iq2000.h, config/m68k/linux.h,
config/m68k/m68kelf.h, config/mips/mips.h, config/mips/vxworks.h,
config/moxie/moxie.h, config/netbsd-aout.h, config/openbsd.h,
config/rs6000/sysv4.h, config/sh/elf.h, config/sh/sh.h,
config/sol2.h, config/sparc/sysv4.h, config/stormy16/stormy16.h,
config/v850/v850.h, config/vxworks.h: Remove or update comments
referring to svr4.h.
From-SVN: r168166
Diffstat (limited to 'gcc/config/sh')
-rw-r--r-- | gcc/config/sh/elf.h | 6 | ||||
-rw-r--r-- | gcc/config/sh/sh.h | 5 |
2 files changed, 2 insertions, 9 deletions
diff --git a/gcc/config/sh/elf.h b/gcc/config/sh/elf.h index 15f106a..336743c 100644 --- a/gcc/config/sh/elf.h +++ b/gcc/config/sh/elf.h @@ -1,5 +1,5 @@ /* Definitions of target machine for gcc for Renesas / SuperH SH using ELF. - Copyright (C) 1996, 1997, 2000, 2001, 2002, 2004, 2005, 2007 + Copyright (C) 1996, 1997, 2000, 2001, 2002, 2004, 2005, 2007, 2010 Free Software Foundation, Inc. Contributed by Ian Lance Taylor <ian@cygnus.com>. @@ -32,8 +32,6 @@ along with GCC; see the file COPYING3. If not see /* use a more compact format for line information */ #define DWARF2_ASM_LINE_DEBUG_INFO 1 -/* WCHAR_TYPE / WCHAR_TYPE_SIZE are defined to long int / BITS_PER_WORD in - svr4.h, but these work out as 64 bit for shmedia64. */ #undef WCHAR_TYPE /* #define WCHAR_TYPE (TARGET_SH5 ? "int" : "long int") */ #define WCHAR_TYPE SH_ELF_WCHAR_TYPE @@ -66,8 +64,6 @@ along with GCC; see the file COPYING3. If not see #define LINK_EMUL_PREFIX "sh%{ml:l}elf" #endif -/* svr4.h undefined DBX_REGISTER_NUMBER, so we need to define it - again. */ #define DBX_REGISTER_NUMBER(REGNO) SH_DBX_REGISTER_NUMBER (REGNO) #undef ASM_GENERATE_INTERNAL_LABEL diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 861b665..4579af3 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -405,8 +405,7 @@ do { \ #define SUBTARGET_LINK_EMUL_SUFFIX "" #define SUBTARGET_LINK_SPEC "" -/* svr4.h redefines LINK_SPEC inappropriately, so go via SH_LINK_SPEC, - so that we can undo the damage without code replication. */ +/* Go via SH_LINK_SPEC to avoid code replication. */ #define LINK_SPEC SH_LINK_SPEC #define SH_LINK_SPEC "\ @@ -2211,8 +2210,6 @@ struct sh_args { /* DBX register number for a given compiler register number. */ /* GDB has FPUL at 23 and FP0 at 25, so we must add one to all FP registers to match gdb. */ -/* svr4.h undefines this macro, yet we really want to use the same numbers - for coff as for elf, so we go via another macro: SH_DBX_REGISTER_NUMBER. */ /* expand_builtin_init_dwarf_reg_sizes uses this to test if a register exists, so we should return -1 for invalid register numbers. */ #define DBX_REGISTER_NUMBER(REGNO) SH_DBX_REGISTER_NUMBER (REGNO) |