2009-10-12 11:18:37 +00:00
|
|
|
diff -rup ../binutils-2.20.51.0.2.orig/bfd/configure ./bfd/configure
|
|
|
|
--- ../binutils-2.20.51.0.2.orig/bfd/configure 2009-10-12 11:28:45.000000000 +0100
|
|
|
|
+++ ./bfd/configure 2009-10-12 11:31:43.000000000 +0100
|
|
|
|
@@ -10670,10 +10670,34 @@ fi
|
2007-08-16 10:02:50 +00:00
|
|
|
# before this can be enabled.
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
|
2008-11-21 18:14:05 +00:00
|
|
|
+ # find out which ABI we are using
|
|
|
|
+ libsuff=
|
|
|
|
+ case "$host_cpu" in
|
|
|
|
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
|
+ echo 'int i;' > conftest.$ac_ext
|
|
|
|
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
+ (eval $ac_compile) 2>&5
|
|
|
|
+ ac_status=$?
|
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
+ (exit $ac_status); }; then
|
|
|
|
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
|
+ *64-bit*)
|
|
|
|
+ libsuff=64
|
|
|
|
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
|
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
|
+ fi
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ fi
|
|
|
|
+ rm -rf conftest*
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+
|
2007-08-16 10:02:50 +00:00
|
|
|
# Append ld.so.conf contents to the search path
|
|
|
|
if test -f /etc/ld.so.conf; then
|
2008-11-21 18:14:05 +00:00
|
|
|
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;/^$/d' | tr '\n' ' '`
|
2007-08-16 10:02:50 +00:00
|
|
|
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
2009-06-22 16:18:17 +00:00
|
|
|
Only in ./bfd: configure.orig
|
2009-10-12 11:18:37 +00:00
|
|
|
diff -rup ../binutils-2.20.51.0.2.orig/binutils/configure ./binutils/configure
|
|
|
|
--- ../binutils-2.20.51.0.2.orig/binutils/configure 2009-10-12 11:28:44.000000000 +0100
|
|
|
|
+++ ./binutils/configure 2009-10-12 11:31:43.000000000 +0100
|
|
|
|
@@ -10461,10 +10461,34 @@ fi
|
2007-08-16 10:02:50 +00:00
|
|
|
# before this can be enabled.
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
|
|
|
|
+ # find out which ABI we are using
|
|
|
|
+ libsuff=
|
|
|
|
+ case "$host_cpu" in
|
|
|
|
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
|
+ echo 'int i;' > conftest.$ac_ext
|
|
|
|
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
+ (eval $ac_compile) 2>&5
|
|
|
|
+ ac_status=$?
|
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
+ (exit $ac_status); }; then
|
|
|
|
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
|
+ *64-bit*)
|
|
|
|
+ libsuff=64
|
|
|
|
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
|
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
|
+ fi
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ fi
|
|
|
|
+ rm -rf conftest*
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+
|
|
|
|
# Append ld.so.conf contents to the search path
|
|
|
|
if test -f /etc/ld.so.conf; then
|
2008-11-21 18:14:05 +00:00
|
|
|
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;/^$/d' | tr '\n' ' '`
|
2007-08-16 10:02:50 +00:00
|
|
|
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
2009-06-22 16:18:17 +00:00
|
|
|
Only in ./binutils: configure.orig
|
2009-10-12 11:18:37 +00:00
|
|
|
diff -rup ../binutils-2.20.51.0.2.orig/gas/configure ./gas/configure
|
|
|
|
--- ../binutils-2.20.51.0.2.orig/gas/configure 2009-10-12 11:28:45.000000000 +0100
|
|
|
|
+++ ./gas/configure 2009-10-12 11:31:43.000000000 +0100
|
|
|
|
@@ -10418,10 +10418,34 @@ fi
|
2007-08-16 10:02:50 +00:00
|
|
|
# before this can be enabled.
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
|
|
|
|
+ # find out which ABI we are using
|
|
|
|
+ libsuff=
|
|
|
|
+ case "$host_cpu" in
|
|
|
|
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
|
+ echo 'int i;' > conftest.$ac_ext
|
|
|
|
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
+ (eval $ac_compile) 2>&5
|
|
|
|
+ ac_status=$?
|
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
+ (exit $ac_status); }; then
|
|
|
|
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
|
+ *64-bit*)
|
|
|
|
+ libsuff=64
|
|
|
|
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
|
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
|
+ fi
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ fi
|
|
|
|
+ rm -rf conftest*
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+
|
|
|
|
# Append ld.so.conf contents to the search path
|
|
|
|
if test -f /etc/ld.so.conf; then
|
2008-11-21 18:14:05 +00:00
|
|
|
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;/^$/d' | tr '\n' ' '`
|
2007-08-16 10:02:50 +00:00
|
|
|
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
2009-06-22 16:18:17 +00:00
|
|
|
Only in ./gas: configure.orig
|
2009-10-12 11:18:37 +00:00
|
|
|
diff -rup ../binutils-2.20.51.0.2.orig/gprof/configure ./gprof/configure
|
|
|
|
--- ../binutils-2.20.51.0.2.orig/gprof/configure 2009-10-12 11:28:44.000000000 +0100
|
|
|
|
+++ ./gprof/configure 2009-10-12 11:31:43.000000000 +0100
|
|
|
|
@@ -10356,10 +10356,34 @@ fi
|
2007-08-16 10:02:50 +00:00
|
|
|
# before this can be enabled.
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
|
|
|
|
+ # find out which ABI we are using
|
|
|
|
+ libsuff=
|
|
|
|
+ case "$host_cpu" in
|
|
|
|
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
|
+ echo 'int i;' > conftest.$ac_ext
|
|
|
|
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
+ (eval $ac_compile) 2>&5
|
|
|
|
+ ac_status=$?
|
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
+ (exit $ac_status); }; then
|
|
|
|
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
|
+ *64-bit*)
|
|
|
|
+ libsuff=64
|
|
|
|
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
|
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
|
+ fi
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ fi
|
|
|
|
+ rm -rf conftest*
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+
|
|
|
|
# Append ld.so.conf contents to the search path
|
|
|
|
if test -f /etc/ld.so.conf; then
|
2008-11-21 18:14:05 +00:00
|
|
|
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;/^$/d' | tr '\n' ' '`
|
2007-08-16 10:02:50 +00:00
|
|
|
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
2009-06-22 16:18:17 +00:00
|
|
|
Only in ./gprof: configure.orig
|
2009-10-12 11:18:37 +00:00
|
|
|
diff -rup ../binutils-2.20.51.0.2.orig/ld/configure ./ld/configure
|
|
|
|
--- ../binutils-2.20.51.0.2.orig/ld/configure 2009-10-12 11:28:44.000000000 +0100
|
|
|
|
+++ ./ld/configure 2009-10-12 11:31:43.000000000 +0100
|
|
|
|
@@ -10806,10 +10806,34 @@ fi
|
2007-08-16 10:02:50 +00:00
|
|
|
# before this can be enabled.
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
|
|
|
|
+ # find out which ABI we are using
|
|
|
|
+ libsuff=
|
|
|
|
+ case "$host_cpu" in
|
|
|
|
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
|
+ echo 'int i;' > conftest.$ac_ext
|
|
|
|
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
+ (eval $ac_compile) 2>&5
|
|
|
|
+ ac_status=$?
|
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
+ (exit $ac_status); }; then
|
|
|
|
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
|
+ *64-bit*)
|
|
|
|
+ libsuff=64
|
|
|
|
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
|
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
|
+ fi
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ fi
|
|
|
|
+ rm -rf conftest*
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+
|
|
|
|
# Append ld.so.conf contents to the search path
|
|
|
|
if test -f /etc/ld.so.conf; then
|
2008-11-21 18:14:05 +00:00
|
|
|
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;/^$/d' | tr '\n' ' '`
|
2007-08-16 10:02:50 +00:00
|
|
|
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
2009-06-22 16:18:17 +00:00
|
|
|
Only in ./ld: configure.orig
|
2009-10-12 11:18:37 +00:00
|
|
|
diff -rup ../binutils-2.20.51.0.2.orig/libtool.m4 ./libtool.m4
|
|
|
|
--- ../binutils-2.20.51.0.2.orig/libtool.m4 2009-10-12 11:28:44.000000000 +0100
|
|
|
|
+++ ./libtool.m4 2009-10-12 11:31:43.000000000 +0100
|
2009-06-22 16:18:17 +00:00
|
|
|
@@ -2475,10 +2475,30 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
2007-08-16 10:02:50 +00:00
|
|
|
# before this can be enabled.
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
|
|
|
|
+ # find out which ABI we are using
|
|
|
|
+ libsuff=
|
|
|
|
+ case "$host_cpu" in
|
|
|
|
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
|
+ echo 'int i;' > conftest.$ac_ext
|
2008-11-21 18:14:05 +00:00
|
|
|
+ if AC_TRY_EVAL(ac_compile); then
|
2007-08-16 10:02:50 +00:00
|
|
|
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
|
+ *64-bit*)
|
|
|
|
+ libsuff=64
|
|
|
|
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
|
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
|
+ fi
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ fi
|
|
|
|
+ rm -rf conftest*
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+
|
|
|
|
# Append ld.so.conf contents to the search path
|
|
|
|
if test -f /etc/ld.so.conf; then
|
2008-11-21 18:14:05 +00:00
|
|
|
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;/^$/d' | tr '\n' ' '`
|
2007-08-16 10:02:50 +00:00
|
|
|
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
2009-10-12 11:18:37 +00:00
|
|
|
diff -rup ../binutils-2.20.51.0.2.orig/opcodes/configure ./opcodes/configure
|
|
|
|
--- ../binutils-2.20.51.0.2.orig/opcodes/configure 2009-10-12 11:28:44.000000000 +0100
|
|
|
|
+++ ./opcodes/configure 2009-10-12 11:31:43.000000000 +0100
|
|
|
|
@@ -10406,10 +10406,34 @@ fi
|
2007-08-16 10:02:50 +00:00
|
|
|
# before this can be enabled.
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
|
|
|
|
+ # find out which ABI we are using
|
|
|
|
+ libsuff=
|
|
|
|
+ case "$host_cpu" in
|
|
|
|
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
|
|
|
+ echo 'int i;' > conftest.$ac_ext
|
2008-11-21 18:14:05 +00:00
|
|
|
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
+ (eval $ac_compile) 2>&5
|
|
|
|
+ ac_status=$?
|
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
+ (exit $ac_status); }; then
|
2007-08-16 10:02:50 +00:00
|
|
|
+ case `/usr/bin/file conftest.$ac_objext` in
|
|
|
|
+ *64-bit*)
|
|
|
|
+ libsuff=64
|
|
|
|
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
|
|
|
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
|
|
|
+ fi
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ fi
|
|
|
|
+ rm -rf conftest*
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+
|
|
|
|
# Append ld.so.conf contents to the search path
|
|
|
|
if test -f /etc/ld.so.conf; then
|
2008-11-21 18:14:05 +00:00
|
|
|
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;/^$/d' | tr '\n' ' '`
|
2007-08-16 10:02:50 +00:00
|
|
|
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
|
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
2009-06-22 16:18:17 +00:00
|
|
|
Only in ./opcodes: configure.orig
|