[au1000] refresh patches
[openwrt.git] / toolchain / binutils / patches / 2.17 / 100-uclibc-conf.patch
1 Index: binutils-2.17/bfd/configure
2 ===================================================================
3 --- binutils-2.17.orig/bfd/configure 2007-06-28 09:19:34.892931920 +0200
4 +++ binutils-2.17/bfd/configure 2007-06-28 09:19:35.023912008 +0200
5 @@ -3576,7 +3576,7 @@
6 ;;
7
8 # This must be Linux ELF.
9 -linux-gnu*)
10 +linux-gnu*|linux-uclibc*)
11 lt_cv_deplibs_check_method=pass_all
12 ;;
13
14 Index: binutils-2.17/binutils/configure
15 ===================================================================
16 --- binutils-2.17.orig/binutils/configure 2007-06-28 09:19:34.898931008 +0200
17 +++ binutils-2.17/binutils/configure 2007-06-28 09:19:35.028911248 +0200
18 @@ -3411,7 +3411,7 @@
19 ;;
20
21 # This must be Linux ELF.
22 -linux-gnu*)
23 +linux-gnu*|linux-uclibc*)
24 lt_cv_deplibs_check_method=pass_all
25 ;;
26
27 Index: binutils-2.17/configure
28 ===================================================================
29 --- binutils-2.17.orig/configure 2007-06-28 09:19:34.903930248 +0200
30 +++ binutils-2.17/configure 2007-06-28 09:19:35.030910944 +0200
31 @@ -1276,7 +1276,7 @@
32 am33_2.0-*-linux*)
33 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
34 ;;
35 - sh-*-linux*)
36 + sh*-*-linux*)
37 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
38 ;;
39 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
40 @@ -1584,7 +1584,7 @@
41 romp-*-*)
42 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
43 ;;
44 - sh-*-* | sh64-*-*)
45 + sh*-*-* | sh64-*-*)
46 case "${host}" in
47 i[3456789]86-*-vsta) ;; # don't add gprof back in
48 i[3456789]86-*-go32*) ;; # don't add gprof back in
49 Index: binutils-2.17/configure.in
50 ===================================================================
51 --- binutils-2.17.orig/configure.in 2007-06-28 09:19:34.909929336 +0200
52 +++ binutils-2.17/configure.in 2007-06-28 09:19:35.031910792 +0200
53 @@ -468,7 +468,7 @@
54 am33_2.0-*-linux*)
55 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
56 ;;
57 - sh-*-linux*)
58 + sh*-*-linux*)
59 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
60 ;;
61 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
62 @@ -776,7 +776,7 @@
63 romp-*-*)
64 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
65 ;;
66 - sh-*-* | sh64-*-*)
67 + sh*-*-* | sh64-*-*)
68 case "${host}" in
69 i[[3456789]]86-*-vsta) ;; # don't add gprof back in
70 i[[3456789]]86-*-go32*) ;; # don't add gprof back in
71 Index: binutils-2.17/gas/configure
72 ===================================================================
73 --- binutils-2.17.orig/gas/configure 2007-06-28 09:19:34.915928424 +0200
74 +++ binutils-2.17/gas/configure 2007-06-28 09:19:35.035910184 +0200
75 @@ -3411,7 +3411,7 @@
76 ;;
77
78 # This must be Linux ELF.
79 -linux-gnu*)
80 +linux-gnu*|linux-uclibc*)
81 lt_cv_deplibs_check_method=pass_all
82 ;;
83
84 Index: binutils-2.17/gprof/configure
85 ===================================================================
86 --- binutils-2.17.orig/gprof/configure 2007-06-28 09:19:34.921927512 +0200
87 +++ binutils-2.17/gprof/configure 2007-06-28 09:19:35.042909120 +0200
88 @@ -3414,6 +3414,11 @@
89 lt_cv_deplibs_check_method=pass_all
90 ;;
91
92 +linux-uclibc*)
93 + lt_cv_deplibs_check_method=pass_all
94 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
95 + ;;
96 +
97 netbsd* | knetbsd*-gnu)
98 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
99 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
100 Index: binutils-2.17/ld/configure
101 ===================================================================
102 --- binutils-2.17.orig/ld/configure 2007-06-28 09:19:34.927926600 +0200
103 +++ binutils-2.17/ld/configure 2007-06-28 09:19:35.046908512 +0200
104 @@ -3413,7 +3413,7 @@
105 ;;
106
107 # This must be Linux ELF.
108 -linux-gnu*)
109 +linux-gnu*|linux-uclibc*)
110 lt_cv_deplibs_check_method=pass_all
111 ;;
112
113 Index: binutils-2.17/libtool.m4
114 ===================================================================
115 --- binutils-2.17.orig/libtool.m4 2007-06-28 09:19:34.933925688 +0200
116 +++ binutils-2.17/libtool.m4 2007-06-28 09:19:35.047908360 +0200
117 @@ -739,7 +739,7 @@
118 ;;
119
120 # This must be Linux ELF.
121 -linux-gnu*)
122 +linux-gnu*|linux-uclibc*)
123 lt_cv_deplibs_check_method=pass_all
124 ;;
125
126 Index: binutils-2.17/ltconfig
127 ===================================================================
128 --- binutils-2.17.orig/ltconfig 2007-06-28 09:19:34.939924776 +0200
129 +++ binutils-2.17/ltconfig 2007-06-28 09:19:35.048908208 +0200
130 @@ -602,6 +602,7 @@
131
132 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
133 case $host_os in
134 +linux-uclibc*) ;;
135 linux-gnu*) ;;
136 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
137 esac
138 @@ -1247,7 +1248,7 @@
139 ;;
140
141 # This must be Linux ELF.
142 -linux-gnu*)
143 +linux-gnu*|linux-uclibc*)
144 version_type=linux
145 need_lib_prefix=no
146 need_version=no
147 Index: binutils-2.17/opcodes/configure
148 ===================================================================
149 --- binutils-2.17.orig/opcodes/configure 2007-06-28 09:19:34.946923712 +0200
150 +++ binutils-2.17/opcodes/configure 2007-06-28 09:19:35.051907752 +0200
151 @@ -3579,7 +3579,7 @@
152 ;;
153
154 # This must be Linux ELF.
155 -linux-gnu*)
156 +linux-gnu*|linux-uclibc*)
157 lt_cv_deplibs_check_method=pass_all
158 ;;
159
This page took 0.053198 seconds and 5 git commands to generate.