PATCH for powerpc-unknown-linux-gnulibc1
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Wed Feb 18 05:25:00 GMT 1998
Hi,
I must have had a bad day when I did my patches on Jan 3 ;-)). They are only partly correct. The following patches are against pre-1.0.2. They apply also to the development tree, additionally the rest of my Jan 3 patch to the toplevel configure.in has to be removed there.
Sorry for the inconvenience.
Bye,
Franz.
Wed Feb 18 14:05:00 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
* rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
USE_GNULIBC_1 is defined
* configure.in: add a new case powerpc-*-linux-gnulibc1 which
includes the t-linux-gnulibc1 fragment
* configure: likewise
--- egcs-1.0.2/gcc/configure~ Mon Feb 9 12:53:15 1998
+++ egcs-1.0.2/gcc/configure Wed Feb 18 13:09:35 1998
@@ -3677,6 +3677,24 @@
fixincludes=Makefile.in
extra_headers=ppc-asm.h
;;
+ powerpc-*-linux-gnulibc1)
+ tm_file=rs6000/linux.h
+ xm_file=rs6000/xm-sysv4.h
+ out_file=rs6000/rs6000.c
+ if [ x$gas = xyes ]
+ then
+ tmake_file="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
+ else
+ tmake_file="rs6000/t-ppc t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
+ fi
+ xmake_file=x-linux
+ fixincludes=Makefile.in
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+ extra_headers=ppc-asm.h
+ if [ x$enable_threads = xyes ]; then
+ thread_file='posix'
+ fi
+ ;;
powerpc-*-linux-gnu*)
tm_file=rs6000/linux.h
xm_file=rs6000/xm-sysv4.h
--- egcs-1.0.2/gcc/configure.in~ Mon Feb 9 12:53:17 1998
+++ egcs-1.0.2/gcc/configure.in Wed Feb 18 13:07:31 1998
@@ -2157,6 +2157,24 @@
fixincludes=Makefile.in
extra_headers=ppc-asm.h
;;
+ powerpc-*-linux-gnulibc1)
+ tm_file=rs6000/linux.h
+ xm_file=rs6000/xm-sysv4.h
+ out_file=rs6000/rs6000.c
+ if [[ x$gas = xyes ]]
+ then
+ tmake_file="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
+ else
+ tmake_file="rs6000/t-ppc t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
+ fi
+ xmake_file=x-linux
+ fixincludes=Makefile.in
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+ extra_headers=ppc-asm.h
+ if [[ x$enable_threads = xyes ]]; then
+ thread_file='posix'
+ fi
+ ;;
powerpc-*-linux-gnu*)
tm_file=rs6000/linux.h
xm_file=rs6000/xm-sysv4.h
--- egcs-1.0.2/gcc/config/rs6000/linux.h~ Tue Feb 10 10:36:13 1998
+++ egcs-1.0.2/gcc/config/rs6000/linux.h Wed Feb 18 13:11:38 1998
@@ -64,4 +64,6 @@
#define MULTILIB_DEFAULTS { "mbig", "mcall-linux" }
#undef DEFAULT_VTABLE_THUNKS
+#ifndef USE_GNULIBC_1
#define DEFAULT_VTABLE_THUNKS 1
+#endif
More information about the Gcc-bugs
mailing list