sync with kmod-madwifi
[openwrt.git] / toolchain / binutils / 2.16.91.0.1 / 100-uclibc-conf.patch
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 @@ -1207,7 +1207,7 @@
44 am33_2.0-*-linux*)
45 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
46 ;;
47 - sh-*-linux*)
48 + sh*-*-linux*)
49 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
50 ;;
51 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
52 @@ -1495,7 +1495,7 @@
53 romp-*-*)
54 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
55 ;;
56 - sh-*-* | sh64-*-*)
57 + sh*-*-* | sh64-*-*)
58 case "${host}" in
59 i[3456789]86-*-vsta) ;; # don't add gprof back in
60 i[3456789]86-*-go32*) ;; # don't add gprof back in
61 diff -urN binutils-2.16.90.0.2-dist/configure.in binutils-2.16.90.0.2/configure.in
62 --- binutils-2.16.90.0.2-dist/configure.in 2005-04-29 12:50:23.000000000 -0500
63 +++ binutils-2.16.90.0.2/configure.in 2005-04-30 11:29:51.643139832 -0500
64 @@ -328,7 +328,7 @@
65 ;;
66 "")
67 case "${target}" in
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.
71 ;;
72 *-*-freebsd*)
73 @@ -424,7 +424,7 @@
74 am33_2.0-*-linux*)
75 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
76 ;;
77 - sh-*-linux*)
78 + sh*-*-linux*)
79 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
80 ;;
81 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
82 @@ -712,7 +712,7 @@
83 romp-*-*)
84 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
85 ;;
86 - sh-*-* | sh64-*-*)
87 + sh*-*-* | sh64-*-*)
88 case "${host}" in
89 i[[3456789]]86-*-vsta) ;; # don't add gprof back in
90 i[[3456789]]86-*-go32*) ;; # don't add gprof back in
91 diff -urN binutils-2.16.90.0.2-dist/gas/configure binutils-2.16.90.0.2/gas/configure
92 --- binutils-2.16.90.0.2-dist/gas/configure 2005-04-29 12:50:27.000000000 -0500
93 +++ binutils-2.16.90.0.2/gas/configure 2005-04-30 11:35:21.097055224 -0500
94 @@ -3421,6 +3421,11 @@
95 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
96 ;;
97
98 +linux-uclibc*)
99 + lt_cv_deplibs_check_method=pass_all
100 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
101 + ;;
102 +
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 -urN binutils-2.16.90.0.2-dist/gprof/configure binutils-2.16.90.0.2/gprof/configure
107 --- binutils-2.16.90.0.2-dist/gprof/configure 2005-04-29 12:50:29.000000000 -0500
108 +++ binutils-2.16.90.0.2/gprof/configure 2005-04-30 11:35:36.880655752 -0500
109 @@ -3419,6 +3419,11 @@
110 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
111 ;;
112
113 +linux-uclibc*)
114 + lt_cv_deplibs_check_method=pass_all
115 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
116 + ;;
117 +
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 -urN binutils-2.16.90.0.2-dist/ld/configure binutils-2.16.90.0.2/ld/configure
122 --- binutils-2.16.90.0.2-dist/ld/configure 2005-04-29 12:50:30.000000000 -0500
123 +++ binutils-2.16.90.0.2/ld/configure 2005-04-30 11:46:15.974498720 -0500
124 @@ -1581,6 +1581,11 @@
125 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
126 ;;
127
128 +linux-uclibc*)
129 + lt_cv_deplibs_check_method=pass_all
130 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
131 + ;;
132 +
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 -urN binutils-2.16.90.0.2-dist/libtool.m4 binutils-2.16.90.0.2/libtool.m4
137 --- binutils-2.16.90.0.2-dist/libtool.m4 2004-07-27 23:36:06.000000000 -0500
138 +++ binutils-2.16.90.0.2/libtool.m4 2005-04-30 11:35:54.062043784 -0500
139 @@ -645,6 +645,11 @@
140 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
141 ;;
142
143 +linux-uclibc*)
144 + lt_cv_deplibs_check_method=pass_all
145 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
146 + ;;
147 +
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 -urN binutils-2.16.90.0.2-dist/ltconfig binutils-2.16.90.0.2/ltconfig
152 --- binutils-2.16.90.0.2-dist/ltconfig 2004-11-22 14:33:30.000000000 -0600
153 +++ binutils-2.16.90.0.2/ltconfig 2005-04-30 11:22:10.594229920 -0500
154 @@ -602,6 +602,7 @@
155
156 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
157 case $host_os in
158 +linux-uclibc*) ;;
159 linux-gnu*) ;;
160 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
161 esac
162 @@ -1270,6 +1271,23 @@
163 dynamic_linker='GNU/Linux ld.so'
164 ;;
165
166 +linux-uclibc*)
167 + version_type=linux
168 + need_lib_prefix=no
169 + need_version=no
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"
181 + ;;
182 +
183 netbsd*)
184 need_lib_prefix=no
185 need_version=no
186 diff -urN binutils-2.16.90.0.2-dist/opcodes/configure binutils-2.16.90.0.2/opcodes/configure
187 --- binutils-2.16.90.0.2-dist/opcodes/configure 2005-04-29 12:50:31.000000000 -0500
188 +++ binutils-2.16.90.0.2/opcodes/configure 2005-04-30 11:17:07.168357664 -0500
189 @@ -3588,6 +3588,11 @@
190 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
191 ;;
192
193 +linux-uclibc*)
194 + lt_cv_deplibs_check_method=pass_all
195 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
196 + ;;
197 +
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]+$'
201 diff -urN binutils-2.16.90.0.2.orig/config.sub binutils-2.16.90.0.2/config.sub
202 --- binutils-2.16.90.0.2.orig/config.sub 2005-04-29 20:50:23.000000000 +0300
203 +++ binutils-2.16.90.0.2/config.sub 2005-05-02 13:34:38.400457452 +0300
204 @@ -265,7 +265,7 @@
205 | pdp10 | pdp11 | pj | pjl \
206 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
207 | pyramid \
208 - | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
209 + | sh | sh[1234]* | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
210 | sh64 | sh64le \
211 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
212 | sparcv8 | sparcv9 | sparcv9b \
213 @@ -340,7 +340,7 @@
214 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
215 | pyramid-* \
216 | romp-* | rs6000-* \
217 - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
218 + | sh-* | sh[1234]*-* | sh[23]e-* | sh[34]eb-* | shbe-* \
219 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
220 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
221 | sparclite-* \
222 @@ -891,9 +891,6 @@
223 basic_machine=sh-hitachi
224 os=-hms
225 ;;
226 - sh64)
227 - basic_machine=sh64-unknown
228 - ;;
229 sparclite-wrs | simso-wrs)
230 basic_machine=sparclite-wrs
231 os=-vxworks
232 @@ -1093,7 +1090,7 @@
233 we32k)
234 basic_machine=we32k-att
235 ;;
236 - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
237 + sh2* | sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
238 basic_machine=sh-unknown
239 ;;
240 sh64)
This page took 0.094712 seconds and 5 git commands to generate.