From: Franz Sirl Date: Wed, 4 Mar 1998 21:02:15 +0000 (-0700) Subject: linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if USE_GNULIBC_1 is defined X-Git-Tag: prereleases/egcs-1.0.2-980309-prerelease~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d20323edaa49393b2aa385f8c806eebce1228ba0;p=thirdparty%2Fgcc.git linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if USE_GNULIBC_1 is defined * 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 From-SVN: r18406 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1045b8dc0284..959836de94b4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +Wed Mar 4 22:03:38 1998 Franz Sirl + + * 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 + Tue Mar 3 00:06:45 1998 Jeffrey A Law (law@cygnus.com) * version.c: Bump for 1.0.2 prerelease diffs. diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index 568e7345318b..4c7a0994c6bf 100644 --- a/gcc/config/rs6000/linux.h +++ b/gcc/config/rs6000/linux.h @@ -64,4 +64,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define MULTILIB_DEFAULTS { "mbig", "mcall-linux" } #undef DEFAULT_VTABLE_THUNKS +#ifndef USE_GNULIBC_1 #define DEFAULT_VTABLE_THUNKS 1 +#endif diff --git a/gcc/configure b/gcc/configure index 4c368481d4fe..dfd026a7bf29 100755 --- a/gcc/configure +++ b/gcc/configure @@ -3677,6 +3677,24 @@ for machine in $build $host $target; do 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 diff --git a/gcc/configure.in b/gcc/configure.in index fa68c82b231f..ca1dc3e56a8e 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2157,6 +2157,24 @@ for machine in $build $host $target; do 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