1 diff -urN gdb-5.3/bfd/config.bfd gdb-5.3-new/bfd/config.bfd
2 --- gdb-5.3/bfd/config.bfd 2002-09-05 15:34:35.000000000 -0500
3 +++ gdb-5.3-new/bfd/config.bfd 2004-01-11 06:25:31.000000000 -0600
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
14 targ_defvec=bfd_elf64_ia64_aix_little_vec
15 targ_selvecs="bfd_elf64_ia64_aix_big_vec bfd_efi_app_ia64_vec"
17 - ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-gnu* | ia64*-*-elf*)
18 + ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-gnu* | \
19 + ia64*-*-linux-uclibc* | ia64*-*-elf*)
20 targ_defvec=bfd_elf64_ia64_little_vec
21 targ_selvecs="bfd_elf64_ia64_big_vec bfd_efi_app_ia64_vec"
24 targ_defvec=bfd_elf32_littlearm_vec
25 targ_selvecs=bfd_elf32_bigarm_vec
27 - armeb-*-elf | arm*b-*-linux-gnu*)
28 + armeb-*-elf | arm*b-*-linux-gnu* | arm*b-*-linux-uclibc*)
29 targ_defvec=bfd_elf32_bigarm_vec
30 targ_selvecs=bfd_elf32_littlearm_vec
32 - arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-conix* | arm*-*-uclinux*)
33 + arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-linux-uclibc* | \
34 + arm*-*-conix* | arm*-*-uclinux*)
35 targ_defvec=bfd_elf32_littlearm_vec
36 targ_selvecs=bfd_elf32_bigarm_vec
42 - hppa*64*-*-linux-gnu*)
43 + hppa*64*-*-linux-gnu* | hppa*64*-*-linux-uclibc*)
44 targ_defvec=bfd_elf64_hppa_linux_vec
45 targ_selvecs=bfd_elf64_hppa_vec
52 + hppa*-*-linux-gnu* | hppa*-*-linux-uclibc*)
53 targ_defvec=bfd_elf32_hppa_linux_vec
54 targ_selvecs=bfd_elf32_hppa_vec
57 targ_selvecs=bfd_elf32_i386_vec
60 - i[3456]86-*-linux-gnu*)
61 + i[3-7]86-*-linux-gnu* | i[3-7]86-*-linux-uclibc*)
62 targ_defvec=bfd_elf32_i386_vec
63 targ_selvecs="i386linux_vec bfd_efi_app_ia32_vec"
64 targ64_selvecs=bfd_elf64_x86_64_vec
66 targ_defvec=bfd_elf64_x86_64_vec
67 targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec bfd_efi_app_ia32_vec"
69 - x86_64-*-linux-gnu*)
70 + x86_64-*-linux-gnu* | x86_64-*-linux-uclibc*)
71 targ_defvec=bfd_elf64_x86_64_vec
72 targ_selvecs="bfd_elf32_i386_vec i386linux_vec bfd_efi_app_ia32_vec"
75 targ_defvec=hp300hpux_vec
79 + m68*-*-linux-gnu* | m68*-*-linux-uclibc*)
80 targ_defvec=m68klinux_vec
81 targ_selvecs=bfd_elf32_m68k_vec
86 powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \
87 - powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-rtems* | \
88 + powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-linux-uclibc* | \
89 + powerpc-*-rtems* | \
90 powerpc-*-chorus* | powerpc-*-vxworks* | powerpc-*-windiss*)
91 targ_defvec=bfd_elf32_powerpc_vec
92 targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec ppcboot_vec"
94 targ_selvecs="rs6000coff_vec bfd_elf32_powerpcqnx_vec ppcboot_vec"
96 powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \
97 - powerpcle-*-solaris2* | powerpcle-*-linux-gnu* | powerpcle-*-vxworks* |\
99 + powerpcle-*-solaris2* | powerpcle-*-linux-gnu* | powerpcle-*-linux-uclibc* |\
100 + powerpcle-*-vxworks* | powerpcle-*-rtems*)
101 targ_defvec=bfd_elf32_powerpcle_vec
102 targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec"
103 targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec"
104 @@ -1038,7 +1041,7 @@
105 targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec"
108 - sparc-*-linux-gnu*)
109 + sparc-*-linux-gnu* | sparc-*-linux-uclibc*)
110 targ_defvec=bfd_elf32_sparc_vec
111 targ_selvecs="sparclinux_vec bfd_elf64_sparc_vec sunos_big_vec"
113 @@ -1081,7 +1084,7 @@
114 targ_defvec=sunos_big_vec
117 - sparc64-*-linux-gnu*)
118 + sparc64-*-linux-gnu* | sparc64-*-linux-uclibc*)
119 targ_defvec=bfd_elf64_sparc_vec
120 targ_selvecs="bfd_elf32_sparc_vec sparclinux_vec sunos_big_vec"
122 diff -urN gdb-5.3/bfd/configure gdb-5.3-new/bfd/configure
123 --- gdb-5.3/bfd/configure 2002-08-28 05:38:44.000000000 -0500
124 +++ gdb-5.3-new/bfd/configure 2004-01-11 06:27:15.000000000 -0600
125 @@ -1677,6 +1677,11 @@
126 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
130 + lt_cv_deplibs_check_method=pass_all
131 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
135 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
136 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
137 @@ -5067,7 +5072,7 @@
141 - alpha*-*-linux-gnu*)
142 + alpha*-*-linux-gnu* | alpha*-*-linux-uclibc*)
143 COREFILE=trad-core.lo
144 TRAD_HEADER='"hosts/alphalinux.h"'
146 @@ -5126,7 +5131,7 @@
147 COREFILE=trad-core.lo
148 TRAD_HEADER='"hosts/i386mach3.h"'
150 - i[3456]86-*-linux-gnu*)
151 + i[3-7]86-*-linux-gnu* | i[3-7]86-*-linux-uclibc*)
152 COREFILE=trad-core.lo
153 TRAD_HEADER='"hosts/i386linux.h"'