|
|
38fe89 |
diff -rcp ../binutils-2.20.51.0.7.original/bfd/configure ./bfd/configure
|
|
|
38fe89 |
--- a/bfd/configure 2010-04-08 14:53:48.000000000 +0100
|
|
|
38fe89 |
+++ b/bfd/configure 2010-04-08 14:56:50.000000000 +0100
|
|
|
38fe89 |
@@ -10762,10 +10762,34 @@
|
|
|
38fe89 |
# before this can be enabled.
|
|
|
38fe89 |
hardcode_into_libs=yes
|
|
|
38fe89 |
|
|
|
38fe89 |
+ # find out which ABI we are using
|
|
|
38fe89 |
+ libsuff=
|
|
|
38fe89 |
+ case "$host_cpu" in
|
|
|
38fe89 |
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
38fe89 |
+ echo 'int i;' > conftest.$ac_ext
|
|
|
38fe89 |
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
38fe89 |
+ (eval $ac_compile) 2>&5
|
|
|
38fe89 |
+ ac_status=$?
|
|
|
38fe89 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
38fe89 |
+ (exit $ac_status); }; then
|
|
|
38fe89 |
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
38fe89 |
+ *64-bit*)
|
|
|
38fe89 |
+ libsuff=64
|
|
|
38fe89 |
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
38fe89 |
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ rm -rf conftest*
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+
|
|
|
38fe89 |
# Append ld.so.conf contents to the search path
|
|
|
38fe89 |
if test -f /etc/ld.so.conf; then
|
|
|
38fe89 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
|
|
38fe89 |
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
38fe89 |
fi
|
|
|
38fe89 |
|
|
|
38fe89 |
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
|
38fe89 |
diff -rcp ../binutils-2.20.51.0.7.original/binutils/configure ./binutils/configure
|
|
|
38fe89 |
--- a/binutils/configure 2010-04-08 14:53:45.000000000 +0100
|
|
|
38fe89 |
+++ b/binutils/configure 2010-04-08 14:56:21.000000000 +0100
|
|
|
38fe89 |
@@ -10560,10 +10560,34 @@
|
|
|
38fe89 |
# before this can be enabled.
|
|
|
38fe89 |
hardcode_into_libs=yes
|
|
|
38fe89 |
|
|
|
38fe89 |
+ # find out which ABI we are using
|
|
|
38fe89 |
+ libsuff=
|
|
|
38fe89 |
+ case "$host_cpu" in
|
|
|
38fe89 |
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
38fe89 |
+ echo 'int i;' > conftest.$ac_ext
|
|
|
38fe89 |
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
38fe89 |
+ (eval $ac_compile) 2>&5
|
|
|
38fe89 |
+ ac_status=$?
|
|
|
38fe89 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
38fe89 |
+ (exit $ac_status); }; then
|
|
|
38fe89 |
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
38fe89 |
+ *64-bit*)
|
|
|
38fe89 |
+ libsuff=64
|
|
|
38fe89 |
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
38fe89 |
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ rm -rf conftest*
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+
|
|
|
38fe89 |
# Append ld.so.conf contents to the search path
|
|
|
38fe89 |
if test -f /etc/ld.so.conf; then
|
|
|
38fe89 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
|
|
38fe89 |
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
38fe89 |
fi
|
|
|
38fe89 |
|
|
|
38fe89 |
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
|
38fe89 |
diff -rcp ../binutils-2.20.51.0.7.original/gas/configure ./gas/configure
|
|
|
38fe89 |
--- a/gas/configure 2010-04-08 14:53:47.000000000 +0100
|
|
|
38fe89 |
+++ b/gas/configure 2010-04-08 14:57:24.000000000 +0100
|
|
|
38fe89 |
@@ -10547,10 +10547,34 @@
|
|
|
38fe89 |
# before this can be enabled.
|
|
|
38fe89 |
hardcode_into_libs=yes
|
|
|
38fe89 |
|
|
|
38fe89 |
+ # find out which ABI we are using
|
|
|
38fe89 |
+ libsuff=
|
|
|
38fe89 |
+ case "$host_cpu" in
|
|
|
38fe89 |
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
38fe89 |
+ echo 'int i;' > conftest.$ac_ext
|
|
|
38fe89 |
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
38fe89 |
+ (eval $ac_compile) 2>&5
|
|
|
38fe89 |
+ ac_status=$?
|
|
|
38fe89 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
38fe89 |
+ (exit $ac_status); }; then
|
|
|
38fe89 |
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
38fe89 |
+ *64-bit*)
|
|
|
38fe89 |
+ libsuff=64
|
|
|
38fe89 |
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
38fe89 |
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ rm -rf conftest*
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+
|
|
|
38fe89 |
# Append ld.so.conf contents to the search path
|
|
|
38fe89 |
if test -f /etc/ld.so.conf; then
|
|
|
38fe89 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
|
|
38fe89 |
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
38fe89 |
fi
|
|
|
38fe89 |
|
|
|
38fe89 |
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
|
38fe89 |
diff -rcp ../binutils-2.20.51.0.7.original/gprof/configure ./gprof/configure
|
|
|
38fe89 |
--- a/gprof/configure 2010-04-08 14:53:45.000000000 +0100
|
|
|
38fe89 |
+++ b/gprof/configure 2010-04-08 14:57:50.000000000 +0100
|
|
|
38fe89 |
@@ -10485,10 +10485,34 @@
|
|
|
38fe89 |
# before this can be enabled.
|
|
|
38fe89 |
hardcode_into_libs=yes
|
|
|
38fe89 |
|
|
|
38fe89 |
+ # find out which ABI we are using
|
|
|
38fe89 |
+ libsuff=
|
|
|
38fe89 |
+ case "$host_cpu" in
|
|
|
38fe89 |
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
38fe89 |
+ echo 'int i;' > conftest.$ac_ext
|
|
|
38fe89 |
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
38fe89 |
+ (eval $ac_compile) 2>&5
|
|
|
38fe89 |
+ ac_status=$?
|
|
|
38fe89 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
38fe89 |
+ (exit $ac_status); }; then
|
|
|
38fe89 |
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
38fe89 |
+ *64-bit*)
|
|
|
38fe89 |
+ libsuff=64
|
|
|
38fe89 |
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
38fe89 |
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ rm -rf conftest*
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+
|
|
|
38fe89 |
# Append ld.so.conf contents to the search path
|
|
|
38fe89 |
if test -f /etc/ld.so.conf; then
|
|
|
38fe89 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
|
|
38fe89 |
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
38fe89 |
fi
|
|
|
38fe89 |
|
|
|
38fe89 |
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
|
38fe89 |
diff -rcp ../binutils-2.20.51.0.7.original/ld/configure ./ld/configure
|
|
|
38fe89 |
--- a/ld/configure 2010-04-08 14:53:44.000000000 +0100
|
|
|
38fe89 |
+++ b/ld/configure 2010-04-08 14:58:21.000000000 +0100
|
|
|
38fe89 |
@@ -10966,10 +10966,34 @@
|
|
|
38fe89 |
# before this can be enabled.
|
|
|
38fe89 |
hardcode_into_libs=yes
|
|
|
38fe89 |
|
|
|
38fe89 |
+ # find out which ABI we are using
|
|
|
38fe89 |
+ libsuff=
|
|
|
38fe89 |
+ case "$host_cpu" in
|
|
|
38fe89 |
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
38fe89 |
+ echo 'int i;' > conftest.$ac_ext
|
|
|
38fe89 |
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
38fe89 |
+ (eval $ac_compile) 2>&5
|
|
|
38fe89 |
+ ac_status=$?
|
|
|
38fe89 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
38fe89 |
+ (exit $ac_status); }; then
|
|
|
38fe89 |
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
38fe89 |
+ *64-bit*)
|
|
|
38fe89 |
+ libsuff=64
|
|
|
38fe89 |
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
38fe89 |
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ rm -rf conftest*
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+
|
|
|
38fe89 |
# Append ld.so.conf contents to the search path
|
|
|
38fe89 |
if test -f /etc/ld.so.conf; then
|
|
|
38fe89 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
|
|
38fe89 |
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
38fe89 |
fi
|
|
|
38fe89 |
|
|
|
38fe89 |
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
|
38fe89 |
Only in .: .#libtool.m4
|
|
|
38fe89 |
Only in .: #libtool.m4#
|
|
|
38fe89 |
diff -rcp ../binutils-2.20.51.0.7.original/opcodes/configure ./opcodes/configure
|
|
|
38fe89 |
--- a/opcodes/configure 2010-04-08 14:53:45.000000000 +0100
|
|
|
38fe89 |
+++ b/opcodes/configure 2010-04-08 14:59:10.000000000 +0100
|
|
|
38fe89 |
@@ -10496,10 +10496,34 @@
|
|
|
38fe89 |
# before this can be enabled.
|
|
|
38fe89 |
hardcode_into_libs=yes
|
|
|
38fe89 |
|
|
|
38fe89 |
+ # find out which ABI we are using
|
|
|
38fe89 |
+ libsuff=
|
|
|
38fe89 |
+ case "$host_cpu" in
|
|
|
38fe89 |
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
38fe89 |
+ echo 'int i;' > conftest.$ac_ext
|
|
|
38fe89 |
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
38fe89 |
+ (eval $ac_compile) 2>&5
|
|
|
38fe89 |
+ ac_status=$?
|
|
|
38fe89 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
38fe89 |
+ (exit $ac_status); }; then
|
|
|
38fe89 |
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
38fe89 |
+ *64-bit*)
|
|
|
38fe89 |
+ libsuff=64
|
|
|
38fe89 |
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
38fe89 |
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+ fi
|
|
|
38fe89 |
+ rm -rf conftest*
|
|
|
38fe89 |
+ ;;
|
|
|
38fe89 |
+ esac
|
|
|
38fe89 |
+
|
|
|
38fe89 |
# Append ld.so.conf contents to the search path
|
|
|
38fe89 |
if test -f /etc/ld.so.conf; then
|
|
|
38fe89 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
|
|
38fe89 |
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
38fe89 |
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
38fe89 |
fi
|
|
|
38fe89 |
|
|
|
38fe89 |
# We used to test for /lib/ld.so.1 and disable shared libraries on
|