]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
* doc/as.texinfo (Reloc): Document.
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
157090f7
AM
12007-03-26 Alan Modra <amodra@bigpond.net.au>
2
3 * aout-adobe.c (aout_32_bfd_reloc_name_lookup): Define.
4 * aout-arm.c (MY_bfd_reloc_name_lookup): Define.
5 (MY (bfd_reloc_name_lookup)): New function.
6 * aout-ns32k.c (MY (bfd_reloc_name_lookup)): New function.
7 * aout-target.h (NAME (aout, reloc_name_lookup)): Declare.
8 (MY_bfd_reloc_name_lookup): Define.
9 * aout-tic30.c (tic30_aout_reloc_name_lookup): New function.
10 (MY_bfd_reloc_name_lookup): Define.
11 * aoutx.h (NAME (aout, reloc_type_lookup)): Don't declare.
12 (NAME (aout, reloc_name_lookup)): New function.
13 * bout.c (b_out_bfd_reloc_name_lookup): New function.
14 * coff-alpha.c (alpha_bfd_reloc_name_lookup): New function.
15 (_bfd_ecoff_bfd_reloc_name_lookup): Define.
16 * coff-arm.c (coff_arm_reloc_name_lookup): New function.
17 (coff_bfd_reloc_name_lookup): Define.
18 * coff-i386.c (coff_bfd_reloc_name_lookup): Define.
19 (coff_i386_reloc_name_lookup): New function.
20 * coff-i860.c (coff_i860_reloc_name_lookup): New function.
21 (coff_bfd_reloc_name_lookup): Define.
22 * coff-i960.c (coff_i960_reloc_name_lookup): New function.
23 (coff_bfd_reloc_name_lookup): Define.
24 * coff-m68k.c (m68k_reloc_name_lookup): New function.
25 (coff_bfd_reloc_name_lookup): Define.
26 * coff-maxq.c (maxq_reloc_name_lookup): New function.
27 (coff_bfd_reloc_name_lookup): Define.
28 * coff-mcore.c (mcore_coff_reloc_name_lookup): New function.
29 (coff_bfd_reloc_name_lookup): Define.
30 * coff-mips.c (mips_bfd_reloc_name_lookup): New function.
31 (_bfd_ecoff_bfd_reloc_name_lookup): Define.
32 * coff-ppc.c (ppc_coff_reloc_name_lookup): New function.
33 (coff_bfd_reloc_name_lookup): Define.
34 * coff-rs6000.c (coff_bfd_reloc_name_lookup): Define.
35 (_bfd_xcoff_reloc_name_lookup): New function.
36 (rs6000coff_vec, pmac_xcoff_vec): Init new field.
37 * coff-sh.c (coff_bfd_reloc_name_lookup): Define.
38 (sh_coff_reloc_name_lookup): New function.
39 * coff-sparc.c (coff_sparc_reloc_name_lookup): New function.
40 (coff_bfd_reloc_name_lookup): Define.
41 * coff-tic30.c (coff_bfd_reloc_name_lookup): Define.
42 (tic30_coff_reloc_name_lookup): New function.
43 * coff-tic4x.c (coff_bfd_reloc_name_lookup): Define.
44 (tic4x_coff_reloc_name_lookup): New function.
45 * coff-tic54x.c (coff_bfd_reloc_name_lookup): Define.
46 (tic54x_coff_reloc_name_lookup): New function.
47 * coff-x86_64.c (coff_bfd_reloc_name_lookup): Define.
48 (coff_amd64_reloc_name_lookup): New function.
49 * coff-z80.c (coff_z80_reloc_name_lookup): New function.
50 (coff_bfd_reloc_name_lookup): Define.
51 * coff-z8k.c (coff_z8k_reloc_name_lookup): New function.
52 (coff_bfd_reloc_name_lookup): Define.
53 * coff64-rs6000.c (coff_bfd_reloc_name_lookup): Define.
54 (xcoff64_reloc_name_lookup): New function.
55 (rs6000coff64_vec, aix5coff64_vec): Init new field.
56 * coffcode.h (coff_bfd_reloc_name_lookup): Define.
57 * elf-hppa.h (elf_hppa_reloc_name_lookup): New function.
58 * elf-m10200.c (bfd_elf32_bfd_reloc_name_lookup): New function.
59 * elf-m10300.c (bfd_elf32_bfd_reloc_name_lookup): New function.
60 * elf32-arc.c (bfd_elf32_bfd_reloc_name_lookup): New function.
61 * elf32-arm.c (elf32_arm_reloc_name_lookup): New function.
62 (bfd_elf32_bfd_reloc_name_lookup): Define.
63 * elf32-avr.c (bfd_elf32_bfd_reloc_name_lookup): New function.
64 * elf32-bfin.c (bfin_bfd_reloc_name_lookup): New function.
65 (bfd_elf32_bfd_reloc_name_lookup): Define.
66 * elf32-cr16c.c (elf_cr16c_reloc_name_lookup): New function.
67 (bfd_elf32_bfd_reloc_name_lookup): Define.
68 * elf32-cris.c (cris_reloc_name_lookup): New function.
69 (bfd_elf32_bfd_reloc_name_lookup): Define.
70 * elf32-crx.c (elf_crx_reloc_name_lookup): New function.
71 (bfd_elf32_bfd_reloc_name_lookup): Define.
72 * elf32-d10v.c (bfd_elf32_bfd_reloc_name_lookup): New function.
73 * elf32-d30v.c (bfd_elf32_bfd_reloc_name_lookup): New function.
74 * elf32-dlx.c (elf32_dlx_reloc_name_lookup): New function.
75 (bfd_elf32_bfd_reloc_name_lookup): Define.
76 * elf32-fr30.c (fr30_reloc_name_lookup): New function.
77 (bfd_elf32_bfd_reloc_name_lookup): Define.
78 * elf32-frv.c (frv_reloc_name_lookup): New function.
79 (bfd_elf32_bfd_reloc_name_lookup): Define.
80 * elf32-gen.c (bfd_elf32_bfd_reloc_name_lookup): Define.
81 * elf32-h8300.c (elf32_h8_reloc_name_lookup): New function.
82 (bfd_elf32_bfd_reloc_name_lookup): Define.
83 * elf32-hppa.c (bfd_elf32_bfd_reloc_name_lookup): Define.
84 * elf32-i370.c (i370_elf_reloc_name_lookup): New function.
85 (bfd_elf32_bfd_reloc_name_lookup): Define.
86 * elf32-i386.c (elf_i386_reloc_name_lookup): New function.
87 (bfd_elf32_bfd_reloc_name_lookup): Define.
88 * elf32-i860.c (elf32_i860_reloc_name_lookup): New function.
89 (bfd_elf32_bfd_reloc_name_lookup): Define.
90 * elf32-i960.c (elf32_i960_reloc_name_lookup): New function.
91 (bfd_elf32_bfd_reloc_name_lookup): Define.
92 * elf32-ip2k.c (ip2k_reloc_name_lookup): New function.
93 (bfd_elf32_bfd_reloc_name_lookup): Define.
94 * elf32-iq2000.c (iq2000_reloc_name_lookup): New function.
95 (bfd_elf32_bfd_reloc_name_lookup): Define.
96 * elf32-m32c.c (m32c_reloc_name_lookup): New function.
97 (bfd_elf32_bfd_reloc_name_lookup): Define.
98 * elf32-m32r.c (bfd_elf32_bfd_reloc_name_lookup): New function.
99 * elf32-m68hc11.c (bfd_elf32_bfd_reloc_name_lookup): New function.
100 * elf32-m68hc12.c (bfd_elf32_bfd_reloc_name_lookup): New function.
101 * elf32-m68k.c (reloc_name_lookup): New function.
102 (bfd_elf32_bfd_reloc_name_lookup): Define.
103 * elf32-m88k.c (bfd_elf32_bfd_reloc_name_lookup): Define.
104 * elf32-mcore.c (mcore_elf_reloc_name_lookup): New function.
105 (bfd_elf32_bfd_reloc_name_lookup): Define.
106 * elf32-mep.c (mep_reloc_name_lookup): New function.
107 (bfd_elf32_bfd_reloc_name_lookup): Define.
108 * elf32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function.
109 (mips_vxworks_bfd_reloc_name_lookup): Likewise.
110 (bfd_elf32_bfd_reloc_name_lookup): Define.
111 * elf32-msp430.c (bfd_elf32_bfd_reloc_name_lookup): New function.
112 * elf32-mt.c (mt_reloc_name_lookup): New function.
113 (bfd_elf32_bfd_reloc_name_lookup): Define.
114 * elf32-openrisc.c (openrisc_reloc_name_lookup): New function.
115 (bfd_elf32_bfd_reloc_name_lookup): Define.
116 * elf32-or32.c (bfd_elf32_bfd_reloc_name_lookup): New function.
117 * elf32-pj.c (pj_elf_reloc_name_lookup): New function.
118 (bfd_elf32_bfd_reloc_name_lookup): Define.
119 * elf32-ppc.c (ppc_elf_reloc_name_lookup): New function.
120 (bfd_elf32_bfd_reloc_name_lookup): Define.
121 * elf32-s390.c (elf_s390_reloc_name_lookup): New function.
122 (bfd_elf32_bfd_reloc_name_lookup): Define.
123 * elf32-score.c (elf32_score_reloc_name_lookup): New function.
124 (bfd_elf32_bfd_reloc_name_lookup): Define.
125 * elf32-sh.c (sh_elf_reloc_name_lookup): New function.
126 (bfd_elf32_bfd_reloc_name_lookup): Define.
127 * elf32-sparc.c (bfd_elf32_bfd_reloc_name_lookup): Define.
128 * elf32-spu.c (spu_elf_reloc_name_lookup): New function.
129 (bfd_elf32_bfd_reloc_name_lookup): Define.
130 * elf32-v850.c (v850_elf_reloc_name_lookup): New function.
131 (bfd_elf32_bfd_reloc_name_lookup): Define.
132 * elf32-vax.c (reloc_name_lookup): New function.
133 (bfd_elf32_bfd_reloc_name_lookup): Define.
134 * elf32-xc16x.c (xc16x_reloc_name_lookup): New function.
135 (bfd_elf32_bfd_reloc_name_lookup): Define.
136 * elf32-xstormy16.c (xstormy16_reloc_name_lookup): New function.
137 (bfd_elf32_bfd_reloc_name_lookup): Define.
138 * elf32-xtensa.c (elf_xtensa_reloc_name_lookup): New function.
139 (bfd_elf32_bfd_reloc_name_lookup): Define.
140 * elf64-alpha.c (elf64_alpha_bfd_reloc_name_lookup): New function.
141 (bfd_elf64_bfd_reloc_name_lookup): Define.
142 * elf64-gen.c (bfd_elf64_bfd_reloc_name_lookup): Define.
143 * elf64-hppa.c (bfd_elf64_bfd_reloc_name_lookup): Define.
144 * elf64-mips.c (bfd_elf64_bfd_reloc_name_lookup): New function.
145 * elf64-mmix.c (bfd_elf64_bfd_reloc_name_lookup): New function.
146 * elf64-ppc.c (ppc64_elf_reloc_name_lookup): New function.
147 (bfd_elf64_bfd_reloc_name_lookup): Define.
148 * elf64-s390.c (elf_s390_reloc_name_lookup): New function.
149 (bfd_elf64_bfd_reloc_name_lookup): Define.
150 * elf64-sh64.c (sh_elf64_reloc_name_lookup): New function.
151 (bfd_elf64_bfd_reloc_name_lookup): Define.
152 * elf64-sparc.c (bfd_elf64_bfd_reloc_name_lookup): Define.
153 * elf64-x86-64.c (elf64_x86_64_reloc_name_lookup): New function.
154 (bfd_elf64_bfd_reloc_name_lookup): Define.
155 * elfn32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function.
156 * elfxx-ia64.c (elfNN_ia64_reloc_name_lookup): New function.
157 (bfd_elfNN_bfd_reloc_name_lookup): Define.
158 * elfxx-sparc.c (_bfd_sparc_elf_reloc_name_lookup): New function.
159 * elfxx-sparc.h (_bfd_sparc_elf_reloc_name_lookup): Declare.
160 * i386msdos.c (msdos_bfd_reloc_name_lookup): Define.
161 * i386os9k.c (aout_32_bfd_reloc_name_lookup): Define.
162 * ieee.c (ieee_bfd_reloc_name_lookup): Define.
163 * libaout.h (NAME (aout, reloc_name_lookup)): Declare.
164 * libbfd-in.h (_bfd_norelocs_bfd_reloc_name_lookup): Declare.
165 * mipsbsd.c (MY_bfd_reloc_name_lookup): Define.
166 (MY(reloc_type_lookup)): Rename from MY(reloc_howto_type_lookup).
167 (MY(reloc_name_lookup)): New function.
168 * nlm-target.h (nlm_bfd_reloc_name_lookup): Define.
169 * oasys.c (oasys_bfd_reloc_name_lookup): Define.
170 * pdp11.c (NAME (aout, reloc_name_lookup)): New function.
171 * pe-mips.c (coff_mips_reloc_name_lookup): New function.
172 (coff_bfd_reloc_name_lookup): Define.
173 * reloc.c (bfd_reloc_name_lookup): New function.
174 * riscix.c (riscix_reloc_name_lookup): New function.
175 (MY_bfd_reloc_name_lookup): Define.
176 * som.c (som_bfd_reloc_name_lookup): New function.
177 * targets.c (struct bfd_target): Add reloc_name_lookup.
178 (BFD_JUMP_TABLE_RELOCS): Add NAME##_bfd_reloc_name_lookup.
179 * versados.c (versados_bfd_reloc_name_lookup): Define.
180 * vms.c (vms_bfd_reloc_name_lookup): New function.
181 * bfd-in2.h: Regenerate.
182 * libbfd.h: Regenerate.
183
2d82d84d
TS
1842007-03-26 Thiemo Seufer <ths@mips.com>
185
186 * elfxx-mips.c (mips_elf_next_relocation): Don't signal an error if no
187 matching relocation is found.
188 (_bfd_mips_elf_relocate_section): Only warn about missing relocations.
189
1a27db7d
L
1902003-03-23 H.J. Lu <hongjiu.lu@intel.com>
191
192 * configure: Regenerated.
193
a1ac8190
JM
1942007-03-23 Joseph Myers <joseph@codesourcery.com>
195
196 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
197 * configure: Regenerate.
198
aa7a0635
AM
1992007-03-23 Alan Modra <amodra@bigpond.net.au>
200
201 * elf32-spu.c (spu_stub_name): Don't put input section in stub name.
202 Remove input_sec param. Adjust all calls.
203 (write_one_stub): Adjust stub symbol.
204 (needs_ovl_stub): New function, extracted from..
205 (spu_elf_size_stubs): ..here.
206 (spu_elf_relocate_section): Use needs_ovl_stub.
207
e49e529d
JM
2082007-03-22 Joseph Myers <joseph@codesourcery.com>
209
210 * Makefile.am (bfdver.h): Only set VERSION_PACKAGE in bfdver.texi
211 if nonempty.
212 * configure.in (REPORT_BUGS_TO): Do not use "URL:" prefix.
213 * Makefile.in, configure, doc/Makefile.in: Regenerate.
214
50572669
L
2152003-03-22 H.J. Lu <hongjiu.lu@intel.com>
216
217 PR ld/4210
218 * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the virtual
219 address and virtual size of the last section for the image
220 size.
221
0920dee7
L
2222007-03-22 H.J. Lu <hongjiu.lu@intel.com>
223
224 PR ld/4007
225 * elf.c (assign_file_positions_for_load_sections): Check if
226 all sections are in the segment.
227
749b8d9d
L
2282003-03-20 H.J. Lu <hongjiu.lu@intel.com>
229
230 PR ld/4208
231 * elfxx-mips.c (_bfd_mips_elf_relocate_section): Report missing
232 matching LO16 relocation for HI16 relocation.
233
27e55c4d
PB
2342007-03-20 Paul Brook <paul@codesourcery.com>
235
236 * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
237 * bfd-in2.h: Regenerate.
238 * elf32-arm.c (elf32_arm_link_hash_table): Add pic_veneer.
239 (record_arm_to_thumb_glue): Use globals->pic_veneer.
240 (elf32_arm_create_thumb_stub): Ditto.
241 (bfd_elf32_arm_set_target_relocs): Set globals->pic_veneer.
242
bf21ed78
MS
2432007-03-18 Mark Shinwell <shinwell@codesourcery.com>
244
245 * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add "bfd *"
246 argument and extra last argument.
247 * bfd-in2.h: Regenerate.
248 * elf32-arm.c (elf32_arm_obj_tdata): Add no_enum_size_warning
249 member.
250 (bfd_elf32_arm_set_target_relocs): Add "bfd *" argument and
251 extra last argument. Set no_enum_size_warning appropriately.
252 (elf32_arm_merge_eabi_attributes): Improve enum sizes
253 diagnostic, suppressing it when no_enum_size_warning dictates.
254
5f6999aa
NC
2552007-03-20 Nick Clifton <nickc@redhat.com>
256
257 PR binutils/3535
258 * elf.c (copy_private_bfd_data): Widen the scope of Solaris
259 specific conditions that need the program headers to be
260 rewritten.
261
d13c9dc6
L
2622003-03-19 H.J. Lu <hongjiu.lu@intel.com>
263
264 * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Store Magic,
265 MajorLinkerVersion, MinorLinkerVersion, SizeOfCode,
266 SizeOfInitializedData, SizeOfUninitializedData,
267 AddressOfEntryPoint, BaseOfCode and BaseOfData in internal
268 extra PE a.out header.
269 (IMAGE_NT_OPTIONAL_HDR_MAGIC): Defined as 0x10b if not defined.
270 (IMAGE_NT_OPTIONAL_HDR64_MAGIC): Defined as 0x20b if not
271 defined.
272 (IMAGE_NT_OPTIONAL_HDRROM_MAGIC): Defined as 0x107 if not
273 defined.
274 (_bfd_XX_print_private_bfd_data_common): Also print Magic,
275 MajorLinkerVersion, MinorLinkerVersion, SizeOfCode,
276 SizeOfInitializedData, SizeOfUninitializedData,
277 AddressOfEntryPoint, BaseOfCode and BaseOfData from internal
278 extra PE a.out header.
279
739bb57e
L
2802003-03-18 H.J. Lu <hongjiu.lu@intel.com>
281
282 * targets.c (_bfd_target_vector): Add bfd_efi_app_x86_64_vec
283 only if BFD64 is defined.
284
5384511f
AM
2852007-03-17 Alan Modra <amodra@bigpond.net.au>
286
287 * elf32-spu.c (spu_elf_size_stubs): Always use an overlay stub
288 on setjmp calls.
289
187b3d5d
L
2902007-03-15 H.J. Lu <hongjiu.lu@intel.com>
291
292 * doc/Makefile.in: Regenerated.
293
c428fa83
L
2942007-03-15 H.J. Lu <hongjiu.lu@intel.com>
295
296 * Makefile.am (bfdver.h): Substitute report_bugs_to. Also
297 create doc/bfdver.texi.
298 * Makefile.in: Regenerated.
299
300 * configure.in (--with-bugurl): New option.
301 * configure: Regenerated.
302
303 * version.h (REPORT_BUGS_TO): New.
304
d1036acb
L
3052007-03-13 H.J. Lu <hongjiu.lu@intel.com>
306
307 PR binutils/3826
308 * elf-bfd.h (elf_backend_data): Add elf_osabi.
309 (_bfd_elf_set_osabi): New.
310
311 * elf.c (_bfd_elf_set_osabi): New.
312
313 * elf32-hppa.c (elf32_hppa_post_process_headers): Removed.
314 (elf_backend_post_process_headers): Defined with
315 _bfd_elf_set_osabi.
316 (ELF_OSABI): Properly defined for each target.
317
318 * elf32-i370.c (i370_elf_post_process_headers): Removed.
319 (ELF_OSABI): Defined.
320 (elf_backend_post_process_headers): Defined with
321 _bfd_elf_set_osabi.
322
323 * elf32-i386.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for
324 freebsd.
325 (elf_i386_post_process_headers): Set EI_OSABI with elf_osabi.
326
327 * elf32-msp430.c (elf32_msp430_post_process_headers): Removed.
328 (ELF_OSABI): Defined.
329 (elf_backend_post_process_headers): Defined with
330 _bfd_elf_set_osabi.
331
332 * elf64-alpha.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for
333 freebsd.
334 (elf64_alpha_fbsd_post_process_headers): Set EI_OSABI with
335 elf_osabi.
336
337 * elf64-hppa.c (elf64_hppa_post_process_headers): Set EI_OSABI
338 with elf_osabi.
339 (ELF_OSABI): Properly defined for each target.
340 (elf_backend_post_process_headers): Defined with
341 _bfd_elf_set_osabi for Linux.
342
343 * elf64-sparc.c (elf64_sparc_fbsd_post_process_headers): Removed.
344 (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd.
345 (elf_backend_post_process_headers): Defined with
346 _bfd_elf_set_osabi.
347
348 * elf64-x86-64.c (elf64_x86_64_fbsd_post_process_headers): Removed.
349 (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd.
350 (elf_backend_post_process_headers): Defined with
351 _bfd_elf_set_osabi.
352
353 * elfcode.h (elf_object_p): Match the ELFOSABI_NONE ELF target
354 with any ELF target of the compatible machine for which we do not
355 have a specific backend.
356
357 * elfxx-ia64.c (elfNN_hpux_post_process_headers): Set EI_OSABI
358 with elf_osabi.
359
360 * elfxx-target.h (ELF_OSABI): Default to ELFOSABI_NONE.
361 (elfNN_bed): Initialize elf_osabi with ELF_OSABI.
362
d4c87fc1
AM
3632007-03-08 Alan Modra <amodra@bigpond.net.au>
364
365 * elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out
366 V850_OTHER_* bits.
367
9c6fc49d
AM
3682007-03-08 Alan Modra <amodra@bigpond.net.au>
369
370 * Makefile.am (BFD64_BACKENDS): Add efi-app-x86_64.lo.
371 (BFD64_BACKENDS_CFILES): Add efi-app-x86_64.c.
372 Run "make dep-am".
373 * Makefile.in: Regenerate.
374 * po/SRC-POTFILES.in: Regenerate.
375
faed74d6
L
3762007-03-07 H.J. Lu <hongjiu.lu@intel.com>
377
378 * config.bfd (x86_64-*-freebsd*): Add bfd_efi_app_x86_64_vec.
379 (x86_64-*-kfreebsd*-gnu): Likewise.
380 (x86_64-*-netbsd*): Likewise.
381 (x86_64-*-openbsd*): Likewise.
382 (x86_64-*-linux-*): Likewise.
383
384 * configure.in: Support bfd_efi_app_x86_64_vec.
385 * configure: Regenerated.
386
387 * efi-app-x86_64.c: New file.
388
389 * targets.c (bfd_efi_app_x86_64_vec): New.
390 (_bfd_target_vector): Add bfd_efi_app_x86_64_vec.
391
15344ad7
L
3922007-03-07 Kai Tietz <kai.tietz@onevision.com>
393
394 * reloc.c (bfd_generic_get_relocated_section_contents): Remove
395 const for type reloc_howto_type.
396
ab96bf03
AM
3972007-03-07 Alan Modra <amodra@bigpond.net.au>
398
399 PR 3958
400 * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link.
401 (elf_discarded_section): Move..
402 * bfd-in.h: ..to here.
403 * bfd-in2.h: Regenerate.
404 * elflink.c (elf_link_input_bfd): Don't zap relocs against symbols
405 from discarded sections before relocate_section has done its job.
406 * reloc.c (bfd_generic_get_relocated_section_contents): Handle
407 relocs against symbols from discarded sections.
408 * elf-hppa.h (elf_hppa_howto_table): Set size. Set dst_mask on
409 SECREL32.
410 (elf_hppa_relocate_section): Handle relocatable link after setting
411 sec, sym, h etc. for final link. Squash error messages for
412 relocatable link. Clear section contents for relocs against
413 symbols in discarded sections, and zero reloc. Remove existing
414 zero r_symndx code.
415 * elf-m10200.c (mn10200_elf_relocate_section): Likewise.
416 * elf-m10300.c (mn10300_elf_relocate_section): Likewise.
417 * elf32-arm.c (elf32_arm_relocate_section): Likewise.
418 * elf32-avr.c (elf32_avr_relocate_section): Likewise.
419 * elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
420 (bfin_relocate_section): Likewise.
421 * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
422 * elf32-cris.c (cris_elf_relocate_section): Likewise.
423 * elf32-crx.c (elf32_crx_relocate_section): Likewise.
424 * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
425 * elf32-fr30.c (fr30_elf_relocate_section): Likewise.
426 * elf32-frv.c (elf32_frv_relocate_section): Likewise.
427 * elf32-h8300.c (elf32_h8_relocate_section): Likewise.
428 * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
429 * elf32-i370.c (i370_elf_relocate_section): Likewise.
430 * elf32-i386.c (elf_i386_relocate_section): Likewise.
431 * elf32-i860.c (elf32_i860_relocate_section): Likewise.
432 * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
433 * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
434 * elf32-m32c.c (m32c_elf_relocate_section): Likewise.
435 * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
436 * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
437 * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
438 * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
439 * elf32-mep.c (mep_elf_relocate_section): Likewise.
440 * elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
441 * elf32-mt.c (mt_elf_relocate_section): Likewise.
442 * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
443 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
444 * elf32-s390.c (elf_s390_relocate_section): Likewise.
445 * elf32-score.c (_bfd_score_elf_relocate_section): Likewise.
446 * elf32-sh.c (sh_elf_relocate_section): Likewise.
447 * elf32-spu.c (spu_elf_relocate_section): Likewise.
448 * elf32-v850.c (v850_elf_relocate_section): Likewise.
449 * elf32-vax.c (elf_vax_relocate_section): Likewise.
450 * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise.
451 * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
452 * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
453 * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise.
454 (elf64_alpha_relocate_section): Likewise.
455 * elf64-mmix.c (mmix_elf_relocate_section): Likewise.
456 * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
457 * elf64-s390.c (elf_s390_relocate_section): Likewise.
458 * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
459 * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
460 * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
461 * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
462 * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
463
464 * elf32-arm.c (elf32_arm_relocate_section): Always adjust section
465 symbols for relocatable link. Don't use always-zero st_value.
466 (elf_backend_rela_normal): Don't define.
467 * elf32-bfin.c (bfinfdpic_relocate_section): Use
468 RELOC_FOR_GLOBAL_SYMBOL.
469 * elf32-frv.c (elf32_frv_relocate_section): Likewise.
470 * elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE
471 section symbol adjustments with same for relocatable link.
472 * elf32-i386.c (elf_i386_relocate_section): Likewise.
473 * elf32-m68hc1x.c (m68hc11_get_relocation_value): Move..
474 (elf32_m68hc11_check_relocs): ..to here.
475 * elf32-score.c (score_elf_final_link_relocate): Remove zero
476 r_symndx code.
477 * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
478
0e922b77
AM
4792007-03-07 Alan Modra <amodra@bigpond.net.au>
480
481 PR 4144
482 * elf.c (assign_file_positions_for_load_sections): Don't
483 adjust p_memsz for !SEC_LOAD section vma modulo page size.
484 Instead, use the same lma based adjustment for SEC_LOAD
485 sections.
486
25c6282a
BW
4872007-03-01 Bob Wilson <bob.wilson@acm.org>
488
489 * elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing.
490 (find_relaxable_sections): Do not increment src_count for unknown
491 opcodes. Decode only once instead of calling is_l32r_relocation.
492 (compute_text_actions): Remove unused no_insn_move flag. Assert that
493 src_next matches src_count in relax_info.
494
066c2a57
JM
4952007-03-01 Joseph Myers <joseph@codesourcery.com>
496
497 * Makefile.am (bfdver.h): Use "." not " " between version number
498 and date.
499 * Makefile.in: Regenerate.
500 * configure.in (PKGVERSION): Default to "(GNU Binutils) ".
501 * configure: Regenerate.
502
ed6ba298
NS
5032007-02-28 Nathan Sidwell <nathan@codesourcery.com>
504
505 * config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza.
506
7a8757b3
AM
5072007-02-27 Alan Modra <amodra@bigpond.net.au>
508
509 * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
510 * elf32-spu.c (ovl_mgr_pread): Add const to casts.
511
024b2372
CD
5122007-02-23 Carlos O'Donell <carlos@codesourcery.com>
513
514 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit
515 DWARF even with 64-bit addresses.
516 (_bfd_dwarf2_find_nearest_line): Likewise.
517
cb3ff1e5
NC
5182007-02-23 Nick Clifton <nickc@redhat.com>
519
520 PR binutils/3535
521 * elf.c (copy_private_bfd_data): Always rewrite the program
522 headers when a Solaris interpreter segment is involved.
523
6a5bb875
PB
5242007-02-22 Paul Brook <paul@codesourcery.com>
525
526 * elflink.c (gc_mark_hook_fn): Remove.
527 (_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn.
528 (bfd_elf_gc_sections): Ditto. Call gc_mark_extra_sections.
529 * elf-bfd.h (elf_gc_mark_hook_fn): Define.
530 (elf_backend_data): Add gc_mark_extra_sections.
531 * elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default
532 definition.
533 (elfNN_bed): Add elf_backend_gc_mark_extra_sections.
534 * elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function.
535 (elf_backend_gc_mark_extra_sections): Define.
536
2889e75b
NC
5372007-02-21 Nick Clifton <nickc@redhat.com>
538
539 * elf.c (_bfd_elf_map_sections_to_segments): If the
540 override_segment_assignment callback is defined then call it.
541
78859468
AM
5422007-02-21 Alan Modra <amodra@bigpond.net.au>
543
544 * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args.
545
ae0d2616
TS
5462007-02-19 Thiemo Seufer <ths@mips.com>
547
548 * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove
549 translation marker from untranslatable strings.
550
6bfdb61b
AM
5512007-02-19 Alan Modra <amodra@bigpond.net.au>
552
553 * elf-bfd.h (struct elf_backend_data): Add default_execstack.
554 * elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack.
555 * elfxx-target.h (elf_backend_default_execstack): Define to 1.
556 (elfNN_bed): Init new field.
557 * elf64-ppc.c (elf_backend_default_execstack): Define to 0.
558
92f01d61
JM
5592007-02-17 Mark Mitchell <mark@codesourcery.com>
560 Nathan Sidwell <nathan@codesourcery.com>
561 Vladimir Prus <vladimir@codesourcery.com
562 Joseph Myers <joseph@codesourcery.com>
563
564 * configure.in (--with-pkgversion): New option.
565 * configure: Regenerate.
566 * Makefile.am (bfdver.h): Substitute for @bfd_version_package@.
567 * Makefile.in: Regenerate.
568 * version.h (BFD_VERSION_STRING): Define using
569 @bfd_version_package@.
570
c0e3f241
CD
5712007-02-16 Carlos O'Donell <carlos@codesourcery.com>
572
573 * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data):
574 Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT
575 and EF_MIPS_UCODE.
576
72f6ea61
AM
5772007-02-15 Alan Modra <amodra@bigpond.net.au>
578
579 * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define,
580 declare.
581 (_bfd_norelocs_canonicalize_reloc): Likewise.
582 * libbfd.h: Regenerate.
583 * libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function.
584 (_bfd_norelocs_canonicalize_reloc): Likewise.
585 * binary.c (binary_bfd_reloc_type_lookup): Don't define.
586 (binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise.
587 (binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS.
588 * ihex.c: Similarly.
589 * mach-o-target.c: Similarly.
590 * mach-o.c: Similarly.
591 * mmo.c: Similarly.
592 * pef.c: Similarly.
593 * ppcboot.c: Similarly.
594 * srec.c: Similarly.
595 * xsym.c: Similarly.
596
fab4a87f
L
5972007-02-14 H.J. Lu <hongjiu.lu@intel.com>
598
599 PR ld/3953
600 * elflink.c (_bfd_elf_add_default_symbol): Check warning symbol
601 when adding default symbol.
602
e4e0193e
AM
6032007-02-13 Alan Modra <amodra@bigpond.net.au>
604
605 * elf64-ppc.c (create_linkage_sections): Use section ".branch_lt"
606 for branch lookup table.
607
84f5d08e
AM
6082007-02-12 Alan Modra <amodra@bigpond.net.au>
609
610 * elf64-ppc.c (create_linkage_sections): Don't create
611 .rela.rodata.brlt for --emit-relocs.
612 (ppc_build_one_stub): Create relocs for brlt --emit-relocs here.
613 (ppc_size_one_stub): Count them. Simplify test of stub type
614 when counting stub relocs. Set SEC_RELOC too.
615 (ppc64_elf_size_stubs): Clear reloc_count and SEC_RELOC.
616 (ppc64_elf_finish_dynamic_sections): Output brlt relocs.
617
4aac632e
AM
6182007-02-12 Alan Modra <amodra@bigpond.net.au>
619
620 * elflink.c (evaluate_complex_relocation_symbols): Ignore relocs
621 with a zero symbol index.
622
8da3dbc5
AM
6232007-02-12 Alan Modra <amodra@bigpond.net.au>
624
625 * elflink.c (bfd_elf_discard_info): Tidy setting of "eh".
626
b31847af
DB
6272007-02-05 Dave Brolley <brolley@redhat.com>
628 Stan Cox <scox@redhat.com>
629
630 PR ld/3972
631 * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms.
632
722b0ff7 6332007-02-05 Dave Brolley <brolley@redhat.com>
e382d174
DB
634 Richard Sandiford <rsandifo@redhat.com>
635 Stan Cox <scox@redhat.com>
636 Nick Clifton <nickc@redhat.com>
637 DJ Delorie <dj@redhat.com>
638 Frank Ch. Eigler <fche@redhat.com>
639 Ben Elliston <bje@redhat.com>
640 Richard Henderson <rth@redhat.com>
641
642 * Makefile.am (ALL_MACHINES): Add cpu-mep.lo.
643 (ALL_MACHINES_CFILES): Add CPU_MEP.c.
644 (BFD32_BACKENDS): Add elf32-mep.lo.
645 (BFD32_BACKENDS_CFILES): Add elf32-mep.c.
646 (cpu-mep.lo,elf32-mep.lo): New targets.
647 * archures.c (bfd_arch_mep): New enumerator.
648 (bfd_mach_mep, bfd_mach_mep_h1): New macros.
649 (bfd_mep_arch): New external variable.
650 (bfd_archures_list): Add bfd_mep_arch.
651 * config.bfd: Support mep-*-elf.
652 * configure.in: Support bfd_elf32_mep_vec and bfd_elf32_mep_little_vec.
653 * reloc.c (BFD_RELOC_MEP_*): New relocation numbers.
654 * targets.c (bfd_elf32_mep_vec,bfd_elf32_mep_little_vec): New extern
655 declarations.
656 (_bfd_target_vector): Add bfd_elf32_mep_vec and
657 bfd_elf32_mep_little_vec.
722b0ff7
DB
658 * mep-relocs.pl: New file.
659 * cpu-mep.c: New file.
660 * elf32-mep.c: New file.
661 * bfd-in2.h: Regenerate.
e382d174 662 * po/POTFILES.in: Regenerate.
722b0ff7
DB
663 * libbfd.h: Regenerate.
664 * Makefile.in: Regenerate.
665 * configure: Regenerate.
666
d9352518
DB
6672007-02-05 Dave Brolley <brolley@redhat.com>
668
669 * elflink.c (evaluate_complex_relocation_symbols): Check for
670 STT_SRELC for global symbols.
671 (perform_complex_relocations): Renamed to
672 perform_complex_relocation and now examines only one relocation.
673 (elf_link_input_bfd): Don't call perform_complex_relocations.
74e880a7 674 * elf-bfd.h (bfd_elf_perform_complex_relocation_: New prototype.
d9352518
DB
675 * elf32-mep.c (mep_elf_howto_table): Add R_RELC.
676 (OD,OS,OU): #undefs corrected to N, S and U repectively.
677 (mep_reloc_type_lookup): Handle BFD_RELOC_RELC.
678 (complex_reloc_installation_howto): Removed.
679 (mep_info_to_howto_rela): Remove special case for r_type==0xff.
680 (mep_elf_relocate_section): Call bfd_elf_perform_complex_relocation.
681
d9352518 6822007-02-05 Dave Brolley <brolley@redhat.com>
e382d174
DB
683 Richard Sandiford <rsandifo@redhat.com>
684 DJ Delorie <dj@redhat.com>
685 Graydon Hoare <graydon@redhat.com>
686 Nick Clifton <nickc@cambridge.redhat.com>
687 Jeff Holcomb <jeffh@redhat.com>
688 Frank Ch. Eigler <fche@redhat.com>
689
690 * elf-bfd.h (bfd_elf_perform_complex_relocations): New prototype.
691 * elf.c (swap_out_syms): Handle BSF_RELC and BSF_SRELC.
692 * elfcode.h (elf_slurp_symbol_table): Handle STT_RELC and STT_SRELC.
693 * elflink.c (set_symbolValue): New static function.
d9352518
DB
694 (resolve_symbol): Likewise.
695 (resolve_section): Likewise.
696 (undefined_reference): Likewise.
697 (eval_symbol): Likewise.
698 (evaluate_complex_relocation_symbols): Likewise.
699 (put_value): Likewise.
700 (get_value): Likewise.
e382d174
DB
701 (decode_complex_addend):
702 (bfd_elf_perform_complex_relocation): New function.
703 (elf_link_input_bfd): Call evaluate_complex_relocation_symbols.
704 * reloc.c (BFD_RELOC_RELC): New relocation number.
705 * syms.c (BSF_RELC,BSF_SRELC): New macros.
d9352518 706
f1ab2340 7072007-02-05 Bob Wilson <bob.wilson@acm.org>
74e880a7 708
f1ab2340
BW
709 * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete.
710 (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete.
711 (elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size)
712 (elf_xtensa_allocate_got_size): Replace these with...
713 (elf_xtensa_allocate_dynrelocs): ...this new function.
714 (elf_xtensa_size_dynamic_sections): Use it.
74e880a7 715
e5f131d1 7162007-02-05 Bob Wilson <bob.wilson@acm.org>
74e880a7 717
e5f131d1
BW
718 * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
719 <R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>:
720 Set src_mask to zero.
721 <R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise. Also fix dst_mask.
722 <R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE.
74e880a7 723
4608f3d9
BW
7242007-02-02 Bob Wilson <bob.wilson@acm.org>
725
726 * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
727 (elf_xtensa_dynamic_symbol_p): ...this.
728
f0e6fdb2
BW
7292007-02-02 Bob Wilson <bob.wilson@acm.org>
730
731 * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
732 (struct elf_xtensa_link_hash_table): New.
733 (elf_xtensa_hash_table): New.
734 (elf_xtensa_link_hash_table_create): New.
735 (elf_xtensa_check_relocs): Update plt_reloc_count references.
736 Update arguments to add_extra_plt_sections.
737 (elf_xtensa_create_dynamic_sections): Record new sections in the hash
738 table. Update for plt_reloc_count and add_extra_plt_sections.
739 (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj
740 argument with link info. Update calls to elf_xtensa_get_plt_section
741 and elf_xtensa_get_gotplt_section.
742 (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections)
743 (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections)
744 (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections)
745 (relax_property_section): Get sections from the hash table and update
746 function calls.
747 (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace
748 dynobj argument with link info. Get sections for first plt chunk from
749 the hash table.
750 (bfd_elf32_bfd_link_hash_table_create): Define.
751
c15f73f9
JJ
7522007-02-02 Jakub Jelinek <jakub@redhat.com>
753
754 * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
755 * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
756 (struct elf_symbol): Change first member into union.
757 (elf_sort_elf_symbol): Compare pointers to internal syms rather than
758 internal syms. Only compare st_shndx fields.
759 (elf_create_symbuf): New function.
760 (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available
761 for bfds, use a binary search, otherwise don't qsort symbols
762 unnecessarily only to select which symbols are for the particular
763 shndx.
764
effdf42a
NC
7652007-02-01 Nick Clifton <nickc@redhat.com>
766
767 PR ld/3852
768 * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields
769 in the elf_link_hash_table structure.
770
183e98be
AM
7712007-02-01 Alan Modra <amodra@bigpond.net.au>
772
773 * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
774 * elfxx-target.h (elf_backend_write_core_note): Define and use.
775 * elf.c (elfcore_write_prpsinfo): Call the above. Add support for
776 32-bit core note on 64-bit target.
777 (elfcore_write_prstatus): Likewise.
778 (elfcore_write_lwpstatus): Make note_name const.
779 (elfcore_write_prfpreg): Likewise.
780 (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
781 target.
782 * elf32-ppc.c (ppc_elf_write_core_note): New function.
783 (elf_backend_write_core_note): Define.
784 * elf64-ppc.c (ppc64_elf_write_core_note): New function.
785 (elf_backend_write_core_note): Define.
786
fc523535 7872007-01-31 H.J. Lu <hongjiu.lu@intel.com>
16cecee5
L
788
789 * elf32-cris.c (INCLUDED_TARGET_FILE): Removed.
790 (elf32_bed): Defined for elf32-us-cris.
791
792 * elf64-sh64.c (elf64_bed): Defined for Linux.
793 (INCLUDED_TARGET_FILE): Removed.
794
795 * elfxx-target.h (elfNN_bed): Always define. Don't check
796 INCLUDED_TARGET_FILE.
797
c9b57b7e
DD
7982007-01-31 DJ Delorie <dj@redhat.com>
799
800 * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
801 message for dangerous relocs, special case the common user error.
802
53020534
L
8032007-01-30 H.J. Lu <hongjiu.lu@intel.com>
804
805 * elf.c (copy_elf_program_header): Start from the first section
806 in a segment and stop when all sections in a segment are
807 accounted for.
808
c7b8f16e
JB
8092007-01-29 Julian Brown <julian@codesourcery.com>
810
811 * bfd-in2.h: Regenerate.
812 * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11
813 instruction scanning should be done.
814 (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan)
815 (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes.
816 (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to
817 prototype.
818 * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info
819 argument.
820 * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME)
821 (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros.
822 (elf32_vfp11_erratum_type): New enum.
823 (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to
824 veneers.
825 (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist.
826 (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size,
827 vfp11_fix and num_vfp11_fixes fields.
828 (elf32_arm_link_hash_table_create): Initialise vfp11_fix,
829 vfp11_erratum_glue_size, num_vfp11_fixes fields.
830 (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer.
831 (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
832 glue section.
833 (elf32_arm_section_map_add): Add an code/data mapping symbol entry
834 to a section's map.
835 (record_vfp11_erratum_veneer): Create a single veneer, and its
836 associated symbols.
837 (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue.
838 (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input
839 BFDs.
840 (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround
841 required.
842 (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes.
843 (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn.
844 (bfd_arm_vfp11_write_mask): Update write mask according to coded
845 register number.
846 (bfd_arm_vfp11_antidependency): New function.
847 (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn.
848 (elf32_arm_compare_mapping): Declare.
849 (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input
850 BFD for potential erratum-triggering insns. Record results.
851 (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers
852 and branches to veneers have been placed in virtual memory after
853 layout.
854 (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global
855 hash table.
856 (elf32_arm_output_symbol_hook): Remove.
857 (elf32_arm_write_section): Output veneers, and branches to veneers.
858 Use maps from input sections, not output sections, for code
859 byte-swapping.
860 * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument.
861 * elf32-score.c (_bfd_score_elf_write_section): Likewise.
862 * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise.
863 * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise.
864
8652007-01-27 H.J. Lu <hongjiu.lu@intel.com>
83d1651b
L
866
867 * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux.
b8210914 868 (INCLUDED_TARGET_FILE): Removed.
83d1651b 869
914dfb0f
DA
8702007-01-27 Mike Frysinger <vapier@gentoo.org>
871
872 * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
873 (INCLUDED_TARGET_FILE): Remove.
874
78eba9b6
DD
8752007-01-25 DJ Delorie <dj@redhat.com>
876
877 * elf32-m32c.c (m32c_elf_howto_table): Don't complain about
878 R_M32C_16 or R_M32C_24 relocs.
879
64ee10b6
NC
8802007-01-25 Nick Clifton <nickc@redhat.com>
881
882 PR binutils/3874
883 * elf32-avr.c (avr_link_hash_table): Check to make sure that the
884 hash table was created by elf32_avr_link_hash_table_create before
885 using it.
886 (elf32_avr_link_hash_newfunc): New function. Just pass the call
887 through to _bfd_elf_link_hash_newfunc.
888 (elf32_avr_link_hash_table_create): Use
889 elf32_avr_link_hash_newfunc instead of
890 _bfd_elf_link_hash_newfunc.
891 (elf32_avr_relocate_section): Check for the hash table pointer
892 being NULL.
893 (elf32_avr_relax_section, avr_build_one_stub,
894 elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs,
895 elf32_avr_build_stubs): Likewise.
896
40b36307
L
8972007-01-16 H.J. Lu <hongjiu.lu@intel.com>
898
899 PR ld/3831
900 * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
901 argument, Elf_Internal_Sym *.
902
903 * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
904 symbol dynamic if info->dynamic_data is TRUE.
905 (bfd_elf_record_link_assignment): Updated call to
906 bfd_elf_record_link_assignment.
907 (_bfd_elf_merge_symbol): Likewise. Always call
908 bfd_elf_link_mark_dynamic_symbol.
909
fc523535 9102007-01-12 H.J. Lu <hongjiu.lu@intel.com>
a454209d
L
911
912 * Makefile.am (BFD_LIBS): Removed.
913 * Makefile.in: Regenerated.
914
fc523535 9152007-01-11 H.J. Lu <hongjiu.lu@intel.com>
21e40a48
L
916
917 PR binutils/3631
918 * Makefile.am (OFILES): Add @bfd64_libs@.
919 (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES).
920 * Makefile.in: Regenerated.
921
922 * configure.in (bfd_libs): Replaced by ...
923 (bfd64_libs): This.
924 * configure: Regenerated.
925
59e0647f
NS
9262007-01-11 Nathan Sidwell <nathan@codesourcery.com>
927
928 * elf.c (assign_file_positions_for_load_sections): We can
929 require fewer phdrs than expected.
930
3bdcfdf4
KH
9312007-01-08 Kazu Hirata <kazu@codesourcery.com>
932
933 * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
934 * bfd-in2.h: Regenerate.
935 * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
936 bfd_mach_cpu32_fido.
937 (m68k_arch_features): Use fido_a instead of cpu32.
938 (bfd_m68k_compatible): Reject the combination of Fido and
939 ColdFire. Accept the combination of CPU32 and Fido with a
940 warning.
941 * elf32-m68k.c (elf32_m68k_object_p,
942 elf32_m68k_merge_private_bfd_data,
943 elf32_m68k_print_private_bfd_data): Treat Fido as an
944 architecture by itself.
945
42037fe5
NC
9462007-01-08 Kai Tietz <kai.tietz@onevision.com>
947
948 * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.
949
ebe8b991
JJ
9502007-01-05 Jakub Jelinek <jakub@redhat.com>
951
952 * texhex.c (first_phase): Don't fall through into the default
953 case.
954 (pass_over): Replace abort () calls with return FALSE. Fix
955 buffer overflow.
956
b327f31f
AM
9572007-01-04 Jie Zhang <jie.zhang@analog.com>
958
959 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
960 SEC_EXCLUDE on zero size .eh_frame.
961
10a2343e 962For older changes see ChangeLog-2006
56882138
AM
963\f
964Local Variables:
965mode: change-log
966left-margin: 8
967fill-column: 74
968version-control: never
969End: