]>
Commit | Line | Data |
---|---|---|
bc9f0c12 MT |
1 | diff -urN binutils-2.16.90.0.2-dist/bfd/configure binutils-2.16.90.0.2/bfd/configure |
2 | --- binutils-2.16.90.0.2-dist/bfd/configure 2005-04-29 12:50:24.000000000 -0500 | |
3 | +++ binutils-2.16.90.0.2/bfd/configure 2005-04-30 11:34:59.246377032 -0500 | |
4 | @@ -3584,6 +3584,11 @@ | |
5 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
6 | ;; | |
7 | ||
8 | +linux-uclibc*) | |
9 | + lt_cv_deplibs_check_method=pass_all | |
10 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | |
11 | + ;; | |
12 | + | |
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 -urN binutils-2.16.90.0.2-dist/binutils/configure binutils-2.16.90.0.2/binutils/configure | |
17 | --- binutils-2.16.90.0.2-dist/binutils/configure 2005-04-29 12:50:26.000000000 -0500 | |
18 | +++ binutils-2.16.90.0.2/binutils/configure 2005-04-30 11:35:28.900868864 -0500 | |
19 | @@ -1577,6 +1577,11 @@ | |
20 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
21 | ;; | |
22 | ||
23 | +linux-uclibc*) | |
24 | + lt_cv_deplibs_check_method=pass_all | |
25 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | |
26 | + ;; | |
27 | + | |
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 -urN binutils-2.16.90.0.2-dist/configure binutils-2.16.90.0.2/configure | |
32 | --- binutils-2.16.90.0.2-dist/configure 2005-04-29 12:50:23.000000000 -0500 | |
33 | +++ binutils-2.16.90.0.2/configure 2005-04-30 11:31:12.525843792 -0500 | |
34 | @@ -1111,7 +1111,7 @@ | |
35 | ;; | |
36 | "") | |
37 | case "${target}" in | |
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. | |
41 | ;; | |
42 | *-*-freebsd*) | |
43 | diff -urN binutils-2.16.90.0.2-dist/configure.in binutils-2.16.90.0.2/configure.in | |
44 | --- binutils-2.16.90.0.2-dist/configure.in 2005-04-29 12:50:23.000000000 -0500 | |
45 | +++ binutils-2.16.90.0.2/configure.in 2005-04-30 11:29:51.643139832 -0500 | |
46 | @@ -328,7 +328,7 @@ | |
47 | ;; | |
48 | "") | |
49 | case "${target}" in | |
50 | - *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu) | |
51 | + *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu | *-*-linux-uclibc*) | |
52 | # Enable libmudflap by default in GNU and friends. | |
53 | ;; | |
54 | *-*-freebsd*) | |
55 | diff -urN binutils-2.16.90.0.2-dist/gas/configure binutils-2.16.90.0.2/gas/configure | |
56 | --- binutils-2.16.90.0.2-dist/gas/configure 2005-04-29 12:50:27.000000000 -0500 | |
57 | +++ binutils-2.16.90.0.2/gas/configure 2005-04-30 11:35:21.097055224 -0500 | |
58 | @@ -3421,6 +3421,11 @@ | |
59 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
60 | ;; | |
61 | ||
62 | +linux-uclibc*) | |
63 | + lt_cv_deplibs_check_method=pass_all | |
64 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | |
65 | + ;; | |
66 | + | |
67 | netbsd* | knetbsd*-gnu) | |
68 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | |
69 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | |
70 | diff -urN binutils-2.16.90.0.2-dist/gas/testsuite/gas/sh/basic.exp binutils-2.16.90.0.2/gas/testsuite/gas/sh/basic.exp | |
71 | --- binutils-2.16.90.0.2-dist/gas/testsuite/gas/sh/basic.exp 2005-04-09 14:03:14.000000000 -0500 | |
72 | +++ binutils-2.16.90.0.2/gas/testsuite/gas/sh/basic.exp 2005-04-30 11:41:57.301822944 -0500 | |
73 | @@ -20,7 +20,7 @@ | |
74 | ||
75 | # Written by Cygnus Support. | |
76 | ||
77 | -if [istarget "sh*-*-linux-gnu"] { | |
78 | +if {[istarget "sh*-*-linux-gnu"] || [istarget "sh*-*-linux-uclibc"]} { | |
79 | global ASFLAGS | |
80 | set ASFLAGS "$ASFLAGS -big" | |
81 | } | |
82 | diff -urN binutils-2.16.90.0.2-dist/gprof/configure binutils-2.16.90.0.2/gprof/configure | |
83 | --- binutils-2.16.90.0.2-dist/gprof/configure 2005-04-29 12:50:29.000000000 -0500 | |
84 | +++ binutils-2.16.90.0.2/gprof/configure 2005-04-30 11:35:36.880655752 -0500 | |
85 | @@ -3419,6 +3419,11 @@ | |
86 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
87 | ;; | |
88 | ||
89 | +linux-uclibc*) | |
90 | + lt_cv_deplibs_check_method=pass_all | |
91 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | |
92 | + ;; | |
93 | + | |
94 | netbsd* | knetbsd*-gnu) | |
95 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | |
96 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | |
97 | diff -urN binutils-2.16.90.0.2-dist/ld/configure binutils-2.16.90.0.2/ld/configure | |
98 | --- binutils-2.16.90.0.2-dist/ld/configure 2005-04-29 12:50:30.000000000 -0500 | |
99 | +++ binutils-2.16.90.0.2/ld/configure 2005-04-30 11:46:15.974498720 -0500 | |
100 | @@ -1581,6 +1581,11 @@ | |
101 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
102 | ;; | |
103 | ||
104 | +linux-uclibc*) | |
105 | + lt_cv_deplibs_check_method=pass_all | |
106 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | |
107 | + ;; | |
108 | + | |
109 | netbsd* | knetbsd*-gnu) | |
110 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | |
111 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | |
112 | diff -urN binutils-2.16.90.0.2-dist/ld/testsuite/ld-sh/sh.exp binutils-2.16.90.0.2/ld/testsuite/ld-sh/sh.exp | |
113 | --- binutils-2.16.90.0.2-dist/ld/testsuite/ld-sh/sh.exp 2005-04-09 14:03:29.000000000 -0500 | |
114 | +++ binutils-2.16.90.0.2/ld/testsuite/ld-sh/sh.exp 2005-04-30 11:45:07.890849008 -0500 | |
115 | @@ -62,7 +62,7 @@ | |
116 | ||
117 | set testsrec "SH relaxing to S-records" | |
118 | ||
119 | -if [istarget sh*-linux-gnu] { | |
120 | +if {[istarget sh*-linux-gnu] || [istarget sh*-*-linux-uclibc]} { | |
121 | # This target needs the explicit entry address. | |
122 | catch "exec $objdump -x tmpdir/sh1 | grep start\\ address | sed s/start\\ address//" entry_addr | |
123 | set srec_relax_arg "-Ttext $entry_addr -relax --oformat srec tmpdir/sh1.o" | |
124 | @@ -117,7 +117,7 @@ | |
125 | return | |
126 | } | |
127 | ||
128 | -if [istarget sh*-linux-gnu] { | |
129 | +if {[istarget sh*-linux-gnu] || [istarget sh*-*-linux-uclibc]} { | |
130 | exec sed -e s/_main/main/ -e s/_trap/trap/ -e s/_stack/stack/ \ | |
131 | < $srcdir/$subdir/start.s >tmpdir/start.s | |
132 | } else { | |
133 | diff -urN binutils-2.16.90.0.2-dist/ld/testsuite/ld-srec/srec.exp binutils-2.16.90.0.2/ld/testsuite/ld-srec/srec.exp | |
134 | --- binutils-2.16.90.0.2-dist/ld/testsuite/ld-srec/srec.exp 2005-04-29 12:50:30.000000000 -0500 | |
135 | +++ binutils-2.16.90.0.2/ld/testsuite/ld-srec/srec.exp 2005-04-30 11:44:26.358162936 -0500 | |
136 | @@ -385,7 +385,7 @@ | |
137 | setup_xfail "v850*-*-elf" | |
138 | ||
139 | # The S-record linker doesn't handle Alpha Elf relaxation. | |
140 | -setup_xfail "alpha*-*-elf*" "alpha*-*-linux-gnu*" "alpha*-*-gnu*" | |
141 | +setup_xfail "alpha*-*-elf*" "alpha*-*-linux-gnu*" "alpha*-*-gnu*" "alpha*-*-linux-uclibc*" | |
142 | setup_xfail "alpha*-*-netbsd*" | |
143 | ||
144 | # The S-record linker hasn't any hope of coping with HPPA relocs. | |
145 | @@ -424,7 +424,7 @@ | |
146 | setup_xfail "thumb-*-*" | |
147 | setup_xfail "powerpc*-*-eabi*" | |
148 | setup_xfail "v850*-*-elf" | |
149 | -setup_xfail "alpha*-*-elf*" "alpha*-*-linux-gnu*" "alpha*-*-gnu*" | |
150 | +setup_xfail "alpha*-*-elf*" "alpha*-*-linux-gnu*" "alpha*-*-gnu*" "alpha*-*-linux-uclibc*" | |
151 | setup_xfail "alpha*-*-netbsd*" | |
152 | setup_xfail "hppa*-*-*" | |
153 | setup_xfail "ia64-*-*" | |
154 | diff -urN binutils-2.16.90.0.2-dist/libtool.m4 binutils-2.16.90.0.2/libtool.m4 | |
155 | --- binutils-2.16.90.0.2-dist/libtool.m4 2004-07-27 23:36:06.000000000 -0500 | |
156 | +++ binutils-2.16.90.0.2/libtool.m4 2005-04-30 11:35:54.062043784 -0500 | |
157 | @@ -645,6 +645,11 @@ | |
158 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
159 | ;; | |
160 | ||
161 | +linux-uclibc*) | |
162 | + lt_cv_deplibs_check_method=pass_all | |
163 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | |
164 | + ;; | |
165 | + | |
166 | netbsd* | knetbsd*-gnu) | |
167 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | |
168 | [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'] | |
169 | diff -urN binutils-2.16.90.0.2-dist/ltconfig binutils-2.16.90.0.2/ltconfig | |
170 | --- binutils-2.16.90.0.2-dist/ltconfig 2004-11-22 14:33:30.000000000 -0600 | |
171 | +++ binutils-2.16.90.0.2/ltconfig 2005-04-30 11:22:10.594229920 -0500 | |
172 | @@ -602,6 +602,7 @@ | |
173 | ||
174 | # Transform linux* to *-*-linux-gnu*, to support old configure scripts. | |
175 | case $host_os in | |
176 | +linux-uclibc*) ;; | |
177 | linux-gnu*) ;; | |
178 | linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | |
179 | esac | |
180 | @@ -1270,6 +1271,23 @@ | |
181 | dynamic_linker='GNU/Linux ld.so' | |
182 | ;; | |
183 | ||
184 | +linux-uclibc*) | |
185 | + version_type=linux | |
186 | + need_lib_prefix=no | |
187 | + need_version=no | |
188 | + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | |
189 | + soname_spec='${libname}${release}.so$major' | |
190 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | |
191 | + shlibpath_var=LD_LIBRARY_PATH | |
192 | + shlibpath_overrides_runpath=no | |
193 | + # This implies no fast_install, which is unacceptable. | |
194 | + # Some rework will be needed to allow for fast_install | |
195 | + # before this can be enabled. | |
196 | + hardcode_into_libs=yes | |
197 | + # Assume using the uClibc dynamic linker. | |
198 | + dynamic_linker="uClibc ld.so" | |
199 | + ;; | |
200 | + | |
201 | netbsd*) | |
202 | need_lib_prefix=no | |
203 | need_version=no | |
204 | diff -urN binutils-2.16.90.0.2-dist/opcodes/configure binutils-2.16.90.0.2/opcodes/configure | |
205 | --- binutils-2.16.90.0.2-dist/opcodes/configure 2005-04-29 12:50:31.000000000 -0500 | |
206 | +++ binutils-2.16.90.0.2/opcodes/configure 2005-04-30 11:17:07.168357664 -0500 | |
207 | @@ -3588,6 +3588,11 @@ | |
208 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
209 | ;; | |
210 | ||
211 | +linux-uclibc*) | |
212 | + lt_cv_deplibs_check_method=pass_all | |
213 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | |
214 | + ;; | |
215 | + | |
216 | netbsd* | knetbsd*-gnu) | |
217 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | |
218 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' |