Magellan Linux

Annotation of /trunk/binutils/patches/binutils-2.17-uclibc_conf-1.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 454 - (hide annotations) (download)
Thu Jan 31 11:19:57 2008 UTC (16 years, 4 months ago) by niro
File size: 3973 byte(s)
-added uclibc patch

1 niro 454 Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes)
2     Date: 2007-02-07
3     Initial Package Version: 2.17
4     Upstream Status: Not submitted - Hack
5     ORIGIN: http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/toolchain/\
6     binutils/2.17/100-uclibc-conf.patch
7     Description: This adds --target=*-*-linux-uclibc* needed for building a
8     uClibc toolchain.
9    
10     --- binutils-2.16.91.0.7/bfd/configure
11     +++ binutils-2.16.91.0.7/bfd/configure
12     @@ -3576,7 +3576,7 @@
13     ;;
14    
15     # This must be Linux ELF.
16     -linux-gnu*)
17     +linux-gnu*|linux-uclibc*)
18     lt_cv_deplibs_check_method=pass_all
19     ;;
20    
21     --- binutils-2.16.91.0.7/binutils/configure
22     +++ binutils-2.16.91.0.7/binutils/configure
23     @@ -3411,7 +3411,7 @@
24     ;;
25    
26     # This must be Linux ELF.
27     -linux-gnu*)
28     +linux-gnu*|linux-uclibc*)
29     lt_cv_deplibs_check_method=pass_all
30     ;;
31    
32     --- binutils-2.16.91.0.7/configure
33     +++ binutils-2.16.91.0.7/configure
34     @@ -1270,7 +1270,7 @@
35     am33_2.0-*-linux*)
36     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
37     ;;
38     - sh-*-linux*)
39     + sh*-*-linux*)
40     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
41     ;;
42     sh*-*-pe|mips*-*-pe|*arm-wince-pe)
43     @@ -1578,7 +1578,7 @@
44     romp-*-*)
45     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
46     ;;
47     - sh-*-* | sh64-*-*)
48     + sh*-*-* | sh64-*-*)
49     case "${host}" in
50     i[3456789]86-*-vsta) ;; # don't add gprof back in
51     i[3456789]86-*-go32*) ;; # don't add gprof back in
52     --- binutils-2.16.91.0.7/configure.in
53     +++ binutils-2.16.91.0.7/configure.in
54     @@ -468,7 +468,7 @@
55     am33_2.0-*-linux*)
56     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
57     ;;
58     - sh-*-linux*)
59     + sh*-*-linux*)
60     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
61     ;;
62     sh*-*-pe|mips*-*-pe|*arm-wince-pe)
63     @@ -776,7 +776,7 @@
64     romp-*-*)
65     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
66     ;;
67     - sh-*-* | sh64-*-*)
68     + sh*-*-* | sh64-*-*)
69     case "${host}" in
70     i[[3456789]]86-*-vsta) ;; # don't add gprof back in
71     i[[3456789]]86-*-go32*) ;; # don't add gprof back in
72     --- binutils-2.16.91.0.7/gas/configure
73     +++ binutils-2.16.91.0.7/gas/configure
74     @@ -3411,7 +3411,7 @@
75     ;;
76    
77     # This must be Linux ELF.
78     -linux-gnu*)
79     +linux-gnu*|linux-uclibc*)
80     lt_cv_deplibs_check_method=pass_all
81     ;;
82    
83     --- binutils-2.16.91.0.7/gprof/configure
84     +++ binutils-2.16.91.0.7/gprof/configure
85     @@ -3419,6 +3419,11 @@
86     lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
87     ;;
88    
89     +linux-uclibc*)
90     + lt_cv_deplibs_check_method=pass_all
91     + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
92     + ;;
93     +
94     netbsd* | knetbsd*-gnu)
95     if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
96     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
97     --- binutils-2.16.91.0.7/ld/configure
98     +++ binutils-2.16.91.0.7/ld/configure
99     @@ -3413,7 +3413,7 @@
100     ;;
101    
102     # This must be Linux ELF.
103     -linux-gnu*)
104     +linux-gnu*|linux-uclibc*)
105     lt_cv_deplibs_check_method=pass_all
106     ;;
107    
108     --- binutils-2.16.91.0.7/libtool.m4
109     +++ binutils-2.16.91.0.7/libtool.m4
110     @@ -739,7 +739,7 @@
111     ;;
112    
113     # This must be Linux ELF.
114     -linux-gnu*)
115     +linux-gnu*|linux-uclibc*)
116     lt_cv_deplibs_check_method=pass_all
117     ;;
118    
119     --- binutils-2.16.91.0.7/ltconfig
120     +++ binutils-2.16.91.0.7/ltconfig
121     @@ -602,6 +602,7 @@
122    
123     # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
124     case $host_os in
125     +linux-uclibc*) ;;
126     linux-gnu*) ;;
127     linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
128     esac
129     @@ -1247,7 +1248,7 @@
130     ;;
131    
132     # This must be Linux ELF.
133     -linux-gnu*)
134     +linux-gnu*|linux-uclibc*)
135     version_type=linux
136     need_lib_prefix=no
137     need_version=no
138     --- binutils-2.16.91.0.7/opcodes/configure
139     +++ binutils-2.16.91.0.7/opcodes/configure
140     @@ -3579,7 +3579,7 @@
141     ;;
142    
143     # This must be Linux ELF.
144     -linux-gnu*)
145     +linux-gnu*|linux-uclibc*)
146     lt_cv_deplibs_check_method=pass_all
147     ;;
148