OSDN Git Service

* config/i386/netware.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE):
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Dec 2010 21:17:17 +0000 (21:17 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Dec 2010 21:17:17 +0000 (21:17 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167998 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/i386/netware.h
gcc/config/i386/nto.h
gcc/config/i386/sol2.h
gcc/config/i386/vxworksae.h

index 17ec795..f0a0882 100644 (file)
@@ -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
index 7d74010..f2ee7f6 100644 (file)
@@ -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"
index 4b5e31f..72d9e34 100644 (file)
@@ -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"
 
index 9a4cdec..0a54ce0 100644 (file)
@@ -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
index a717b53..411e02d 100644 (file)
@@ -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"
index 29fa8af..b4c9fe4 100644 (file)
@@ -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"