summaryrefslogtreecommitdiffstats
path: root/patches/binutils-2.17/generic/uclibc/100-uclibc-conf.patch
blob: 6dd8a3c92675426f3cc020ea9dd696d7b4dd13cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
From: svn://uclibc.org/trunk/buildroot/toolchain/binutils/2.17/100-uclibc-conf.patch

Path: 100-uclibc-conf.patch
Name: 100-uclibc-conf.patch
URL: svn://uclibc.org/trunk/buildroot/toolchain/binutils/2.17/100-uclibc-conf.patch
Repository Root: svn://uclibc.org
Repository UUID: 69ca8d6d-28ef-0310-b511-8ec308f3f277
Revision: 21884
Node Kind: file
Schedule: normal
Last Changed Author: vapier
Last Changed Rev: 14556
Last Changed Date: 2006-03-18 03:48:49 +0100 (Sat, 18 Mar 2006)
Text Last Updated: 2008-03-27 14:45:04 +0100 (Thu, 27 Mar 2008)
Checksum: 78aedca7c3c0079f361f28104785556d

---
 bfd/configure      |    2 +-
 binutils/configure |    2 +-
 configure          |    4 ++--
 configure.in       |    4 ++--
 gas/configure      |    2 +-
 gprof/configure    |    5 +++++
 ld/configure       |    2 +-
 libtool.m4         |    2 +-
 ltconfig           |    3 ++-
 opcodes/configure  |    2 +-
 10 files changed, 17 insertions(+), 11 deletions(-)

Index: binutils-2.17/bfd/configure
===================================================================
--- binutils-2.17.orig/bfd/configure
+++ binutils-2.17/bfd/configure
@@ -3576,7 +3576,7 @@ irix5* | irix6*)
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|linux-uclibc*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
Index: binutils-2.17/binutils/configure
===================================================================
--- binutils-2.17.orig/binutils/configure
+++ binutils-2.17/binutils/configure
@@ -3411,7 +3411,7 @@ irix5* | irix6*)
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|linux-uclibc*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
Index: binutils-2.17/configure
===================================================================
--- binutils-2.17.orig/configure
+++ binutils-2.17/configure
@@ -1276,7 +1276,7 @@ case "${target}" in
   am33_2.0-*-linux*)
     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
     ;;
-  sh-*-linux*)
+  sh*-*-linux*)
     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
     ;;    
   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
@@ -1584,7 +1584,7 @@ case "${target}" in
   romp-*-*)
     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
     ;;
-  sh-*-* | sh64-*-*)
+  sh*-*-* | sh64-*-*)
     case "${host}" in
       i[3456789]86-*-vsta) ;; # don't add gprof back in
       i[3456789]86-*-go32*) ;; # don't add gprof back in
Index: binutils-2.17/configure.in
===================================================================
--- binutils-2.17.orig/configure.in
+++ binutils-2.17/configure.in
@@ -468,7 +468,7 @@ case "${target}" in
   am33_2.0-*-linux*)
     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
     ;;
-  sh-*-linux*)
+  sh*-*-linux*)
     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
     ;;    
   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
@@ -776,7 +776,7 @@ case "${target}" in
   romp-*-*)
     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
     ;;
-  sh-*-* | sh64-*-*)
+  sh*-*-* | sh64-*-*)
     case "${host}" in
       i[[3456789]]86-*-vsta) ;; # don't add gprof back in
       i[[3456789]]86-*-go32*) ;; # don't add gprof back in
Index: binutils-2.17/gas/configure
===================================================================
--- binutils-2.17.orig/gas/configure
+++ binutils-2.17/gas/configure
@@ -3411,7 +3411,7 @@ irix5* | irix6*)
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|linux-uclibc*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
Index: binutils-2.17/gprof/configure
===================================================================
--- binutils-2.17.orig/gprof/configure
+++ binutils-2.17/gprof/configure
@@ -3414,6 +3414,11 @@ linux-gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
+linux-uclibc*)
+  lt_cv_deplibs_check_method=pass_all
+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
+  ;;
+
 netbsd* | knetbsd*-gnu)
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
Index: binutils-2.17/ld/configure
===================================================================
--- binutils-2.17.orig/ld/configure
+++ binutils-2.17/ld/configure
@@ -3413,7 +3413,7 @@ irix5* | irix6*)
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|linux-uclibc*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
Index: binutils-2.17/libtool.m4
===================================================================
--- binutils-2.17.orig/libtool.m4
+++ binutils-2.17/libtool.m4
@@ -739,7 +739,7 @@ irix5* | irix6*)
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|linux-uclibc*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
Index: binutils-2.17/ltconfig
===================================================================
--- binutils-2.17.orig/ltconfig
+++ binutils-2.17/ltconfig
@@ -602,6 +602,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
 
 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
 case $host_os in
+linux-uclibc*) ;;
 linux-gnu*) ;;
 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
 esac
@@ -1247,7 +1248,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|linux-uclibc*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
Index: binutils-2.17/opcodes/configure
===================================================================
--- binutils-2.17.orig/opcodes/configure
+++ binutils-2.17/opcodes/configure
@@ -3579,7 +3579,7 @@ irix5* | irix6*)
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|linux-uclibc*)
   lt_cv_deplibs_check_method=pass_all
   ;;