1 diff -urN binutils-2.13.90.0.14/bfd/configure binutils-2.13.90.0.14.new/bfd/configure
2 --- binutils-2.13.90.0.14/bfd/configure 2002-11-14 12:37:55.000000000 -0500
3 +++ binutils-2.13.90.0.14.new/bfd/configure 2002-11-19 16:15:42.000000000 -0500
5 bfd_version_string="\"${VERSION}\""
6 if test x${is_release} = x; then
7 bfd_version_date=`sed -n -e 's/.*DATE //p' < ${srcdir}/version.h`
8 - bfd_version_string="\"${VERSION} ${bfd_version_date}\""
9 + bfd_version_string="\"${VERSION} ${bfd_version_date} uClibc\""
13 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-arm.h binutils-2.14.90.0.6/bfd/elf32-arm.h
14 --- binutils-2.14.90.0.6.orig/bfd/elf32-arm.h 2003-08-21 09:28:47.000000000 -0600
15 +++ binutils-2.14.90.0.6/bfd/elf32-arm.h 2003-10-13 21:05:03.000000000 -0600
18 /* The name of the dynamic interpreter. This is put in the .interp
20 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so.1"
21 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
23 /* The size in bytes of an entry in the procedure linkage table. */
24 #define PLT_ENTRY_SIZE 16
25 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-cris.c binutils-2.14.90.0.6/bfd/elf32-cris.c
26 --- binutils-2.14.90.0.6.orig/bfd/elf32-cris.c 2003-08-21 09:28:47.000000000 -0600
27 +++ binutils-2.14.90.0.6/bfd/elf32-cris.c 2003-10-13 21:05:03.000000000 -0600
29 /* The name of the dynamic interpreter. This is put in the .interp
32 -#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so.1"
33 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
35 /* The size in bytes of an entry in the procedure linkage table. */
37 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-hppa.c binutils-2.14.90.0.6/bfd/elf32-hppa.c
38 --- binutils-2.14.90.0.6.orig/bfd/elf32-hppa.c 2003-08-21 09:28:47.000000000 -0600
39 +++ binutils-2.14.90.0.6/bfd/elf32-hppa.c 2003-10-13 21:05:03.000000000 -0600
42 #define PLT_ENTRY_SIZE 8
43 #define GOT_ENTRY_SIZE 4
44 -#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so.1"
45 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
47 static const bfd_byte plt_stub[] =
49 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-i370.c binutils-2.14.90.0.6/bfd/elf32-i370.c
50 --- binutils-2.14.90.0.6.orig/bfd/elf32-i370.c 2003-07-23 09:08:08.000000000 -0600
51 +++ binutils-2.14.90.0.6/bfd/elf32-i370.c 2003-10-13 21:05:03.000000000 -0600
53 /* The name of the dynamic interpreter. This is put in the .interp
56 -#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so"
57 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
59 /* Set the howto pointer for an i370 ELF reloc. */
61 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-i386.c binutils-2.14.90.0.6/bfd/elf32-i386.c
62 --- binutils-2.14.90.0.6.orig/bfd/elf32-i386.c 2003-08-21 09:28:47.000000000 -0600
63 +++ binutils-2.14.90.0.6/bfd/elf32-i386.c 2003-10-13 21:05:03.000000000 -0600
65 /* The name of the dynamic interpreter. This is put in the .interp
68 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1"
69 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
71 /* If ELIMINATE_COPY_RELOCS is non-zero, the linker will try to avoid
72 copying dynamic variables from a shared lib into an app's dynbss
73 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-m68k.c binutils-2.14.90.0.6/bfd/elf32-m68k.c
74 --- binutils-2.14.90.0.6.orig/bfd/elf32-m68k.c 2003-08-21 09:28:47.000000000 -0600
75 +++ binutils-2.14.90.0.6/bfd/elf32-m68k.c 2003-10-13 21:05:03.000000000 -0600
77 /* The name of the dynamic interpreter. This is put in the .interp
80 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1"
81 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
83 /* The size in bytes of an entry in the procedure linkage table. */
85 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-ppc.c binutils-2.14.90.0.6/bfd/elf32-ppc.c
86 --- binutils-2.14.90.0.6.orig/bfd/elf32-ppc.c 2003-08-21 09:28:47.000000000 -0600
87 +++ binutils-2.14.90.0.6/bfd/elf32-ppc.c 2003-10-13 21:05:03.000000000 -0600
90 /* The name of the dynamic interpreter. This is put in the .interp
92 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so.1"
93 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
95 /* The size in bytes of an entry in the procedure linkage table. */
96 #define PLT_ENTRY_SIZE 12
97 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-s390.c binutils-2.14.90.0.6/bfd/elf32-s390.c
98 --- binutils-2.14.90.0.6.orig/bfd/elf32-s390.c 2003-08-21 09:28:47.000000000 -0600
99 +++ binutils-2.14.90.0.6/bfd/elf32-s390.c 2003-10-13 21:05:03.000000000 -0600
101 /* The name of the dynamic interpreter. This is put in the .interp
104 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so.1"
105 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
107 /* If ELIMINATE_COPY_RELOCS is non-zero, the linker will try to avoid
108 copying dynamic variables from a shared lib into an app's dynbss
109 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-sh.c binutils-2.14.90.0.6/bfd/elf32-sh.c
110 --- binutils-2.14.90.0.6.orig/bfd/elf32-sh.c 2003-08-21 09:28:47.000000000 -0600
111 +++ binutils-2.14.90.0.6/bfd/elf32-sh.c 2003-10-13 21:05:03.000000000 -0600
113 /* The name of the dynamic interpreter. This is put in the .interp
116 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1"
117 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
119 static reloc_howto_type sh_elf_howto_table[] =
121 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-sparc.c binutils-2.14.90.0.6/bfd/elf32-sparc.c
122 --- binutils-2.14.90.0.6.orig/bfd/elf32-sparc.c 2003-08-21 09:28:48.000000000 -0600
123 +++ binutils-2.14.90.0.6/bfd/elf32-sparc.c 2003-10-13 21:05:03.000000000 -0600
125 /* The name of the dynamic interpreter. This is put in the .interp
128 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so.1"
129 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
131 /* The nop opcode we use. */
133 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-vax.c binutils-2.14.90.0.6/bfd/elf32-vax.c
134 --- binutils-2.14.90.0.6.orig/bfd/elf32-vax.c 2003-08-21 09:28:48.000000000 -0600
135 +++ binutils-2.14.90.0.6/bfd/elf32-vax.c 2003-10-13 21:05:03.000000000 -0600
137 /* The name of the dynamic interpreter. This is put in the .interp
140 -#define ELF_DYNAMIC_INTERPRETER "/usr/libexec/ld.elf_so"
141 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
143 /* The size in bytes of an entry in the procedure linkage table. */
145 diff -urN binutils-2.14.90.0.6.orig/bfd/elf32-xtensa.c binutils-2.14.90.0.6/bfd/elf32-xtensa.c
146 --- binutils-2.14.90.0.6.orig/bfd/elf32-xtensa.c 2003-08-21 09:28:48.000000000 -0600
147 +++ binutils-2.14.90.0.6/bfd/elf32-xtensa.c 2003-10-13 21:05:03.000000000 -0600
149 /* The name of the dynamic interpreter. This is put in the .interp
152 -#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so"
153 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
155 /* The size in bytes of an entry in the procedure linkage table.
156 (This does _not_ include the space for the literals associated with
157 diff -urN binutils-2.14.90.0.6.orig/bfd/elf64-alpha.c binutils-2.14.90.0.6/bfd/elf64-alpha.c
158 --- binutils-2.14.90.0.6.orig/bfd/elf64-alpha.c 2003-08-21 09:28:48.000000000 -0600
159 +++ binutils-2.14.90.0.6/bfd/elf64-alpha.c 2003-10-13 21:05:03.000000000 -0600
160 @@ -2328,7 +2328,7 @@
162 #define MAX_GOT_SIZE (64*1024)
164 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so"
165 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
167 /* Handle an Alpha specific section when reading an object file. This
168 is called when elfcode.h finds a section with an unknown type.
169 diff -urN binutils-2.14.90.0.6.orig/bfd/elf64-hppa.c binutils-2.14.90.0.6/bfd/elf64-hppa.c
170 --- binutils-2.14.90.0.6.orig/bfd/elf64-hppa.c 2003-08-21 09:28:48.000000000 -0600
171 +++ binutils-2.14.90.0.6/bfd/elf64-hppa.c 2003-10-13 21:05:03.000000000 -0600
173 #define DLT_ENTRY_SIZE 0x8
174 #define OPD_ENTRY_SIZE 0x20
176 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/pa20_64/dld.sl"
177 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
179 /* The stub is supposed to load the target address and target's DP
180 value out of the PLT, then do an external branch to the target
181 diff -urN binutils-2.14.90.0.6.orig/bfd/elf64-ppc.c binutils-2.14.90.0.6/bfd/elf64-ppc.c
182 --- binutils-2.14.90.0.6.orig/bfd/elf64-ppc.c 2003-08-21 09:28:48.000000000 -0600
183 +++ binutils-2.14.90.0.6/bfd/elf64-ppc.c 2003-10-13 21:05:03.000000000 -0600
186 /* The name of the dynamic interpreter. This is put in the .interp
188 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so.1"
189 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
191 /* The size in bytes of an entry in the procedure linkage table. */
192 #define PLT_ENTRY_SIZE 24
193 diff -urN binutils-2.14.90.0.6.orig/bfd/elf64-s390.c binutils-2.14.90.0.6/bfd/elf64-s390.c
194 --- binutils-2.14.90.0.6.orig/bfd/elf64-s390.c 2003-08-21 09:28:48.000000000 -0600
195 +++ binutils-2.14.90.0.6/bfd/elf64-s390.c 2003-10-13 21:05:03.000000000 -0600
197 /* The name of the dynamic interpreter. This is put in the .interp
200 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so.1"
201 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
203 /* If ELIMINATE_COPY_RELOCS is non-zero, the linker will try to avoid
204 copying dynamic variables from a shared lib into an app's dynbss
205 diff -urN binutils-2.14.90.0.6.orig/bfd/elf64-sh64.c binutils-2.14.90.0.6/bfd/elf64-sh64.c
206 --- binutils-2.14.90.0.6.orig/bfd/elf64-sh64.c 2003-08-21 09:28:48.000000000 -0600
207 +++ binutils-2.14.90.0.6/bfd/elf64-sh64.c 2003-10-13 21:05:03.000000000 -0600
209 /* Return offset of the relocation in PLT entry. */
210 #define elf_sh64_plt_reloc_offset(info) (info->shared ? 52 : 44)
212 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1"
213 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
215 /* The sh linker needs to keep track of the number of relocs that it
216 decides to copy in check_relocs for each symbol. This is so that
217 diff -urN binutils-2.14.90.0.6.orig/bfd/elf64-sparc.c binutils-2.14.90.0.6/bfd/elf64-sparc.c
218 --- binutils-2.14.90.0.6.orig/bfd/elf64-sparc.c 2003-08-21 09:28:48.000000000 -0600
219 +++ binutils-2.14.90.0.6/bfd/elf64-sparc.c 2003-10-13 21:05:03.000000000 -0600
221 #define LARGE_PLT_THRESHOLD 32768
222 #define GOT_RESERVED_ENTRIES 1
224 -#define ELF_DYNAMIC_INTERPRETER "/usr/lib/sparcv9/ld.so.1"
225 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
227 /* Fill in the .plt section. */
229 diff -urN binutils-2.14.90.0.6.orig/bfd/elf64-x86-64.c binutils-2.14.90.0.6/bfd/elf64-x86-64.c
230 --- binutils-2.14.90.0.6.orig/bfd/elf64-x86-64.c 2003-08-21 09:28:48.000000000 -0600
231 +++ binutils-2.14.90.0.6/bfd/elf64-x86-64.c 2003-10-13 21:05:03.000000000 -0600
233 /* The name of the dynamic interpreter. This is put in the .interp
236 -#define ELF_DYNAMIC_INTERPRETER "/lib/ld64.so.1"
237 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0"
239 /* If ELIMINATE_COPY_RELOCS is non-zero, the linker will try to avoid
240 copying dynamic variables from a shared lib into an app's dynbss