1 diff -Nurp binutils-2.16.91.0.2.orig/bfd/configure binutils-2.16.91.0.2/bfd/configure
2 --- binutils-2.16.91.0.2.orig/bfd/configure 2005-07-20 15:27:27.000000000 -0400
3 +++ binutils-2.16.91.0.2/bfd/configure 2005-08-02 00:17:47.000000000 -0400
4 @@ -3585,6 +3585,11 @@ linux-gnu*)
5 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
9 + lt_cv_deplibs_check_method=pass_all
10 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
13 netbsd* | knetbsd*-gnu)
14 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
15 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
16 diff -Nurp binutils-2.16.91.0.2.orig/binutils/configure binutils-2.16.91.0.2/binutils/configure
17 --- binutils-2.16.91.0.2.orig/binutils/configure 2005-07-20 15:27:27.000000000 -0400
18 +++ binutils-2.16.91.0.2/binutils/configure 2005-08-02 00:17:47.000000000 -0400
19 @@ -3420,6 +3420,11 @@ linux-gnu*)
20 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
24 + lt_cv_deplibs_check_method=pass_all
25 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
28 netbsd* | knetbsd*-gnu)
29 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
30 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
31 diff -Nurp binutils-2.16.91.0.2.orig/configure binutils-2.16.91.0.2/configure
32 --- binutils-2.16.91.0.2.orig/configure 2005-07-20 15:27:26.000000000 -0400
33 +++ binutils-2.16.91.0.2/configure 2005-08-02 00:17:47.000000000 -0400
34 @@ -1130,7 +1130,7 @@ no)
38 - *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu)
39 + *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu | *-*-linux-uclibc*)
40 # Enable libmudflap by default in GNU and friends.
43 @@ -1235,7 +1235,7 @@ case "${target}" in
45 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
49 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
51 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
52 @@ -1530,7 +1530,7 @@ case "${target}" in
54 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
59 i[3456789]86-*-vsta) ;; # don't add gprof back in
60 i[3456789]86-*-go32*) ;; # don't add gprof back in
61 diff -Nurp binutils-2.16.91.0.2.orig/configure.in binutils-2.16.91.0.2/configure.in
62 --- binutils-2.16.91.0.2.orig/configure.in 2005-07-20 15:27:26.000000000 -0400
63 +++ binutils-2.16.91.0.2/configure.in 2005-08-02 00:17:47.000000000 -0400
64 @@ -341,7 +341,7 @@ no)
68 - *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu)
69 + *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu | *-*-linux-uclibc*)
70 # Enable libmudflap by default in GNU and friends.
73 @@ -446,7 +446,7 @@ case "${target}" in
75 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
79 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
81 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
82 @@ -741,7 +741,7 @@ case "${target}" in
84 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
89 i[[3456789]]86-*-vsta) ;; # don't add gprof back in
90 i[[3456789]]86-*-go32*) ;; # don't add gprof back in
91 diff -Nurp binutils-2.16.91.0.2.orig/gas/configure binutils-2.16.91.0.2/gas/configure
92 --- binutils-2.16.91.0.2.orig/gas/configure 2005-07-20 15:27:27.000000000 -0400
93 +++ binutils-2.16.91.0.2/gas/configure 2005-08-02 00:17:47.000000000 -0400
94 @@ -3421,6 +3421,11 @@ linux-gnu*)
95 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
99 + lt_cv_deplibs_check_method=pass_all
100 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
103 netbsd* | knetbsd*-gnu)
104 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
105 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
106 diff -Nurp binutils-2.16.91.0.2.orig/gprof/configure binutils-2.16.91.0.2/gprof/configure
107 --- binutils-2.16.91.0.2.orig/gprof/configure 2005-04-29 13:50:29.000000000 -0400
108 +++ binutils-2.16.91.0.2/gprof/configure 2005-08-02 00:17:47.000000000 -0400
109 @@ -3419,6 +3419,11 @@ linux-gnu*)
110 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
114 + lt_cv_deplibs_check_method=pass_all
115 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
118 netbsd* | knetbsd*-gnu)
119 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
120 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
121 diff -Nurp binutils-2.16.91.0.2.orig/ld/configure binutils-2.16.91.0.2/ld/configure
122 --- binutils-2.16.91.0.2.orig/ld/configure 2005-06-22 16:53:35.000000000 -0400
123 +++ binutils-2.16.91.0.2/ld/configure 2005-08-02 00:17:47.000000000 -0400
124 @@ -3422,6 +3422,11 @@ linux-gnu*)
125 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
129 + lt_cv_deplibs_check_method=pass_all
130 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
133 netbsd* | knetbsd*-gnu)
134 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
135 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
136 diff -Nurp binutils-2.16.91.0.2.orig/libtool.m4 binutils-2.16.91.0.2/libtool.m4
137 --- binutils-2.16.91.0.2.orig/libtool.m4 2005-07-20 15:27:26.000000000 -0400
138 +++ binutils-2.16.91.0.2/libtool.m4 2005-08-02 00:17:47.000000000 -0400
139 @@ -645,6 +645,11 @@ linux-gnu*)
140 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
144 + lt_cv_deplibs_check_method=pass_all
145 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
148 netbsd* | knetbsd*-gnu)
149 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
150 [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
151 diff -Nurp binutils-2.16.91.0.2.orig/ltconfig binutils-2.16.91.0.2/ltconfig
152 --- binutils-2.16.91.0.2.orig/ltconfig 2005-07-20 15:27:26.000000000 -0400
153 +++ binutils-2.16.91.0.2/ltconfig 2005-08-02 00:17:47.000000000 -0400
154 @@ -602,6 +602,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
156 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
160 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
162 @@ -1270,6 +1271,23 @@ linux-gnu*)
163 dynamic_linker='GNU/Linux ld.so'
170 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
171 + soname_spec='${libname}${release}.so$major'
172 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
173 + shlibpath_var=LD_LIBRARY_PATH
174 + shlibpath_overrides_runpath=no
175 + # This implies no fast_install, which is unacceptable.
176 + # Some rework will be needed to allow for fast_install
177 + # before this can be enabled.
178 + hardcode_into_libs=yes
179 + # Assume using the uClibc dynamic linker.
180 + dynamic_linker="uClibc ld.so"
186 diff -Nurp binutils-2.16.91.0.2.orig/opcodes/configure binutils-2.16.91.0.2/opcodes/configure
187 --- binutils-2.16.91.0.2.orig/opcodes/configure 2005-07-20 15:27:28.000000000 -0400
188 +++ binutils-2.16.91.0.2/opcodes/configure 2005-08-02 00:17:47.000000000 -0400
189 @@ -3588,6 +3588,11 @@ linux-gnu*)
190 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
194 + lt_cv_deplibs_check_method=pass_all
195 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
198 netbsd* | knetbsd*-gnu)
199 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
200 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'