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