1 diff -urN gdb-6.2-dist/bfd/config.bfd gdb-6.2/bfd/config.bfd
2 --- gdb-6.2-dist/bfd/config.bfd 2004-07-09 07:32:35.000000000 -0500
3 +++ gdb-6.2/bfd/config.bfd 2004-08-08 04:23:19.000000000 -0500
5 targ_defvec=ecoffalpha_little_vec
6 targ_selvecs=bfd_elf64_alpha_vec
8 - alpha*-*-linux-gnu* | alpha*-*-elf*)
9 + alpha*-*-linux-gnu* | alpha*-*-linux-uclibc* | alpha*-*-elf*)
10 targ_defvec=bfd_elf64_alpha_vec
11 targ_selvecs=ecoffalpha_little_vec
15 targ_defvec=ecoffalpha_little_vec
17 - ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-gnu* | ia64*-*-elf* | ia64*-*-kfreebsd*-gnu)
18 + ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-gnu* | ia64*-*-elf* | ia64*-*-kfreebsd*-gnu | ia64*-*-linux-uclibc*)
19 targ_defvec=bfd_elf64_ia64_little_vec
20 targ_selvecs="bfd_elf64_ia64_big_vec bfd_efi_app_ia64_vec"
23 targ_defvec=bfd_elf32_littlearm_vec
24 targ_selvecs=bfd_elf32_bigarm_vec
26 - armeb-*-elf | arm*b-*-linux-gnu*)
27 + armeb-*-elf | arm*b-*-linux-gnu* | arm*b-*-linux-uclibc*)
28 targ_defvec=bfd_elf32_bigarm_vec
29 targ_selvecs=bfd_elf32_littlearm_vec
32 targ_defvec=bfd_elf32_littlearm_vec
33 targ_selvecs=bfd_elf32_bigarm_vec
35 - arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-conix* | \
36 + arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-linux-uclibc* | arm*-*-conix* | \
37 arm*-*-uclinux* | arm-*-kfreebsd*-gnu | arm-*-vxworks)
38 targ_defvec=bfd_elf32_littlearm_vec
39 targ_selvecs=bfd_elf32_bigarm_vec
44 - hppa*64*-*-linux-gnu*)
45 + hppa*64*-*-linux-gnu* | hppa*64*-*-linux-uclibc*)
46 targ_defvec=bfd_elf64_hppa_linux_vec
47 targ_selvecs=bfd_elf64_hppa_vec
53 - hppa*-*-linux-gnu* | hppa*-*-netbsd*)
54 + hppa*-*-linux-gnu* | hppa*-*-netbsd* | hppa*-*-linux-uclibc*)
55 targ_defvec=bfd_elf32_hppa_linux_vec
56 targ_selvecs=bfd_elf32_hppa_vec
59 targ_selvecs=bfd_elf32_i386_vec
62 - i[3-7]86-*-linux-gnu*)
63 + i[3-7]86-*-linux-gnu* | i[3-7]86-*-linux-uclibc*)
64 targ_defvec=bfd_elf32_i386_vec
65 targ_selvecs="i386linux_vec bfd_efi_app_ia32_vec"
66 targ64_selvecs=bfd_elf64_x86_64_vec
68 targ_defvec=bfd_elf64_x86_64_vec
69 targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec bfd_efi_app_ia32_vec"
71 - x86_64-*-linux-gnu*)
72 + x86_64-*-linux-gnu* | x86_64-*-linux-uclibc*)
73 targ_defvec=bfd_elf64_x86_64_vec
74 targ_selvecs="bfd_elf32_i386_vec i386linux_vec bfd_efi_app_ia32_vec"
77 targ_defvec=hp300hpux_vec
81 + m68*-*-linux*aout* | m68*-*-linux-uclibc*)
82 targ_defvec=m68klinux_vec
83 targ_selvecs=bfd_elf32_m68k_vec
88 powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \
89 - powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-rtems* | \
90 - powerpc-*-chorus* | powerpc-*-vxworks* | powerpc-*-windiss*)
91 + powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-linux-uclibc* | powerpc-*-rtems* | \
92 + powerpc-*-chorus* | powerpc-*-vxworks* | powerpc-*-windiss* )
93 targ_defvec=bfd_elf32_powerpc_vec
94 targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec ppcboot_vec"
95 targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec"
97 targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec"
99 powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \
100 - powerpcle-*-solaris2* | powerpcle-*-linux-gnu* | powerpcle-*-vxworks* |\
101 - powerpcle-*-rtems*)
102 + powerpcle-*-solaris2* | powerpcle-*-linux-gnu* | powerpcle-*-linux-uclibc* | \
103 + powerpcle-*-vxworks* | powerpcle-*-rtems*)
104 targ_defvec=bfd_elf32_powerpcle_vec
105 targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec"
106 targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec"
107 @@ -1177,7 +1177,7 @@
108 targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec"
111 - sparc-*-linux-gnu*)
112 + sparc-*-linux-gnu* | sparc-*-linux-uclibc*)
113 targ_defvec=bfd_elf32_sparc_vec
114 targ_selvecs="sparclinux_vec bfd_elf64_sparc_vec sunos_big_vec"
116 @@ -1224,7 +1224,7 @@
117 targ_defvec=sunos_big_vec
120 - sparc64-*-linux-gnu*)
121 + sparc64-*-linux-gnu* | sparc64-*-linux-uclibc*)
122 targ_defvec=bfd_elf64_sparc_vec
123 targ_selvecs="bfd_elf32_sparc_vec sparclinux_vec sunos_big_vec"
125 @@ -1293,7 +1293,7 @@
130 + vax-*-linux-gnu* | vax-*-linux-uclibc*)
131 targ_defvec=bfd_elf32_vax_vec
134 diff -urN gdb-6.2-dist/bfd/configure gdb-6.2/bfd/configure
135 --- gdb-6.2-dist/bfd/configure 2004-07-07 12:28:45.000000000 -0500
136 +++ gdb-6.2/bfd/configure 2004-08-08 04:27:01.000000000 -0500
137 @@ -1698,6 +1698,11 @@
138 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
142 + lt_cv_deplibs_check_method=pass_all
143 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
147 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
148 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
149 @@ -5264,7 +5269,7 @@
150 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
153 - alpha*-*-linux-gnu*)
154 + alpha*-*-linux-gnu* | alpha*-*-linux-uclibc*)
155 COREFILE=trad-core.lo
156 TRAD_HEADER='"hosts/alphalinux.h"'
158 @@ -5328,7 +5333,7 @@
159 COREFILE=trad-core.lo
160 TRAD_HEADER='"hosts/i386mach3.h"'
162 - i[3-7]86-*-linux-gnu*)
163 + i[3-7]86-*-linux-gnu* | i[3-7]86-*-linux-uclibc*)
164 COREFILE=trad-core.lo
165 TRAD_HEADER='"hosts/i386linux.h"'
167 @@ -5366,7 +5371,7 @@
168 COREFILE=trad-core.lo
169 TRAD_HEADER='"hosts/hp300bsd.h"'
172 + m68*-*-linux-gnu* | m68*-*-linux-uclibc)
173 COREFILE=trad-core.lo
174 TRAD_HEADER='"hosts/m68klinux.h"'
176 @@ -5470,7 +5475,7 @@
177 COREFILE=trad-core.lo
178 TRAD_HEADER='"hosts/vaxult2.h"'
181 + vax-*-linux-gnu* | vax-*-linux-uclibc*)
182 COREFILE=trad-core.lo
183 TRAD_HEADER='"hosts/vaxlinux.h"'
185 diff -urN gdb-6.2-dist/bfd/configure.in gdb-6.2/bfd/configure.in
186 --- gdb-6.2-dist/bfd/configure.in 2004-07-07 12:28:45.000000000 -0500
187 +++ gdb-6.2/bfd/configure.in 2004-08-08 04:28:07.000000000 -0500
189 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
192 - alpha*-*-linux-gnu*)
193 + alpha*-*-linux-gnu* | alpha*-*-linux-uclibc*)
194 COREFILE=trad-core.lo
195 TRAD_HEADER='"hosts/alphalinux.h"'
198 TRAD_HEADER='"hosts/i386mach3.h"'
201 - i[3-7]86-*-linux-gnu*)
202 + i[3-7]86-*-linux-gnu* | i[3-7]86-*-linux-uclibc*)
204 COREFILE=trad-core.lo
205 TRAD_HEADER='"hosts/i386linux.h"'
207 COREFILE=trad-core.lo
208 TRAD_HEADER='"hosts/hp300bsd.h"'
211 + m68*-*-linux-gnu* | m68*-*-linux-uclibc*)
212 COREFILE=trad-core.lo
213 TRAD_HEADER='"hosts/m68klinux.h"'
216 COREFILE=trad-core.lo
217 TRAD_HEADER='"hosts/vaxult2.h"'
220 + vax-*-linux-gnu* | vax-*-linux-uclibc*)
221 COREFILE=trad-core.lo
222 TRAD_HEADER='"hosts/vaxlinux.h"'
224 diff -urN gdb-6.2-dist/libtool.m4 gdb-6.2/libtool.m4
225 --- gdb-6.2-dist/libtool.m4 2003-04-10 22:58:39.000000000 -0500
226 +++ gdb-6.2/libtool.m4 2004-08-08 03:48:33.000000000 -0500
228 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
232 + lt_cv_deplibs_check_method=pass_all
233 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
237 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
238 [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
239 diff -urN gdb-6.2-dist/ltconfig gdb-6.2/ltconfig
240 --- gdb-6.2-dist/ltconfig 2003-10-03 23:54:47.000000000 -0500
241 +++ gdb-6.2/ltconfig 2004-08-08 03:48:33.000000000 -0500
244 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
247 +linux-gnu*|linux-uclibc*) ;;
248 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
251 @@ -1259,6 +1259,24 @@
252 dynamic_linker='GNU/Linux ld.so'
259 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
260 + soname_spec='${libname}${release}.so$major'
261 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
262 + shlibpath_var=LD_LIBRARY_PATH
263 + shlibpath_overrides_runpath=no
264 + # This implies no fast_install, which is unacceptable.
265 + # Some rework will be needed to allow for fast_install
266 + # before this can be enabled.
267 + # Note: copied from linux-gnu, and may not be appropriate.
268 + hardcode_into_libs=yes
269 + # Assume using the uClibc dynamic linker.
270 + dynamic_linker="uClibc ld.so"
276 diff -urN gdb-6.2-dist/opcodes/configure gdb-6.2/opcodes/configure
277 --- gdb-6.2-dist/opcodes/configure 2004-07-07 12:28:53.000000000 -0500
278 +++ gdb-6.2/opcodes/configure 2004-08-08 04:53:55.000000000 -0500
279 @@ -1701,6 +1701,11 @@
280 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
284 + lt_cv_deplibs_check_method=pass_all
285 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
289 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
290 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'