summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>1998-03-04 14:02:15 -0700
committerJeff Law <law@gcc.gnu.org>1998-03-04 14:02:15 -0700
commitd20323edaa49393b2aa385f8c806eebce1228ba0 (patch)
tree5dcf69ee2da6d3e65d032958ab0c92df3a7347f2
parentd2fbc2cacc472ab52cc5e5f4ad81984371a347c9 (diff)
downloadgcc-d20323edaa49393b2aa385f8c806eebce1228ba0.tar.gz
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
-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 1045b8dc028..959836de94b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+Wed Mar 4 22:03:38 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
+
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 568e7345318..4c7a0994c6b 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 4c368481d4f..dfd026a7bf2 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 fa68c82b231..ca1dc3e56a8 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