diff options
Diffstat (limited to 'meta/packages/gdb/gdb-6.3/uclibc.patch')
-rw-r--r-- | meta/packages/gdb/gdb-6.3/uclibc.patch | 194 |
1 files changed, 194 insertions, 0 deletions
diff --git a/meta/packages/gdb/gdb-6.3/uclibc.patch b/meta/packages/gdb/gdb-6.3/uclibc.patch new file mode 100644 index 0000000000..b3981202ff --- /dev/null +++ b/meta/packages/gdb/gdb-6.3/uclibc.patch | |||
@@ -0,0 +1,194 @@ | |||
1 | --- gdb-6.3/bfd/config.bfd.orig 2004-10-15 06:47:11.000000000 +0100 | ||
2 | +++ gdb-6.3/bfd/config.bfd 2005-01-05 19:30:32.000000000 +0000 | ||
3 | @@ -129,7 +129,7 @@ | ||
4 | targ_defvec=ecoffalpha_little_vec | ||
5 | targ_selvecs=bfd_elf64_alpha_vec | ||
6 | ;; | ||
7 | - alpha*-*-linux-gnu* | alpha*-*-elf*) | ||
8 | + alpha*-*-linux-gnu* | alpha*-*-linux-uclibc* | alpha*-*-elf*) | ||
9 | targ_defvec=bfd_elf64_alpha_vec | ||
10 | targ_selvecs=ecoffalpha_little_vec | ||
11 | ;; | ||
12 | @@ -139,7 +139,7 @@ | ||
13 | alpha*-*-*) | ||
14 | targ_defvec=ecoffalpha_little_vec | ||
15 | ;; | ||
16 | - ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-gnu* | ia64*-*-elf* | ia64*-*-kfreebsd*-gnu) | ||
17 | + ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-gnu* | ia64*-*-elf* | ia64*-*-linux-uclibc* | ia64*-*-kfreebsd*-gnu) | ||
18 | targ_defvec=bfd_elf64_ia64_little_vec | ||
19 | targ_selvecs="bfd_elf64_ia64_big_vec bfd_efi_app_ia64_vec" | ||
20 | ;; | ||
21 | @@ -216,7 +216,7 @@ | ||
22 | targ_defvec=bfd_elf32_littlearm_vec | ||
23 | targ_selvecs=bfd_elf32_bigarm_vec | ||
24 | ;; | ||
25 | - armeb-*-elf | arm*b-*-linux-gnu*) | ||
26 | + armeb-*-elf | arm*b-*-linux-gnu* | arm*b-*-linux-uclibc*) | ||
27 | targ_defvec=bfd_elf32_bigarm_vec | ||
28 | targ_selvecs=bfd_elf32_littlearm_vec | ||
29 | ;; | ||
30 | @@ -224,8 +224,8 @@ | ||
31 | targ_defvec=bfd_elf32_littlearm_vec | ||
32 | targ_selvecs=bfd_elf32_bigarm_vec | ||
33 | ;; | ||
34 | - arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-conix* | \ | ||
35 | - arm*-*-uclinux* | arm-*-kfreebsd*-gnu | arm-*-vxworks | \ | ||
36 | + arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-linux-uclibc* | \ | ||
37 | + arm*-*-conix* | arm*-*-uclinux* | arm-*-kfreebsd*-gnu | arm-*-vxworks | \ | ||
38 | arm*-*-eabi* ) | ||
39 | targ_defvec=bfd_elf32_littlearm_vec | ||
40 | targ_selvecs=bfd_elf32_bigarm_vec | ||
41 | @@ -378,7 +378,7 @@ | ||
42 | ;; | ||
43 | |||
44 | #ifdef BFD64 | ||
45 | - hppa*64*-*-linux-gnu*) | ||
46 | + hppa*64*-*-linux-gnu* | hppa*64*-*-linux-uclibc*) | ||
47 | targ_defvec=bfd_elf64_hppa_linux_vec | ||
48 | targ_selvecs=bfd_elf64_hppa_vec | ||
49 | ;; | ||
50 | @@ -389,7 +389,7 @@ | ||
51 | ;; | ||
52 | #endif | ||
53 | |||
54 | - hppa*-*-linux-gnu*) | ||
55 | + hppa*-*-linux-gnu* | hppa*-*-linux-uclibc*) | ||
56 | targ_defvec=bfd_elf32_hppa_linux_vec | ||
57 | targ_selvecs=bfd_elf32_hppa_vec | ||
58 | ;; | ||
59 | @@ -522,7 +522,7 @@ | ||
60 | targ_selvecs=bfd_elf32_i386_vec | ||
61 | targ_underscore=yes | ||
62 | ;; | ||
63 | - i[3-7]86-*-linux-gnu*) | ||
64 | + i[3-7]86-*-linux-gnu* | i[3-7]86-*-linux-uclibc*) | ||
65 | targ_defvec=bfd_elf32_i386_vec | ||
66 | targ_selvecs="i386linux_vec bfd_efi_app_ia32_vec" | ||
67 | targ64_selvecs=bfd_elf64_x86_64_vec | ||
68 | @@ -536,7 +536,7 @@ | ||
69 | targ_defvec=bfd_elf64_x86_64_vec | ||
70 | targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec bfd_efi_app_ia32_vec" | ||
71 | ;; | ||
72 | - x86_64-*-linux-gnu*) | ||
73 | + x86_64-*-linux-gnu* | x86_64-*-linux-uclibc*) | ||
74 | targ_defvec=bfd_elf64_x86_64_vec | ||
75 | targ_selvecs="bfd_elf32_i386_vec i386linux_vec bfd_efi_app_ia32_vec" | ||
76 | ;; | ||
77 | @@ -711,7 +711,7 @@ | ||
78 | targ_selvecs=bfd_elf32_m68k_vec | ||
79 | targ_underscore=yes | ||
80 | ;; | ||
81 | - m68*-*-linux-gnu*) | ||
82 | + m68*-*-linux-gnu* | m68*-*-linux-uclibc*) | ||
83 | targ_defvec=bfd_elf32_m68k_vec | ||
84 | targ_selvecs=m68klinux_vec | ||
85 | ;; | ||
86 | @@ -987,7 +987,8 @@ | ||
87 | ;; | ||
88 | #endif | ||
89 | powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \ | ||
90 | - powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-rtems* | \ | ||
91 | + powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-linux-uclibc* | \ | ||
92 | + powerpc-*-rtems* | \ | ||
93 | powerpc-*-chorus* | powerpc-*-vxworks* | powerpc-*-windiss*) | ||
94 | targ_defvec=bfd_elf32_powerpc_vec | ||
95 | targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec ppcboot_vec" | ||
96 | @@ -1024,8 +1025,8 @@ | ||
97 | targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec" | ||
98 | ;; | ||
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 | @@ -1192,7 +1193,7 @@ | ||
108 | targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec" | ||
109 | targ_underscore=yes | ||
110 | ;; | ||
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" | ||
115 | ;; | ||
116 | @@ -1239,7 +1240,7 @@ | ||
117 | targ_defvec=sunos_big_vec | ||
118 | targ_underscore=yes | ||
119 | ;; | ||
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" | ||
124 | ;; | ||
125 | --- gdb-6.3/bfd/configure.in.orig 2004-10-08 15:53:59.000000000 +0100 | ||
126 | +++ gdb-6.3/bfd/configure.in 2005-01-05 19:28:50.000000000 +0000 | ||
127 | @@ -163,7 +163,7 @@ | ||
128 | alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) | ||
129 | COREFILE='' | ||
130 | ;; | ||
131 | - alpha*-*-linux-gnu*) | ||
132 | + alpha*-*-linux-gnu* | alpha*-*-linux-uclibc*) | ||
133 | COREFILE=trad-core.lo | ||
134 | TRAD_HEADER='"hosts/alphalinux.h"' | ||
135 | ;; | ||
136 | @@ -248,7 +248,7 @@ | ||
137 | TRAD_HEADER='"hosts/i386mach3.h"' | ||
138 | ;; | ||
139 | changequote(,)dnl | ||
140 | - i[3-7]86-*-linux-gnu*) | ||
141 | + i[3-7]86-*-linux-gnu* | i[3-7]86-*-linux-uclibc*) | ||
142 | changequote([,])dnl | ||
143 | COREFILE=trad-core.lo | ||
144 | TRAD_HEADER='"hosts/i386linux.h"' | ||
145 | @@ -289,7 +289,7 @@ | ||
146 | COREFILE=trad-core.lo | ||
147 | TRAD_HEADER='"hosts/hp300bsd.h"' | ||
148 | ;; | ||
149 | - m68*-*-linux-gnu*) | ||
150 | + m68*-*-linux-gnu* | m68*-*-linux-uclibc*) | ||
151 | COREFILE=trad-core.lo | ||
152 | TRAD_HEADER='"hosts/m68klinux.h"' | ||
153 | ;; | ||
154 | --- gdb-6.3/bfd/configure.orig 2004-10-08 15:53:56.000000000 +0100 | ||
155 | +++ gdb-6.3/bfd/configure 2005-01-05 19:29:27.000000000 +0000 | ||
156 | @@ -3583,6 +3583,11 @@ | ||
157 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | ||
158 | ;; | ||
159 | |||
160 | +linux-uclibc*) | ||
161 | + lt_cv_deplibs_check_method=pass_all | ||
162 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
163 | + ;; | ||
164 | + | ||
165 | netbsd* | knetbsd*-gnu) | ||
166 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
167 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
168 | @@ -9914,7 +9919,7 @@ | ||
169 | alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) | ||
170 | COREFILE='' | ||
171 | ;; | ||
172 | - alpha*-*-linux-gnu*) | ||
173 | + alpha*-*-linux-gnu* | alpha*-*-linux-uclibc*) | ||
174 | COREFILE=trad-core.lo | ||
175 | TRAD_HEADER='"hosts/alphalinux.h"' | ||
176 | ;; | ||
177 | @@ -9978,7 +9983,7 @@ | ||
178 | COREFILE=trad-core.lo | ||
179 | TRAD_HEADER='"hosts/i386mach3.h"' | ||
180 | ;; | ||
181 | - i[3-7]86-*-linux-gnu*) | ||
182 | + i[3-7]86-*-linux-gnu* | i[3-7]86-*-linux-uclibc*) | ||
183 | COREFILE=trad-core.lo | ||
184 | TRAD_HEADER='"hosts/i386linux.h"' | ||
185 | ;; | ||
186 | @@ -10016,7 +10021,7 @@ | ||
187 | COREFILE=trad-core.lo | ||
188 | TRAD_HEADER='"hosts/hp300bsd.h"' | ||
189 | ;; | ||
190 | - m68*-*-linux-gnu*) | ||
191 | + m68*-*-linux-gnu* | m68*-*-linux-uclibc*) | ||
192 | COREFILE=trad-core.lo | ||
193 | TRAD_HEADER='"hosts/m68klinux.h"' | ||
194 | ;; | ||