Build shared libgcc_s on s390*-linux

Andreas Jaeger aj@suse.de
Mon Aug 13 02:01:00 GMT 2001


The appended patch enables a shared libgcc_s for s390*-linux - as we
do on all GNU libc2 based GNU/Linux platforms.

It has been bootstrapped and regtested on s390-linux.

Ok for both branch and trunk?

Andreas

2001-08-13  Andreas Jaeger  <aj@suse.de>

	* config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
	s390*linux.

============================================================
Index: gcc/config.gcc
--- gcc/config.gcc	2001/08/07 18:31:19	1.27.2.13
+++ gcc/config.gcc	2001/08/13 07:03:48
@@ -2975,7 +2975,7 @@ rs6000-*-lynxos*)
 	;;
 s390-*-linux*)
 	tm_file="s390/s390.h linux.h s390/linux.h"
-	tmake_file="t-linux s390/t-linux"
+	tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux"
 	xmake_file=x-linux
 	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
 	if test x$enable_threads = xyes; then
@@ -2983,7 +2983,7 @@ s390-*-linux*)
 	fi
 	;;
 s390x-*-linux*)
-	tm_file="s390/s390.h linux.h s390/linux.h s390/linux64.h"
+	tm_file="t-slibgcc-elf-ver s390/s390.h linux.h s390/linux.h s390/linux64.h"
 	tm_p_file=s390/s390-protos.h
 	xm_file=s390/xm-s390x.h
 	md_file=s390/s390.md

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-patches mailing list