projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
[deliverable/binutils-gdb.git]
/
libtool.m4
diff --git
a/libtool.m4
b/libtool.m4
index 3f452bcba281a46434baa6e2a679b2b2568b0afc..d2e36088dee31fde23c7bca7600caa573008bd07 100644
(file)
--- a/
libtool.m4
+++ b/
libtool.m4
@@
-144,6
+144,19
@@
case $host in
# Find out which ABI we are using.
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
if AC_TRY_EVAL(ac_compile); then
# Find out which ABI we are using.
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
if AC_TRY_EVAL(ac_compile); then
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
case `/usr/bin/file conftest.$ac_objext` in
*32-bit*)
LD="${LD-ld} -32"
case `/usr/bin/file conftest.$ac_objext` in
*32-bit*)
LD="${LD-ld} -32"
@@
-155,6
+168,7
@@
case $host in
LD="${LD-ld} -64"
;;
esac
LD="${LD-ld} -64"
;;
esac
+ fi
fi
rm -rf conftest*
;;
fi
rm -rf conftest*
;;
@@
-622,7
+636,7
@@
irix5* | irix6*)
# This must be Linux ELF.
linux-gnu*)
case $host_cpu in
# This must be Linux ELF.
linux-gnu*)
case $host_cpu in
- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
+ alpha* |
mips* |
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
lt_cv_deplibs_check_method=pass_all ;;
*)
# glibc up to 2.1.1 does not perform some relocations on ARM
This page took
0.023256 seconds
and
4
git commands to generate.