libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hppa-linux libgcc


From: amodra
Subject: hppa-linux libgcc
Date: Wed, 16 May 2001 14:34:45 +0930
User-agent: Mutt/1.3.17i

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]