Blame SOURCES/binutils-libtool-lib64.patch

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