Blame SOURCES/binutils-libtool-lib64.patch

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