1 diff -rcp ../binutils-2.20.51.0.7.original/bfd/configure ./bfd/configure
2 --- a/bfd/configure 2010-04-08 14:53:48.000000000 +0100
3 +++ b/bfd/configure 2010-04-08 14:56:50.000000000 +0100
4 @@ -10762,10 +10762,34 @@
5 # before this can be enabled.
8 + # find out which ABI we are using
11 + x86_64*|s390*|powerpc*|ppc*|sparc*)
12 + echo 'int i;' > conftest.$ac_ext
13 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14 + (eval $ac_compile) 2>&5
16 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17 + (exit $ac_status); }; then
18 + case `/usr/bin/file conftest.$ac_objext` in
21 + if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
22 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
24 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
32 # Append ld.so.conf contents to the search path
33 if test -f /etc/ld.so.conf; then
34 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' ' '`
35 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
36 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
39 # We used to test for /lib/ld.so.1 and disable shared libraries on
40 diff -rcp ../binutils-2.20.51.0.7.original/binutils/configure ./binutils/configure
41 --- a/binutils/configure 2010-04-08 14:53:45.000000000 +0100
42 +++ b/binutils/configure 2010-04-08 14:56:21.000000000 +0100
43 @@ -10560,10 +10560,34 @@
44 # before this can be enabled.
45 hardcode_into_libs=yes
47 + # find out which ABI we are using
50 + x86_64*|s390*|powerpc*|ppc*|sparc*)
51 + echo 'int i;' > conftest.$ac_ext
52 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53 + (eval $ac_compile) 2>&5
55 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
56 + (exit $ac_status); }; then
57 + case `/usr/bin/file conftest.$ac_objext` in
60 + if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
61 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
63 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
71 # Append ld.so.conf contents to the search path
72 if test -f /etc/ld.so.conf; then
73 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' ' '`
74 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
75 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
78 # We used to test for /lib/ld.so.1 and disable shared libraries on
79 diff -rcp ../binutils-2.20.51.0.7.original/gas/configure ./gas/configure
80 --- a/gas/configure 2010-04-08 14:53:47.000000000 +0100
81 +++ b/gas/configure 2010-04-08 14:57:24.000000000 +0100
82 @@ -10547,10 +10547,34 @@
83 # before this can be enabled.
84 hardcode_into_libs=yes
86 + # find out which ABI we are using
89 + x86_64*|s390*|powerpc*|ppc*|sparc*)
90 + echo 'int i;' > conftest.$ac_ext
91 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92 + (eval $ac_compile) 2>&5
94 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
95 + (exit $ac_status); }; then
96 + case `/usr/bin/file conftest.$ac_objext` in
99 + if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
100 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
102 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
110 # Append ld.so.conf contents to the search path
111 if test -f /etc/ld.so.conf; then
112 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' ' '`
113 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
114 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
117 # We used to test for /lib/ld.so.1 and disable shared libraries on
118 diff -rcp ../binutils-2.20.51.0.7.original/gprof/configure ./gprof/configure
119 --- a/gprof/configure 2010-04-08 14:53:45.000000000 +0100
120 +++ b/gprof/configure 2010-04-08 14:57:50.000000000 +0100
121 @@ -10485,10 +10485,34 @@
122 # before this can be enabled.
123 hardcode_into_libs=yes
125 + # find out which ABI we are using
127 + case "$host_cpu" in
128 + x86_64*|s390*|powerpc*|ppc*|sparc*)
129 + echo 'int i;' > conftest.$ac_ext
130 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131 + (eval $ac_compile) 2>&5
133 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
134 + (exit $ac_status); }; then
135 + case `/usr/bin/file conftest.$ac_objext` in
138 + if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
139 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
141 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
149 # Append ld.so.conf contents to the search path
150 if test -f /etc/ld.so.conf; then
151 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' ' '`
152 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
153 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
156 # We used to test for /lib/ld.so.1 and disable shared libraries on
157 diff -rcp ../binutils-2.20.51.0.7.original/ld/configure ./ld/configure
158 --- a/ld/configure 2010-04-08 14:53:44.000000000 +0100
159 +++ b/ld/configure 2010-04-08 14:58:21.000000000 +0100
160 @@ -10966,10 +10966,34 @@
161 # before this can be enabled.
162 hardcode_into_libs=yes
164 + # find out which ABI we are using
166 + case "$host_cpu" in
167 + x86_64*|s390*|powerpc*|ppc*|sparc*)
168 + echo 'int i;' > conftest.$ac_ext
169 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
170 + (eval $ac_compile) 2>&5
172 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
173 + (exit $ac_status); }; then
174 + case `/usr/bin/file conftest.$ac_objext` in
177 + if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
178 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
180 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
188 # Append ld.so.conf contents to the search path
189 if test -f /etc/ld.so.conf; then
190 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' ' '`
191 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
192 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
195 # We used to test for /lib/ld.so.1 and disable shared libraries on
196 Only in .: .#libtool.m4
197 Only in .: #libtool.m4#
198 diff -rcp ../binutils-2.20.51.0.7.original/opcodes/configure ./opcodes/configure
199 --- a/opcodes/configure 2010-04-08 14:53:45.000000000 +0100
200 +++ b/opcodes/configure 2010-04-08 14:59:10.000000000 +0100
201 @@ -10496,10 +10496,34 @@
202 # before this can be enabled.
203 hardcode_into_libs=yes
205 + # find out which ABI we are using
207 + case "$host_cpu" in
208 + x86_64*|s390*|powerpc*|ppc*|sparc*)
209 + echo 'int i;' > conftest.$ac_ext
210 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
211 + (eval $ac_compile) 2>&5
213 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
214 + (exit $ac_status); }; then
215 + case `/usr/bin/file conftest.$ac_objext` in
218 + if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
219 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
221 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
229 # Append ld.so.conf contents to the search path
230 if test -f /etc/ld.so.conf; then
231 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' ' '`
232 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
233 + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
236 # We used to test for /lib/ld.so.1 and disable shared libraries on