diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-12-17 21:17:17 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-12-17 21:17:17 +0000 |
commit | 7f2605707f4089459163f7d767f0ba5e1c9361e6 (patch) | |
tree | 222f108774af26e188832053bb0baa4b1196a236 /gcc | |
parent | 0d54d6cae8c1a6974c5acebe28f748b0c13d54d6 (diff) | |
download | gcc-7f2605707f4089459163f7d767f0ba5e1c9361e6.zip gcc-7f2605707f4089459163f7d767f0ba5e1c9361e6.tar.gz gcc-7f2605707f4089459163f7d767f0ba5e1c9361e6.tar.bz2 |
netware.h (ASM_SPEC, [...]): Define.
* config/i386/netware.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE):
Define.
* config/i386/nto.h (LIB_SPEC, ASM_SPEC): Define.
(DBX_REGISTER_NUMBER): Undefine.
* config/i386/sol2.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
* config/i386/vxworksae.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE):
Define.
* config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu |
i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* |
i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* |
x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
i[3456x]86-*-netware*, i[34567]86-*-nto-qnx*,
i[34567]86-*-solaris2*,
i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae): Don't use svr4.h.
From-SVN: r167998
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 17 | ||||
-rw-r--r-- | gcc/config.gcc | 12 | ||||
-rw-r--r-- | gcc/config/i386/netware.h | 9 | ||||
-rw-r--r-- | gcc/config/i386/nto.h | 7 | ||||
-rw-r--r-- | gcc/config/i386/sol2.h | 6 | ||||
-rw-r--r-- | gcc/config/i386/vxworksae.h | 11 |
6 files changed, 55 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17ec795..f0a0882 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,20 @@ +2010-12-17 Joseph Myers <joseph@codesourcery.com> + + * config/i386/netware.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE): + Define. + * config/i386/nto.h (LIB_SPEC, ASM_SPEC): Define. + (DBX_REGISTER_NUMBER): Undefine. + * config/i386/sol2.h (SIZE_TYPE, PTRDIFF_TYPE): Define. + * config/i386/vxworksae.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE): + Define. + * config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | + i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | + i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* | + x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, + i[3456x]86-*-netware*, i[34567]86-*-nto-qnx*, + i[34567]86-*-solaris2*, + i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae): Don't use svr4.h. + 2010-12-17 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (move_or_delete_vzeroupper_2): Replace diff --git a/gcc/config.gcc b/gcc/config.gcc index 7d74010..f2ee7f6 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1218,7 +1218,7 @@ i[34567]86-*-openbsd*) i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu) # Intel 80386's running GNU/* # with ELF format using glibc 2 - tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h" + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h linux.h glibc-stdint.h" case ${target} in i[34567]86-*-linux*) # Assume modern glibc @@ -1255,7 +1255,7 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i tmake_file="${tmake_file} i386/t-crtstuff i386/t-crtpc i386/t-crtfm t-dfprules" ;; x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu) - tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h \ + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h linux.h glibc-stdint.h \ i386/x86-64.h i386/linux64.h" case ${target} in x86_64-*-linux*) @@ -1285,7 +1285,7 @@ i[34567]86-*-lynxos*) gas=yes ;; i[3456x]86-*-netware*) - tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h tm-dwarf2.h i386/netware.h" + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h tm-dwarf2.h i386/netware.h" tmake_file="${tmake_file} i386/t-netware" extra_objs=netware.o case /${with_ld} in @@ -1304,7 +1304,7 @@ i[3456x]86-*-netware*) esac ;; i[34567]86-*-nto-qnx*) - tm_file="${tm_file} i386/att.h dbxelf.h tm-dwarf2.h elfos.h svr4.h i386/unix.h i386/nto.h" + tm_file="${tm_file} i386/att.h dbxelf.h tm-dwarf2.h elfos.h i386/unix.h i386/nto.h" tmake_file="${tmake_file} i386/t-nto" gnu_ld=yes gas=yes @@ -1315,7 +1315,7 @@ i[34567]86-*-rtems*) tmake_file="${tmake_file} i386/t-rtems-i386 i386/t-crtstuff t-rtems" ;; i[34567]86-*-solaris2*) - tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h" + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/sysv4.h sol2.h" # Set default arch_32 to pentium4, tune_32 to generic like the other # i386 targets, although config.guess defaults to i386-pc-solaris2*. case ${target} in @@ -1396,7 +1396,7 @@ i[34567]86-*-solaris2*) esac ;; i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae) - tm_file="${tm_file} i386/unix.h i386/att.h elfos.h svr4.h vx-common.h" + tm_file="${tm_file} i386/unix.h i386/att.h elfos.h vx-common.h" case ${target} in *-vxworksae*) tm_file="${tm_file} vxworksae.h i386/vx-common.h i386/vxworksae.h" diff --git a/gcc/config/i386/netware.h b/gcc/config/i386/netware.h index 4b5e31f..72d9e34 100644 --- a/gcc/config/i386/netware.h +++ b/gcc/config/i386/netware.h @@ -26,6 +26,9 @@ along with GCC; see the file COPYING3. If not see #undef CPP_SPEC #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" +#undef ASM_SPEC +#define ASM_SPEC "" + #undef LIB_SPEC #define LIB_SPEC "" @@ -107,6 +110,12 @@ do { \ /* Default structure packing is 1-byte. */ #define TARGET_DEFAULT_PACK_STRUCT 1 +#undef SIZE_TYPE +#define SIZE_TYPE "unsigned int" + +#undef PTRDIFF_TYPE +#define PTRDIFF_TYPE "int" + #undef WCHAR_TYPE #define WCHAR_TYPE "short unsigned int" diff --git a/gcc/config/i386/nto.h b/gcc/config/i386/nto.h index 9a4cdec7..0a54ce0 100644 --- a/gcc/config/i386/nto.h +++ b/gcc/config/i386/nto.h @@ -83,6 +83,11 @@ crti.o%s \ -m i386nto \ %{!shared: --dynamic-linker /usr/lib/ldqnx.so.2}" +#undef LIB_SPEC +#define LIB_SPEC "%{!shared:%{!symbolic:-lc}}" + +#undef ASM_SPEC +#define ASM_SPEC "" #undef SIZE_TYPE #define SIZE_TYPE "unsigned int" @@ -99,3 +104,5 @@ crti.o%s \ #define NO_IMPLICIT_EXTERN_C 1 #define TARGET_POSIX_IO + +#undef DBX_REGISTER_NUMBER diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h index a717b53..411e02d 100644 --- a/gcc/config/i386/sol2.h +++ b/gcc/config/i386/sol2.h @@ -176,4 +176,10 @@ along with GCC; see the file COPYING3. If not see #define LIBGCC2_TF_CEXT q #define TF_SIZE 113 +#undef SIZE_TYPE +#define SIZE_TYPE "unsigned int" + +#undef PTRDIFF_TYPE +#define PTRDIFF_TYPE "int" + #define MD_UNWIND_SUPPORT "config/i386/sol2-unwind.h" diff --git a/gcc/config/i386/vxworksae.h b/gcc/config/i386/vxworksae.h index 29fa8af..b4c9fe4 100644 --- a/gcc/config/i386/vxworksae.h +++ b/gcc/config/i386/vxworksae.h @@ -1,5 +1,5 @@ /* IA32 VxWorks AE target definitions for GNU compiler. - Copyright (C) 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2005, 2007, 2010 Free Software Foundation, Inc. Contributed by CodeSourcery, LLC. This file is part of GCC. @@ -24,3 +24,12 @@ along with GCC; see the file COPYING3. If not see do \ builtin_define ("CPU=SIMNT"); \ while (0) + +#undef ASM_SPEC +#define ASM_SPEC "" + +#undef SIZE_TYPE +#define SIZE_TYPE "unsigned int" + +#undef PTRDIFF_TYPE +#define PTRDIFF_TYPE "int" |