[Top][All Lists]

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

libtool 1.4.2: pass_all for mips-linux, mipsel-linux

From: Maciej W. Rozycki
Subject: libtool 1.4.2: pass_all for mips-linux, mipsel-linux
Date: Fri, 11 Jan 2002 21:46:43 +0100 (MET)


 I think I've already submitted an equivalent patch for 1.4, but I got no
response, so here is a resend...

 Mips-linux and mipsel-linux are not different from other ports using
glibc and ELF, so there is no need to check if a library is shared.  And
unnecessary problems arise due to differences in `file' revisions:

$ file /lib/libc-2.2.4.so
/lib/libc-2.2.4.so: ELF 32-bit LSB mips-1 shared object, MIPS R3000_LE
[bfd bug], version 1 (SYSV), stripped
$ file -v
magic file from /usr/share/magic

The above string doesn't match the 'ELF [[0-9]][[0-9]]*-bit [[LM]]SB
(shared object|dynamic lib )' pattern used for broken *-linux platforms. 

 Please apply the following patch.

2002-01-11  Maciej W. Rozycki  <address@hidden>

        * libtool.m4 (lt_cv_deplibs_check_method): pass_all for
        mips-linux, mipsel-linux.


+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail: address@hidden, PGP key available        +

diff -up --recursive --new-file libtool-1.4.1.macro/libtool.m4 
--- libtool-1.4.1.macro/libtool.m4      Sun Sep  2 23:32:02 2001
+++ libtool-1.4.1/libtool.m4    Sat Sep  8 23:30:44 2001
@@ -3323,7 +3323,7 @@ irix5* | irix6*)
 # This must be Linux ELF.
   case $host_cpu in
-  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
+  alpha* | hppa* | i*86 | mips | mipsel | 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]