hppa-linux libgcc

amodra@one.net.au amodra@one.net.au
Tue May 15 22:00:00 GMT 2001


When building shared libs, hppa-linux needs to link against the static
version of libgcc to pick up millicode routines.  hppa-linux doesn't
currently support a shared libgcc because millicode functions cannot
be exported from a shared lib due to the ABI (linker and dynamic linker
really).  To successfully use a shared libgcc, we'd need to link against
_both_ libgcc_s.so and libgcc.a, which is a pain.

ChangeLog
	* libtool.m4 (lt_cv_deplibs_check_method): pass_all for hppa*-linux.

OK to commit?

-- 
Alan Modra

Index: libtool.m4
===================================================================
RCS file: /home/cvs/libtool/libtool.m4,v
retrieving revision 1.166
diff -u -p -r1.166 libtool.m4
--- libtool.m4	2001/04/24 23:40:42	1.166
+++ libtool.m4	2001/05/16 04:35:53
@@ -3207,7 +3207,7 @@ irix5* | irix6*)
 # This must be Linux ELF.
 linux-gnu*)
   case $host_cpu in
-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+  alpha* | hppa* i*86 | powerpc* | sparc* | ia64* )
     lt_cv_deplibs_check_method=pass_all ;;
   *)
     # glibc up to 2.1.1 does not perform some relocations on ARM



More information about the Gcc-patches mailing list