reenable unsupported targets on DEVELOPER=1, add binutils 2.16.91.0.6 and a missing...
[openwrt.git] / toolchain / binutils / 2.16.91.0.6 / 100-uclibc-conf.patch
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`
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 -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`
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 -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)
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 @@ -1235,7 +1235,7 @@ case "${target}" in
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 @@ -1530,7 +1530,7 @@ case "${target}" in
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 -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)
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 @@ -446,7 +446,7 @@ case "${target}" in
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 @@ -741,7 +741,7 @@ case "${target}" in
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 -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`
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 -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`
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 -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`
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 -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`
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 -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/^\([^-]*\)-
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 @@ linux-gnu*)
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 -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`
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]+$'
This page took 0.050316 seconds and 5 git commands to generate.