From ce514f5730c73704a3575bc793500b960174c36d Mon Sep 17 00:00:00 2001 From: Franz Sirl Date: Wed, 4 Mar 1998 13:59:50 -0700 Subject: [PATCH] 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: r18405 --- gcc/ChangeLog | 7 +++++++ gcc/config/rs6000/linux.h | 2 ++ gcc/configure | 18 ++++++++++++++++++ gcc/configure.in | 18 ++++++++++++++++++ 4 files changed, 45 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a73b66e..3e95a5a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +Wed Mar 4 21:58:25 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 + Wed Mar 4 12:11:36 1998 Jim Wilson * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition. diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index f88a15e..21d9bc8 100644 --- a/gcc/config/rs6000/linux.h +++ b/gcc/config/rs6000/linux.h @@ -64,7 +64,9 @@ 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 #undef JUMP_TABLES_IN_TEXT_SECTION #define JUMP_TABLES_IN_TEXT_SECTION diff --git a/gcc/configure b/gcc/configure index 2c953a2..d98f795 100755 --- a/gcc/configure +++ b/gcc/configure @@ -4027,6 +4027,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 9fa47b6..4b59d9e 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2149,6 +2149,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 -- 2.7.4