Patchwork svr4.h avoidance: rs6000/powerpc

login
register
mail settings
Submitter Joseph S. Myers
Date Dec. 16, 2010, 12:18 a.m.
Message ID <Pine.LNX.4.64.1012160017270.4081@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/75709/
State New
Headers show

Comments

Joseph S. Myers - Dec. 16, 2010, 12:18 a.m.
This patch in the series removing svr4.h from the headers used by
particular targets in GCC stops powerpc*-* targets from using svr4.h.

Sixteen config.gcc stanzas are involved.  They all use rs6000/sysv4.h
after svr4.h, which means many macro definitions in svr4.h can be
ignored because rs6000/sysv4.h overrides them, but when the remainder
are added to sysv4.h it becomes necessary to allow for the three
stanzas that use rs6000/sysv4.h without svr4.h: powerpc*-*-freebsd*
powerpc-*-netbsd* powerpc-*-lynxos*.

All affected targets can be presumed to use the GNU assembler, meaning
that SVR4_ASM_SPEC can be presumed to be the empty string.  As for the
other macros, the #undef of DBX_REGISTER_NUMBER affects the targets
that used svr4.h, and when it moves into rs6000/sysv4.h it becomes
necessary to redefine it for the three targets mentioned above in
their own headers to avoid perturbing the configuration for those
targets.  SIZE_TYPE is also used from svr4.h, but the three targets
mentioned all already undefine and possibly redefine SIZE_TYPE so
there is no problem with adding that macro to rs6000/sysv4.h
(alongside PTRDIFF_TYPE which is already there).

With this and the i386 changes
(<http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01155.html>, pending
review) all remaining uses of svr4.h are eliminated.  Once both
patches are in I'll prepare the final patch in the svr4.h series,
removing the header and updating all comments referring to it.

Tested building cc1 and xgcc for crosses to: powerpc-eabispe
powerpc-eabisimaltivec powerpc-eabisim powerpc-elf powerpc-eabialtivec
powerpc-xilinx-eabi powerpc-eabi powerpc-rtems powerpc-linux-gnu
powerpc64-linux-gnu powerpc64-gnu powerpc-gnu-gnualtivec powerpc-gnu
powerpc-wrs-vxworks powerpc-wrs-vxworksae powerpcle-elf
powerpcle-eabisim powerpcle-eabi powerpc-freebsd8 powerpc-netbsd
powerpc-lynxos.  OK to commit?

(Like the i386 patch, this patch is relative to a tree with
<http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00672.html> (pending
review) applied, but does not depend on that patch at all; it was used
in testing simply because it is required for GNU Hurd targets to
build.)

2010-12-15  Joseph Myers  <joseph@codesourcery.com>

	* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't define.
	(DBX_REGISTER_NUMBER): Define.
	* config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Define.
	* config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Define.
	* config/rs6000/sysv4.h (SIZE_TYPE): Define.
	(ASM_SPEC): Define without using SVR4_ASM_SPEC.
	(DBX_REGISTER_NUMBER): Undefine.
	* config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*,
	powerpc-*-eabisim*, powerpc-*-elf*, powerpc-*-eabialtivec*,
	powerpc-xilinx-eabi*, powerpc-*-eabi*, powerpc-*-rtems*,
	powerpc-*-linux* | powerpc64-*-linux*, powerpc64-*-gnu*,
	powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
	powerpc-wrs-vxworks|powerpc-wrs-vxworksae, powerpcle-*-elf*,
	powerpcle-*-eabisim*, powerpcle-*-eabi*): Don't use svr4.h.
David Edelsohn - Dec. 20, 2010, 2:46 p.m.
On Wed, Dec 15, 2010 at 7:18 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> This patch in the series removing svr4.h from the headers used by
> particular targets in GCC stops powerpc*-* targets from using svr4.h.
>
> Sixteen config.gcc stanzas are involved.  They all use rs6000/sysv4.h
> after svr4.h, which means many macro definitions in svr4.h can be
> ignored because rs6000/sysv4.h overrides them, but when the remainder
> are added to sysv4.h it becomes necessary to allow for the three
> stanzas that use rs6000/sysv4.h without svr4.h: powerpc*-*-freebsd*
> powerpc-*-netbsd* powerpc-*-lynxos*.
>
> All affected targets can be presumed to use the GNU assembler, meaning
> that SVR4_ASM_SPEC can be presumed to be the empty string.  As for the
> other macros, the #undef of DBX_REGISTER_NUMBER affects the targets
> that used svr4.h, and when it moves into rs6000/sysv4.h it becomes
> necessary to redefine it for the three targets mentioned above in
> their own headers to avoid perturbing the configuration for those
> targets.  SIZE_TYPE is also used from svr4.h, but the three targets
> mentioned all already undefine and possibly redefine SIZE_TYPE so
> there is no problem with adding that macro to rs6000/sysv4.h
> (alongside PTRDIFF_TYPE which is already there).
>
> With this and the i386 changes
> (<http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01155.html>, pending
> review) all remaining uses of svr4.h are eliminated.  Once both
> patches are in I'll prepare the final patch in the svr4.h series,
> removing the header and updating all comments referring to it.
>
> Tested building cc1 and xgcc for crosses to: powerpc-eabispe
> powerpc-eabisimaltivec powerpc-eabisim powerpc-elf powerpc-eabialtivec
> powerpc-xilinx-eabi powerpc-eabi powerpc-rtems powerpc-linux-gnu
> powerpc64-linux-gnu powerpc64-gnu powerpc-gnu-gnualtivec powerpc-gnu
> powerpc-wrs-vxworks powerpc-wrs-vxworksae powerpcle-elf
> powerpcle-eabisim powerpcle-eabi powerpc-freebsd8 powerpc-netbsd
> powerpc-lynxos.  OK to commit?
>
> (Like the i386 patch, this patch is relative to a tree with
> <http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00672.html> (pending
> review) applied, but does not depend on that patch at all; it was used
> in testing simply because it is required for GNU Hurd targets to
> build.)
>
> 2010-12-15  Joseph Myers  <joseph@codesourcery.com>
>
>        * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't define.
>        (DBX_REGISTER_NUMBER): Define.
>        * config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Define.
>        * config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Define.
>        * config/rs6000/sysv4.h (SIZE_TYPE): Define.
>        (ASM_SPEC): Define without using SVR4_ASM_SPEC.
>        (DBX_REGISTER_NUMBER): Undefine.
>        * config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*,
>        powerpc-*-eabisim*, powerpc-*-elf*, powerpc-*-eabialtivec*,
>        powerpc-xilinx-eabi*, powerpc-*-eabi*, powerpc-*-rtems*,
>        powerpc-*-linux* | powerpc64-*-linux*, powerpc64-*-gnu*,
>        powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
>        powerpc-wrs-vxworks|powerpc-wrs-vxworksae, powerpcle-*-elf*,
>        powerpcle-*-eabisim*, powerpcle-*-eabi*): Don't use svr4.h.

Okay.

Thanks for cleaning this up.

- David

Patch

diff -rupN --exclude=.svn gcc-mainline-0/gcc/config/rs6000/freebsd.h gcc-mainline/gcc/config/rs6000/freebsd.h
--- gcc-mainline-0/gcc/config/rs6000/freebsd.h	2010-12-09 05:38:55.000000000 -0800
+++ gcc-mainline/gcc/config/rs6000/freebsd.h	2010-12-15 14:40:12.000000000 -0800
@@ -69,6 +69,5 @@ 
 /* Override rs6000.h definition.  */
 #undef  ASM_APP_OFF
 #define ASM_APP_OFF "#NO_APP\n"
-/* Define SVR4_ASM_SPEC, we use GAS by default. See svr4.h for details.  */
-#define SVR4_ASM_SPEC \
-  ""
+
+#define DBX_REGISTER_NUMBER(REGNO) rs6000_dbx_register_number (REGNO)
diff -rupN --exclude=.svn gcc-mainline-0/gcc/config/rs6000/lynx.h gcc-mainline/gcc/config/rs6000/lynx.h
--- gcc-mainline-0/gcc/config/rs6000/lynx.h	2009-03-28 00:38:38.000000000 -0700
+++ gcc-mainline/gcc/config/rs6000/lynx.h	2010-12-15 14:41:01.000000000 -0800
@@ -1,5 +1,5 @@ 
 /* Definitions for Rs6000 running LynxOS.
-   Copyright (C) 1995, 1996, 2000, 2002, 2003, 2004, 2005, 2007
+   Copyright (C) 1995, 1996, 2000, 2002, 2003, 2004, 2005, 2007, 2010
    Free Software Foundation, Inc.
    Contributed by David Henkel-Wallace, Cygnus Support (gumby@cygnus.com)
    Rewritten by Adam Nemet, LynuxWorks Inc.
@@ -105,6 +105,8 @@ 
 #undef HAVE_AS_TLS
 #define HAVE_AS_TLS 0
 
+#define DBX_REGISTER_NUMBER(REGNO) rs6000_dbx_register_number (REGNO)
+
 #ifdef CRT_BEGIN
 /* This function is part of crtbegin*.o which is at the beginning of
    the link and is called from .fini which is usually toward the end
diff -rupN --exclude=.svn gcc-mainline-0/gcc/config/rs6000/netbsd.h gcc-mainline/gcc/config/rs6000/netbsd.h
--- gcc-mainline-0/gcc/config/rs6000/netbsd.h	2009-03-28 00:38:38.000000000 -0700
+++ gcc-mainline/gcc/config/rs6000/netbsd.h	2010-12-15 14:40:35.000000000 -0800
@@ -1,6 +1,6 @@ 
 /* Definitions of target machine for GNU compiler,
    for PowerPC NetBSD systems.
-   Copyright 2002, 2003, 2007, 2008 Free Software Foundation, Inc.
+   Copyright 2002, 2003, 2007, 2008, 2010 Free Software Foundation, Inc.
    Contributed by Wasabi Systems, Inc.
 
    This file is part of GCC.
@@ -89,3 +89,5 @@ 
 
 #undef  TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (NetBSD/powerpc ELF)");
+
+#define DBX_REGISTER_NUMBER(REGNO) rs6000_dbx_register_number (REGNO)
diff -rupN --exclude=.svn gcc-mainline-0/gcc/config/rs6000/sysv4.h gcc-mainline/gcc/config/rs6000/sysv4.h
--- gcc-mainline-0/gcc/config/rs6000/sysv4.h	2010-12-09 05:38:55.000000000 -0800
+++ gcc-mainline/gcc/config/rs6000/sysv4.h	2010-12-15 14:41:22.000000000 -0800
@@ -266,6 +266,10 @@  do {									\
 #define	RESTORE_FP_PREFIX "_restfpr_"
 #define RESTORE_FP_SUFFIX ""
 
+/* Type used for size_t, as a string used in a declaration.  */
+#undef  SIZE_TYPE
+#define SIZE_TYPE "unsigned int"
+
 /* Type used for ptrdiff_t, as a string used in a declaration.  */
 #define PTRDIFF_TYPE "int"
 
@@ -550,9 +554,8 @@  extern int fixuplabelno;
 /* Override svr4.h definition.  */
 #undef	ASM_SPEC
 #define	ASM_SPEC "%(asm_cpu) \
-%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}}" \
-SVR4_ASM_SPEC \
-"%{mrelocatable} %{mrelocatable-lib} %{fpic|fpie|fPIC|fPIE:-K PIC} \
+%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \
+%{mrelocatable} %{mrelocatable-lib} %{fpic|fpie|fPIC|fPIE:-K PIC} \
 %{memb|msdata=eabi: -memb} \
 %{mlittle|mlittle-endian:-mlittle; \
   mbig|mbig-endian      :-mbig;    \
@@ -1077,3 +1080,5 @@  ncrtn.o%s"
 
 /* This target uses the sysv4.opt file.  */
 #define TARGET_USES_SYSV4_OPT 1
+
+#undef DBX_REGISTER_NUMBER
diff -rupN --exclude=.svn gcc-mainline-0/gcc/config.gcc gcc-mainline/gcc/config.gcc
--- gcc-mainline-0/gcc/config.gcc	2010-12-15 04:59:41.000000000 -0800
+++ gcc-mainline/gcc/config.gcc	2010-12-15 14:42:27.000000000 -0800
@@ -2027,53 +2027,53 @@  powerpc-*-netbsd*)
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	;;
 powerpc-*-eabispe*)
-	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabispe.h"
+	tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabispe.h"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	tmake_file="rs6000/t-spe rs6000/t-ppccomm"
 	use_gcc_stdint=wrap
 	;;
 powerpc-*-eabisimaltivec*)
-	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h rs6000/eabialtivec.h"
+	tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h rs6000/eabialtivec.h"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcendian rs6000/t-ppccomm"
 	use_gcc_stdint=wrap
 	;;
 powerpc-*-eabisim*)
-	tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h"
+	tm_file="${tm_file} dbxelf.h elfos.h usegas.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
 	use_gcc_stdint=wrap
 	;;
 powerpc-*-elf*)
-	tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h"
+	tm_file="${tm_file} dbxelf.h elfos.h usegas.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
 	;;
 powerpc-*-eabialtivec*)
-	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabialtivec.h"
+	tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabialtivec.h"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcendian rs6000/t-ppccomm"
 	use_gcc_stdint=wrap
 	;;
 powerpc-xilinx-eabi*)
-	tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/singlefp.h rs6000/xfpu.h rs6000/xilinx.h"
+	tm_file="${tm_file} dbxelf.h elfos.h usegas.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/singlefp.h rs6000/xfpu.h rs6000/xilinx.h"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm rs6000/t-xilinx"
 	use_gcc_stdint=wrap
 	;;
 powerpc-*-eabi*)
-	tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h"
+	tm_file="${tm_file} dbxelf.h elfos.h usegas.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
 	use_gcc_stdint=wrap
 	;;
 powerpc-*-rtems*)
-	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/rtems.h rtems.h"
+	tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/rtems.h rtems.h"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-rtems t-rtems rs6000/t-ppccomm"
 	;;
 powerpc-*-linux* | powerpc64-*-linux*)
-	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
+	tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h rs6000/sysv4.h"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	tmake_file="t-dfprules rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
 	maybe_biarch=yes
@@ -2117,12 +2117,12 @@  powerpc-*-linux* | powerpc64-*-linux*)
 	fi
 	;;
 powerpc64-*-gnu*)
-	tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/default64.h rs6000/linux64.h rs6000/gnu.h glibc-stdint.h"
+	tm_file="${tm_file} elfos.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/default64.h rs6000/linux64.h rs6000/gnu.h glibc-stdint.h"
 	extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt"
 	tmake_file="t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu"
 	;;
 powerpc-*-gnu-gnualtivec*)
-	tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h glibc-stdint.h"
+	tm_file="${cpu_type}/${cpu_type}.h elfos.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h glibc-stdint.h"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu rs6000/t-ppccomm"
 	if test x$enable_threads = xyes; then
@@ -2130,7 +2130,7 @@  powerpc-*-gnu-gnualtivec*)
 	fi
 	;;
 powerpc-*-gnu*)
-	tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/gnu.h glibc-stdint.h"
+	tm_file="${cpu_type}/${cpu_type}.h elfos.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/gnu.h glibc-stdint.h"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu rs6000/t-ppccomm"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	if test x$enable_threads = xyes; then
@@ -2138,7 +2138,7 @@  powerpc-*-gnu*)
 	fi
 	;;
 powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
-	tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
+	tm_file="${tm_file} elfos.h freebsd-spec.h rs6000/sysv4.h"
 	tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppccomm rs6000/t-vxworks"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	extra_headers=ppc-asm.h
@@ -2164,18 +2164,18 @@  powerpc-*-lynxos*)
 	gas=yes
 	;;
 powerpcle-*-elf*)
-	tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h"
+	tm_file="${tm_file} dbxelf.h elfos.h usegas.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	;;
 powerpcle-*-eabisim*)
-	tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h"
+	tm_file="${tm_file} dbxelf.h elfos.h usegas.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	use_gcc_stdint=wrap
 	;;
 powerpcle-*-eabi*)
-	tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h"
+	tm_file="${tm_file} dbxelf.h elfos.h usegas.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h"
 	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
 	extra_options="${extra_options} rs6000/sysv4.opt"
 	use_gcc_stdint=wrap