summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/rs6000/linux.h2
-rwxr-xr-xgcc/configure18
-rw-r--r--gcc/configure.in18
4 files changed, 45 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a73b66eb2d7..3e95a5ade0f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+Wed Mar 4 21:58:25 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
+
Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
* mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
index f88a15e6c73..21d9bc8dbfb 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 2c953a22797..d98f795335d 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 9fa47b6d58a..4b59d9e5791 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