This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: mips*-linux & libtool
- To: binutils at sourceware dot cygnus dot com
- Subject: PATCH: mips*-linux & libtool
- From: Ralf Baechle <ralf at uni-koblenz dot de>
- Date: Fri, 27 Oct 2000 00:14:02 +0200
- Cc: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>, Keith M Wesolowski <wesolows at foobazco dot org>
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`