PR 3958
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
ab96bf03
AM
12007-03-07 Alan Modra <amodra@bigpond.net.au>
2
3 PR 3958
4 * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link.
5 (elf_discarded_section): Move..
6 * bfd-in.h: ..to here.
7 * bfd-in2.h: Regenerate.
8 * elflink.c (elf_link_input_bfd): Don't zap relocs against symbols
9 from discarded sections before relocate_section has done its job.
10 * reloc.c (bfd_generic_get_relocated_section_contents): Handle
11 relocs against symbols from discarded sections.
12 * elf-hppa.h (elf_hppa_howto_table): Set size. Set dst_mask on
13 SECREL32.
14 (elf_hppa_relocate_section): Handle relocatable link after setting
15 sec, sym, h etc. for final link. Squash error messages for
16 relocatable link. Clear section contents for relocs against
17 symbols in discarded sections, and zero reloc. Remove existing
18 zero r_symndx code.
19 * elf-m10200.c (mn10200_elf_relocate_section): Likewise.
20 * elf-m10300.c (mn10300_elf_relocate_section): Likewise.
21 * elf32-arm.c (elf32_arm_relocate_section): Likewise.
22 * elf32-avr.c (elf32_avr_relocate_section): Likewise.
23 * elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
24 (bfin_relocate_section): Likewise.
25 * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
26 * elf32-cris.c (cris_elf_relocate_section): Likewise.
27 * elf32-crx.c (elf32_crx_relocate_section): Likewise.
28 * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
29 * elf32-fr30.c (fr30_elf_relocate_section): Likewise.
30 * elf32-frv.c (elf32_frv_relocate_section): Likewise.
31 * elf32-h8300.c (elf32_h8_relocate_section): Likewise.
32 * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
33 * elf32-i370.c (i370_elf_relocate_section): Likewise.
34 * elf32-i386.c (elf_i386_relocate_section): Likewise.
35 * elf32-i860.c (elf32_i860_relocate_section): Likewise.
36 * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
37 * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
38 * elf32-m32c.c (m32c_elf_relocate_section): Likewise.
39 * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
40 * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
41 * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
42 * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
43 * elf32-mep.c (mep_elf_relocate_section): Likewise.
44 * elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
45 * elf32-mt.c (mt_elf_relocate_section): Likewise.
46 * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
47 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
48 * elf32-s390.c (elf_s390_relocate_section): Likewise.
49 * elf32-score.c (_bfd_score_elf_relocate_section): Likewise.
50 * elf32-sh.c (sh_elf_relocate_section): Likewise.
51 * elf32-spu.c (spu_elf_relocate_section): Likewise.
52 * elf32-v850.c (v850_elf_relocate_section): Likewise.
53 * elf32-vax.c (elf_vax_relocate_section): Likewise.
54 * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise.
55 * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
56 * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
57 * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise.
58 (elf64_alpha_relocate_section): Likewise.
59 * elf64-mmix.c (mmix_elf_relocate_section): Likewise.
60 * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
61 * elf64-s390.c (elf_s390_relocate_section): Likewise.
62 * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
63 * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
64 * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
65 * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
66 * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
67
68 * elf32-arm.c (elf32_arm_relocate_section): Always adjust section
69 symbols for relocatable link. Don't use always-zero st_value.
70 (elf_backend_rela_normal): Don't define.
71 * elf32-bfin.c (bfinfdpic_relocate_section): Use
72 RELOC_FOR_GLOBAL_SYMBOL.
73 * elf32-frv.c (elf32_frv_relocate_section): Likewise.
74 * elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE
75 section symbol adjustments with same for relocatable link.
76 * elf32-i386.c (elf_i386_relocate_section): Likewise.
77 * elf32-m68hc1x.c (m68hc11_get_relocation_value): Move..
78 (elf32_m68hc11_check_relocs): ..to here.
79 * elf32-score.c (score_elf_final_link_relocate): Remove zero
80 r_symndx code.
81 * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
82
0e922b77
AM
832007-03-07 Alan Modra <amodra@bigpond.net.au>
84
85 PR 4144
86 * elf.c (assign_file_positions_for_load_sections): Don't
87 adjust p_memsz for !SEC_LOAD section vma modulo page size.
88 Instead, use the same lma based adjustment for SEC_LOAD
89 sections.
90
25c6282a
BW
912007-03-01 Bob Wilson <bob.wilson@acm.org>
92
93 * elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing.
94 (find_relaxable_sections): Do not increment src_count for unknown
95 opcodes. Decode only once instead of calling is_l32r_relocation.
96 (compute_text_actions): Remove unused no_insn_move flag. Assert that
97 src_next matches src_count in relax_info.
98
066c2a57
JM
992007-03-01 Joseph Myers <joseph@codesourcery.com>
100
101 * Makefile.am (bfdver.h): Use "." not " " between version number
102 and date.
103 * Makefile.in: Regenerate.
104 * configure.in (PKGVERSION): Default to "(GNU Binutils) ".
105 * configure: Regenerate.
106
ed6ba298
NS
1072007-02-28 Nathan Sidwell <nathan@codesourcery.com>
108
109 * config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza.
110
7a8757b3
AM
1112007-02-27 Alan Modra <amodra@bigpond.net.au>
112
113 * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
114 * elf32-spu.c (ovl_mgr_pread): Add const to casts.
115
024b2372
CD
1162007-02-23 Carlos O'Donell <carlos@codesourcery.com>
117
118 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit
119 DWARF even with 64-bit addresses.
120 (_bfd_dwarf2_find_nearest_line): Likewise.
121
cb3ff1e5
NC
1222007-02-23 Nick Clifton <nickc@redhat.com>
123
124 PR binutils/3535
125 * elf.c (copy_private_bfd_data): Always rewrite the program
126 headers when a Solaris interpreter segment is involved.
127
6a5bb875
PB
1282007-02-22 Paul Brook <paul@codesourcery.com>
129
130 * elflink.c (gc_mark_hook_fn): Remove.
131 (_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn.
132 (bfd_elf_gc_sections): Ditto. Call gc_mark_extra_sections.
133 * elf-bfd.h (elf_gc_mark_hook_fn): Define.
134 (elf_backend_data): Add gc_mark_extra_sections.
135 * elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default
136 definition.
137 (elfNN_bed): Add elf_backend_gc_mark_extra_sections.
138 * elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function.
139 (elf_backend_gc_mark_extra_sections): Define.
140
2889e75b
NC
1412007-02-21 Nick Clifton <nickc@redhat.com>
142
143 * elf.c (_bfd_elf_map_sections_to_segments): If the
144 override_segment_assignment callback is defined then call it.
145
78859468
AM
1462007-02-21 Alan Modra <amodra@bigpond.net.au>
147
148 * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args.
149
ae0d2616
TS
1502007-02-19 Thiemo Seufer <ths@mips.com>
151
152 * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove
153 translation marker from untranslatable strings.
154
6bfdb61b
AM
1552007-02-19 Alan Modra <amodra@bigpond.net.au>
156
157 * elf-bfd.h (struct elf_backend_data): Add default_execstack.
158 * elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack.
159 * elfxx-target.h (elf_backend_default_execstack): Define to 1.
160 (elfNN_bed): Init new field.
161 * elf64-ppc.c (elf_backend_default_execstack): Define to 0.
162
92f01d61
JM
1632007-02-17 Mark Mitchell <mark@codesourcery.com>
164 Nathan Sidwell <nathan@codesourcery.com>
165 Vladimir Prus <vladimir@codesourcery.com
166 Joseph Myers <joseph@codesourcery.com>
167
168 * configure.in (--with-pkgversion): New option.
169 * configure: Regenerate.
170 * Makefile.am (bfdver.h): Substitute for @bfd_version_package@.
171 * Makefile.in: Regenerate.
172 * version.h (BFD_VERSION_STRING): Define using
173 @bfd_version_package@.
174
c0e3f241
CD
1752007-02-16 Carlos O'Donell <carlos@codesourcery.com>
176
177 * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data):
178 Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT
179 and EF_MIPS_UCODE.
180
72f6ea61
AM
1812007-02-15 Alan Modra <amodra@bigpond.net.au>
182
183 * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define,
184 declare.
185 (_bfd_norelocs_canonicalize_reloc): Likewise.
186 * libbfd.h: Regenerate.
187 * libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function.
188 (_bfd_norelocs_canonicalize_reloc): Likewise.
189 * binary.c (binary_bfd_reloc_type_lookup): Don't define.
190 (binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise.
191 (binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS.
192 * ihex.c: Similarly.
193 * mach-o-target.c: Similarly.
194 * mach-o.c: Similarly.
195 * mmo.c: Similarly.
196 * pef.c: Similarly.
197 * ppcboot.c: Similarly.
198 * srec.c: Similarly.
199 * xsym.c: Similarly.
200
fab4a87f
L
2012007-02-14 H.J. Lu <hongjiu.lu@intel.com>
202
203 PR ld/3953
204 * elflink.c (_bfd_elf_add_default_symbol): Check warning symbol
205 when adding default symbol.
206
e4e0193e
AM
2072007-02-13 Alan Modra <amodra@bigpond.net.au>
208
209 * elf64-ppc.c (create_linkage_sections): Use section ".branch_lt"
210 for branch lookup table.
211
84f5d08e
AM
2122007-02-12 Alan Modra <amodra@bigpond.net.au>
213
214 * elf64-ppc.c (create_linkage_sections): Don't create
215 .rela.rodata.brlt for --emit-relocs.
216 (ppc_build_one_stub): Create relocs for brlt --emit-relocs here.
217 (ppc_size_one_stub): Count them. Simplify test of stub type
218 when counting stub relocs. Set SEC_RELOC too.
219 (ppc64_elf_size_stubs): Clear reloc_count and SEC_RELOC.
220 (ppc64_elf_finish_dynamic_sections): Output brlt relocs.
221
4aac632e
AM
2222007-02-12 Alan Modra <amodra@bigpond.net.au>
223
224 * elflink.c (evaluate_complex_relocation_symbols): Ignore relocs
225 with a zero symbol index.
226
8da3dbc5
AM
2272007-02-12 Alan Modra <amodra@bigpond.net.au>
228
229 * elflink.c (bfd_elf_discard_info): Tidy setting of "eh".
230
b31847af
DB
2312007-02-05 Dave Brolley <brolley@redhat.com>
232 Stan Cox <scox@redhat.com>
233
234 PR ld/3972
235 * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms.
236
722b0ff7 2372007-02-05 Dave Brolley <brolley@redhat.com>
e382d174
DB
238 Richard Sandiford <rsandifo@redhat.com>
239 Stan Cox <scox@redhat.com>
240 Nick Clifton <nickc@redhat.com>
241 DJ Delorie <dj@redhat.com>
242 Frank Ch. Eigler <fche@redhat.com>
243 Ben Elliston <bje@redhat.com>
244 Richard Henderson <rth@redhat.com>
245
246 * Makefile.am (ALL_MACHINES): Add cpu-mep.lo.
247 (ALL_MACHINES_CFILES): Add CPU_MEP.c.
248 (BFD32_BACKENDS): Add elf32-mep.lo.
249 (BFD32_BACKENDS_CFILES): Add elf32-mep.c.
250 (cpu-mep.lo,elf32-mep.lo): New targets.
251 * archures.c (bfd_arch_mep): New enumerator.
252 (bfd_mach_mep, bfd_mach_mep_h1): New macros.
253 (bfd_mep_arch): New external variable.
254 (bfd_archures_list): Add bfd_mep_arch.
255 * config.bfd: Support mep-*-elf.
256 * configure.in: Support bfd_elf32_mep_vec and bfd_elf32_mep_little_vec.
257 * reloc.c (BFD_RELOC_MEP_*): New relocation numbers.
258 * targets.c (bfd_elf32_mep_vec,bfd_elf32_mep_little_vec): New extern
259 declarations.
260 (_bfd_target_vector): Add bfd_elf32_mep_vec and
261 bfd_elf32_mep_little_vec.
722b0ff7
DB
262 * mep-relocs.pl: New file.
263 * cpu-mep.c: New file.
264 * elf32-mep.c: New file.
265 * bfd-in2.h: Regenerate.
e382d174 266 * po/POTFILES.in: Regenerate.
722b0ff7
DB
267 * libbfd.h: Regenerate.
268 * Makefile.in: Regenerate.
269 * configure: Regenerate.
270
d9352518
DB
2712007-02-05 Dave Brolley <brolley@redhat.com>
272
273 * elflink.c (evaluate_complex_relocation_symbols): Check for
274 STT_SRELC for global symbols.
275 (perform_complex_relocations): Renamed to
276 perform_complex_relocation and now examines only one relocation.
277 (elf_link_input_bfd): Don't call perform_complex_relocations.
74e880a7 278 * elf-bfd.h (bfd_elf_perform_complex_relocation_: New prototype.
d9352518
DB
279 * elf32-mep.c (mep_elf_howto_table): Add R_RELC.
280 (OD,OS,OU): #undefs corrected to N, S and U repectively.
281 (mep_reloc_type_lookup): Handle BFD_RELOC_RELC.
282 (complex_reloc_installation_howto): Removed.
283 (mep_info_to_howto_rela): Remove special case for r_type==0xff.
284 (mep_elf_relocate_section): Call bfd_elf_perform_complex_relocation.
285
d9352518 2862007-02-05 Dave Brolley <brolley@redhat.com>
e382d174
DB
287 Richard Sandiford <rsandifo@redhat.com>
288 DJ Delorie <dj@redhat.com>
289 Graydon Hoare <graydon@redhat.com>
290 Nick Clifton <nickc@cambridge.redhat.com>
291 Jeff Holcomb <jeffh@redhat.com>
292 Frank Ch. Eigler <fche@redhat.com>
293
294 * elf-bfd.h (bfd_elf_perform_complex_relocations): New prototype.
295 * elf.c (swap_out_syms): Handle BSF_RELC and BSF_SRELC.
296 * elfcode.h (elf_slurp_symbol_table): Handle STT_RELC and STT_SRELC.
297 * elflink.c (set_symbolValue): New static function.
d9352518
DB
298 (resolve_symbol): Likewise.
299 (resolve_section): Likewise.
300 (undefined_reference): Likewise.
301 (eval_symbol): Likewise.
302 (evaluate_complex_relocation_symbols): Likewise.
303 (put_value): Likewise.
304 (get_value): Likewise.
e382d174
DB
305 (decode_complex_addend):
306 (bfd_elf_perform_complex_relocation): New function.
307 (elf_link_input_bfd): Call evaluate_complex_relocation_symbols.
308 * reloc.c (BFD_RELOC_RELC): New relocation number.
309 * syms.c (BSF_RELC,BSF_SRELC): New macros.
d9352518 310
f1ab2340 3112007-02-05 Bob Wilson <bob.wilson@acm.org>
74e880a7 312
f1ab2340
BW
313 * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete.
314 (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete.
315 (elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size)
316 (elf_xtensa_allocate_got_size): Replace these with...
317 (elf_xtensa_allocate_dynrelocs): ...this new function.
318 (elf_xtensa_size_dynamic_sections): Use it.
74e880a7 319
e5f131d1 3202007-02-05 Bob Wilson <bob.wilson@acm.org>
74e880a7 321
e5f131d1
BW
322 * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
323 <R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>:
324 Set src_mask to zero.
325 <R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise. Also fix dst_mask.
326 <R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE.
74e880a7 327
4608f3d9
BW
3282007-02-02 Bob Wilson <bob.wilson@acm.org>
329
330 * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
331 (elf_xtensa_dynamic_symbol_p): ...this.
332
f0e6fdb2
BW
3332007-02-02 Bob Wilson <bob.wilson@acm.org>
334
335 * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
336 (struct elf_xtensa_link_hash_table): New.
337 (elf_xtensa_hash_table): New.
338 (elf_xtensa_link_hash_table_create): New.
339 (elf_xtensa_check_relocs): Update plt_reloc_count references.
340 Update arguments to add_extra_plt_sections.
341 (elf_xtensa_create_dynamic_sections): Record new sections in the hash
342 table. Update for plt_reloc_count and add_extra_plt_sections.
343 (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj
344 argument with link info. Update calls to elf_xtensa_get_plt_section
345 and elf_xtensa_get_gotplt_section.
346 (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections)
347 (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections)
348 (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections)
349 (relax_property_section): Get sections from the hash table and update
350 function calls.
351 (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace
352 dynobj argument with link info. Get sections for first plt chunk from
353 the hash table.
354 (bfd_elf32_bfd_link_hash_table_create): Define.
355
c15f73f9
JJ
3562007-02-02 Jakub Jelinek <jakub@redhat.com>
357
358 * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
359 * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
360 (struct elf_symbol): Change first member into union.
361 (elf_sort_elf_symbol): Compare pointers to internal syms rather than
362 internal syms. Only compare st_shndx fields.
363 (elf_create_symbuf): New function.
364 (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available
365 for bfds, use a binary search, otherwise don't qsort symbols
366 unnecessarily only to select which symbols are for the particular
367 shndx.
368
effdf42a
NC
3692007-02-01 Nick Clifton <nickc@redhat.com>
370
371 PR ld/3852
372 * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields
373 in the elf_link_hash_table structure.
374
183e98be
AM
3752007-02-01 Alan Modra <amodra@bigpond.net.au>
376
377 * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
378 * elfxx-target.h (elf_backend_write_core_note): Define and use.
379 * elf.c (elfcore_write_prpsinfo): Call the above. Add support for
380 32-bit core note on 64-bit target.
381 (elfcore_write_prstatus): Likewise.
382 (elfcore_write_lwpstatus): Make note_name const.
383 (elfcore_write_prfpreg): Likewise.
384 (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
385 target.
386 * elf32-ppc.c (ppc_elf_write_core_note): New function.
387 (elf_backend_write_core_note): Define.
388 * elf64-ppc.c (ppc64_elf_write_core_note): New function.
389 (elf_backend_write_core_note): Define.
390
fc523535 3912007-01-31 H.J. Lu <hongjiu.lu@intel.com>
16cecee5
L
392
393 * elf32-cris.c (INCLUDED_TARGET_FILE): Removed.
394 (elf32_bed): Defined for elf32-us-cris.
395
396 * elf64-sh64.c (elf64_bed): Defined for Linux.
397 (INCLUDED_TARGET_FILE): Removed.
398
399 * elfxx-target.h (elfNN_bed): Always define. Don't check
400 INCLUDED_TARGET_FILE.
401
c9b57b7e
DD
4022007-01-31 DJ Delorie <dj@redhat.com>
403
404 * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
405 message for dangerous relocs, special case the common user error.
406
53020534
L
4072007-01-30 H.J. Lu <hongjiu.lu@intel.com>
408
409 * elf.c (copy_elf_program_header): Start from the first section
410 in a segment and stop when all sections in a segment are
411 accounted for.
412
c7b8f16e
JB
4132007-01-29 Julian Brown <julian@codesourcery.com>
414
415 * bfd-in2.h: Regenerate.
416 * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11
417 instruction scanning should be done.
418 (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan)
419 (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes.
420 (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to
421 prototype.
422 * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info
423 argument.
424 * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME)
425 (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros.
426 (elf32_vfp11_erratum_type): New enum.
427 (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to
428 veneers.
429 (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist.
430 (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size,
431 vfp11_fix and num_vfp11_fixes fields.
432 (elf32_arm_link_hash_table_create): Initialise vfp11_fix,
433 vfp11_erratum_glue_size, num_vfp11_fixes fields.
434 (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer.
435 (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
436 glue section.
437 (elf32_arm_section_map_add): Add an code/data mapping symbol entry
438 to a section's map.
439 (record_vfp11_erratum_veneer): Create a single veneer, and its
440 associated symbols.
441 (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue.
442 (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input
443 BFDs.
444 (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround
445 required.
446 (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes.
447 (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn.
448 (bfd_arm_vfp11_write_mask): Update write mask according to coded
449 register number.
450 (bfd_arm_vfp11_antidependency): New function.
451 (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn.
452 (elf32_arm_compare_mapping): Declare.
453 (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input
454 BFD for potential erratum-triggering insns. Record results.
455 (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers
456 and branches to veneers have been placed in virtual memory after
457 layout.
458 (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global
459 hash table.
460 (elf32_arm_output_symbol_hook): Remove.
461 (elf32_arm_write_section): Output veneers, and branches to veneers.
462 Use maps from input sections, not output sections, for code
463 byte-swapping.
464 * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument.
465 * elf32-score.c (_bfd_score_elf_write_section): Likewise.
466 * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise.
467 * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise.
468
4692007-01-27 H.J. Lu <hongjiu.lu@intel.com>
83d1651b
L
470
471 * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux.
b8210914 472 (INCLUDED_TARGET_FILE): Removed.
83d1651b 473
914dfb0f
DA
4742007-01-27 Mike Frysinger <vapier@gentoo.org>
475
476 * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
477 (INCLUDED_TARGET_FILE): Remove.
478
78eba9b6
DD
4792007-01-25 DJ Delorie <dj@redhat.com>
480
481 * elf32-m32c.c (m32c_elf_howto_table): Don't complain about
482 R_M32C_16 or R_M32C_24 relocs.
483
64ee10b6
NC
4842007-01-25 Nick Clifton <nickc@redhat.com>
485
486 PR binutils/3874
487 * elf32-avr.c (avr_link_hash_table): Check to make sure that the
488 hash table was created by elf32_avr_link_hash_table_create before
489 using it.
490 (elf32_avr_link_hash_newfunc): New function. Just pass the call
491 through to _bfd_elf_link_hash_newfunc.
492 (elf32_avr_link_hash_table_create): Use
493 elf32_avr_link_hash_newfunc instead of
494 _bfd_elf_link_hash_newfunc.
495 (elf32_avr_relocate_section): Check for the hash table pointer
496 being NULL.
497 (elf32_avr_relax_section, avr_build_one_stub,
498 elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs,
499 elf32_avr_build_stubs): Likewise.
500
40b36307
L
5012007-01-16 H.J. Lu <hongjiu.lu@intel.com>
502
503 PR ld/3831
504 * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
505 argument, Elf_Internal_Sym *.
506
507 * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
508 symbol dynamic if info->dynamic_data is TRUE.
509 (bfd_elf_record_link_assignment): Updated call to
510 bfd_elf_record_link_assignment.
511 (_bfd_elf_merge_symbol): Likewise. Always call
512 bfd_elf_link_mark_dynamic_symbol.
513
fc523535 5142007-01-12 H.J. Lu <hongjiu.lu@intel.com>
a454209d
L
515
516 * Makefile.am (BFD_LIBS): Removed.
517 * Makefile.in: Regenerated.
518
fc523535 5192007-01-11 H.J. Lu <hongjiu.lu@intel.com>
21e40a48
L
520
521 PR binutils/3631
522 * Makefile.am (OFILES): Add @bfd64_libs@.
523 (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES).
524 * Makefile.in: Regenerated.
525
526 * configure.in (bfd_libs): Replaced by ...
527 (bfd64_libs): This.
528 * configure: Regenerated.
529
59e0647f
NS
5302007-01-11 Nathan Sidwell <nathan@codesourcery.com>
531
532 * elf.c (assign_file_positions_for_load_sections): We can
533 require fewer phdrs than expected.
534
3bdcfdf4
KH
5352007-01-08 Kazu Hirata <kazu@codesourcery.com>
536
537 * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
538 * bfd-in2.h: Regenerate.
539 * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
540 bfd_mach_cpu32_fido.
541 (m68k_arch_features): Use fido_a instead of cpu32.
542 (bfd_m68k_compatible): Reject the combination of Fido and
543 ColdFire. Accept the combination of CPU32 and Fido with a
544 warning.
545 * elf32-m68k.c (elf32_m68k_object_p,
546 elf32_m68k_merge_private_bfd_data,
547 elf32_m68k_print_private_bfd_data): Treat Fido as an
548 architecture by itself.
549
42037fe5
NC
5502007-01-08 Kai Tietz <kai.tietz@onevision.com>
551
552 * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.
553
ebe8b991
JJ
5542007-01-05 Jakub Jelinek <jakub@redhat.com>
555
556 * texhex.c (first_phase): Don't fall through into the default
557 case.
558 (pass_over): Replace abort () calls with return FALSE. Fix
559 buffer overflow.
560
b327f31f
AM
5612007-01-04 Jie Zhang <jie.zhang@analog.com>
562
563 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
564 SEC_EXCLUDE on zero size .eh_frame.
565
10a2343e 566For older changes see ChangeLog-2006
56882138
AM
567\f
568Local Variables:
569mode: change-log
570left-margin: 8
571fill-column: 74
572version-control: never
573End:
This page took 0.390597 seconds and 4 git commands to generate.