PATCH: mips*-linux & libtool

Ralf Baechle ralf@uni-koblenz.de
Thu Oct 26 16:21:00 GMT 2000


The patch below make the libtool copy in binutils handle MIPS binaries
properly.  After this patch has been applied the autoconf scripts in
the bfd, binutils, gas, gprof, ld and opcodes directories have to be
regenerated.

Patches have already been sent to the libtool maintainer but I haven't yet
heared back from them and I don't know how often the libtool copy in
binutils gets updated from the upstream copy.

  Ralf

diff -urN binutils-cygnus/libtool.m4 binutils/libtool.m4
--- binutils-cygnus/libtool.m4	Sun Oct  1 02:22:28 2000
+++ binutils/libtool.m4	Thu Oct 26 21:36:19 2000
@@ -593,7 +593,7 @@
   *)
     # glibc up to 2.1.1 does not perform some relocations on ARM
     changequote(,)dnl
-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (|mips-[1-5] )(shared object|dynamic lib )' ;;
     changequote([, ])dnl
   esac
   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`


More information about the Binutils mailing list