1 2010-04-01 Tristan Gingold <gingold@adacore.com>
3 * vms.h: Include time.h. Add prototypes for vms_get_module_name,
4 vms_time_to_time_t and vms_rawtime_to_time_t.
5 * vms.c (vms_alpha_vec): Add archives support.
6 * vms-misc.c: Include safe-ctype.h
7 (vms_get_module_name): New function.
8 (vms_time_to_time_t, vms_rawtime_to_time_t): Ditto.
9 * vms-hdr.c (_bfd_vms_write_hdr): Put module name creation to the
10 vms_get_module_name function. Use this function.
11 * targets.c: Declare vms_lib_txt_vec. Add it to _bfd_target_vector.
12 * libbfd-in.h: Add prototype for _bfd_append_relative_path.
13 Add prototypes for vms-lib.c
14 * libbfd.h: Regenerate.
15 * configure.in (TDEFINES): Add an entry for vms_lib_txt_vec. Add
16 vms-lib.lo to vms_alpha_vec.
17 * config.bfd (targ_cpu): Add targ_selvecs for alpha*-*-*vms*.
18 * configure: Regenerate.
19 * bfd.c: Add selective_search field.
20 * bfd-in2.h: Regenerate.
21 * archive.c (append_relative_path): Rename to
22 _bfd_append_relative_path and make it public.
23 (_bfd_get_elt_at_filepos): Adjust for above renaming.
24 * Makefile.am (BFD32_BACKENDS): Add vms-lib.lo
25 (BFD32_BACKENDS_CFILES): Add vms-lib.c
26 * Makefile.in: Regenerate.
28 2010-04-01 Jakub Jelinek <jakub@redhat.com>
30 * dwarf2.c (read_attribute_value): Handle CU version 4
31 for DW_FORM_ref_addr, handle DW_FORM_sec_offset, DW_FORM_exprloc
32 and DW_FORM_flag_present. For unknown form value return NULL.
33 (scan_unit_for_symbols): For DW_AT_location handle DW_FORM_exprloc
35 (parse_comp_unit): Allow CU version 4.
37 2010-04-01 Hans-Peter Nilsson <hp@axis.com>
39 * elf32-cris.c (cris_elf_relocate_section): Correct first argument
40 to _bfd_elf_get_dynamic_reloc_section.
41 (elf_cris_discard_excess_dso_dynamics): Ditto.
43 2010-03-31 Kai Tietz <kai.tietz@onevision.com>
45 * coff-i386.c (in_reloc_p): Check also for R_SECREL32.
46 * coff-x86_64.c (in_reloc_p): Check also for R_AMD64_SECREL.
48 2010-03-31 Alan Modra <amodra@gmail.com>
50 * elf64-ppc.c (ppc64_elf_relocate_section): Nop out optimized
51 TPREL16_HI and TPREL16_HA insns.
53 2010-03-31 Hans-Peter Nilsson <hp@axis.com>
56 * elf32-cris.c (elf_cris_copy_indirect_symbol): Remove invalid
57 assert of empty pcrel_relocs_copied on the direct symbol. Instead
58 of moving the list from the indirect symbol to the direct symbol,
59 merge into any existing list.
60 (cris_elf_check_relocs): Store the original section in the
61 pcrel_relocs_copied list, not the relocation section.
62 (elf_cris_discard_excess_dso_dynamics): Adjust accordingly to find
63 the relocation section, for reducing its size. Change the
64 BFD_ASSERT into a check for the section being read-only, and only
65 emit warnings and TEXTREL marker when there's an entry for a
68 2010-03-29 Daniel Jacobowitz <dan@codesourcery.com>
70 * elf32-arm.c (using_thumb_only): Handle v6-M.
72 2010-03-26 Alan Modra <amodra@gmail.com>
74 * elf32-ppc.c (ppc_elf_howto_raw <R_PPC_EMB_RELSDA>): Not pc-relative.
75 * bfd-in.h (elf_discarded_section): Clarify comment.
76 * reloc.c (struct reloc_howto_struct <pc_relative>): Likewise.
77 * bfd-in2.h: Regenerate.
79 2010-03-26 Matt Rice <ratmice@gmail.com>
81 * archive.c (_bfd_compute_and_write_armap): Allow symbols flagged
82 as unique in the armap.
84 2010-03-26 Alan Modra <amodra@gmail.com>
87 * elf64-ppc.c (ppc64_elf_relocate_section): Always look up a
88 possible stub on branches.
90 2010-03-25 Joseph Myers <joseph@codesourcery.com>
92 * Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo.
93 (ALL_MACHINES_CFILES): Add cpu-tic6x.c.
94 (BFD32_BACKENDS): Add elf32-tic6x.lo.
95 (BFD32_BACKENDS_CFILES): Add elf32-tic6x.c.
96 * Makefile.in: Regenerate.
97 * archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New.
98 (bfd_archures_list): Update.
99 * config.bfd (tic6x-*-elf): New.
100 * configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec):
102 * configure: Regenerate.
103 * cpu-tic6x.c, elf32-tic6x.c: New.
104 * reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12,
105 BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7,
106 BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16,
107 BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B,
108 BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W,
109 BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B,
110 BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W,
111 BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H,
112 BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W,
113 BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W,
114 BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31,
115 BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN,
116 BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New.
117 * targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New.
118 (_bfd_target_vector): Update.
119 * bfd-in2.h, libbfd.h: Regenerate.
121 2010-03-24 H.J. Lu <hongjiu.lu@intel.com>
123 * aout-target.h: Update copyright year.
124 * aout-tic30.c: Likewise.
125 * coff-alpha.c: Likewise.
126 * coff-rs6000.c: Likewise.
127 * coff64-rs6000.c: Likewise.
128 * elf64-mips.c: Likewise.
130 * libecoff.h: Likewise.
131 * mach-o-target.c: Likewise.
132 * mach-o.c: Likewise.
134 * targets.c: Likewise.
136 2010-03-24 H.J. Lu <hongjiu.lu@intel.com>
138 * libbfd-in.h: Update copyright year.
140 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
143 * elflink.c (_bfd_elf_add_default_symbol): Check !executable
146 2010-03-19 Jie Zhang <jie@codesourcery.com>
148 * elf32-arm.c (struct section_list): Remove.
149 (section_list): Remove typedef.
150 (record_section_with_arm_elf_section_data): Remove.
151 (find_arm_elf_section_entry): Remove.
152 (get_arm_elf_section_data): Use is_arm_elf.
153 (unrecord_section_with_arm_elf_section_data): Remove.
154 (elf32_arm_new_section_hook): Don't call
155 record_section_with_arm_elf_section_data.
156 (elf32_arm_write_section): Set mapcount to -1 when
157 the map has been used. Don't call
158 unrecord_section_with_arm_elf_section_data.
159 (unrecord_section_via_map_over_sections): Remove.
160 (elf32_arm_close_and_cleanup): Remove.
161 (elf32_arm_bfd_free_cached_info): Remove.
162 (bfd_elf32_close_and_cleanup): Don't define.
163 (bfd_elf32_bfd_free_cached_info): Don't define.
165 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
168 * libcoff-in.h (pe_tdata): Add dont_strip_reloc.
169 * libcoff.h: Regenerated.
171 * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Clear F_RELFLG
172 if dont_strip_reloc is set.
173 (_bfd_XX_bfd_copy_private_bfd_data_common): Set
174 dont_strip_reloc on output if there is no .reloc and
175 IMAGE_FILE_RELOCS_STRIPPED isn't set in input.
177 2010-03-18 Wei Guozhi <carrot@google.com>
180 * elf32-arm.c (elf32_arm_reloc_map): Map BFD_RELOC_ARM_GOT_PREL to
182 * reloc.c (BFD_RELOC_ARM_GOT_PREL): New ARM relocation.
183 * bfd-in2.h: Regenerate.
184 * libbfd.h: Regenerate.
186 2010-03-17 H.J. Lu <hongjiu.lu@intel.com>
188 * reloc.c (BFD_RELOC_SPU_PIC18): Removed.
189 (BFD_RELOC_SPU_STUB): Likewise.
191 2010-03-17 Jie Zhang <jie@codesourcery.com>
193 * elf.c (assign_file_positions_for_load_sections): Avoid
196 2010-03-17 Alan Modra <amodra@gmail.com>
199 * plugin.c (bfd_plugin_object_p): Pass iostream to fileno using
202 2010-03-17 Alan Modra <amodra@gmail.com>
204 * elf32-arm.c (cortex_a8_erratum_scan): Warning fix.
206 2010-03-16 Alan Modra <amodra@gmail.com>
208 * elf64-ppc.c (struct ppc_link_hash_table): Add do_toc_opt.
209 (ppc64_elf_edit_toc): Set it here.
210 (ha_reloc_match): New function.
211 (ppc64_elf_relocate_section): Optimize bigtoc insn sequences.
213 2010-03-15 Alan Modra <amodra@gmail.com>
215 * elf64-ppc.c (ppc64_elf_has_small_toc_reloc): New function.
216 * elf64-ppc.h (ppc64_elf_has_small_toc_reloc): Declare.
218 2010-03-14 Alan Modra <amodra@gmail.com>
221 * elf64-ppc.h (ppc64_elf_check_init_fini): Declare.
222 * elf64-ppc.c (call_check_done): Define.
223 (ppc64_elf_add_symbol_hook): Substitute bfd_get_section_name macro.
224 (ppc64_elf_check_relocs, ppc64_elf_size_dynamic_sections): Likewise.
225 (ppc64_elf_finish_multitoc_partition): Remove unnecessary check.
226 (toc_adjusting_stub_needed): Use call_check_done rather than toc_off.
227 Simplify return logic. Iterate over all .init and .fini fragments
228 by recursion. Set makes_toc_func_call here..
229 (ppc64_elf_next_input_section): ..rather than here.
230 (check_pasted_section, ppc64_elf_check_init_fini): New functions.
232 2010-03-13 Alan Modra <amodra@gmail.com>
235 * elf64-ppc.c (ppc_type_of_stub): Always set *hash to the
236 function descriptor symbol if there is one, not just for plt stubs.
237 (ppc64_elf_relocate_section): Use fdh on all ppc_get_stub_entry calls.
239 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
241 * elflink.c (bfd_elf_size_dynamic_sections): Don't emit base
243 Skip it when constructing def.vd_next.
245 * elf32-i386.c (TARGET_LITTLE_SYM): Redefine to
246 bfd_elf32_i386_sol2_vec.
247 (TARGET_LITTLE_NAME): Redefine to elf32-i386-sol2.
248 (elf32_bed): Redefine to elf32_i386_sol2_bed.
249 (elf_backend_want_plt_sym): Redefine to 1.
251 * elf64-x86-64.c (TARGET_LITTLE_SYM): Redefine to
252 bfd_elf64_x86_64_sol2_vec.
253 (TARGET_LITTLE_NAME): Redefine to elf64-x86-64-sol2.
254 (elf64_bed): Redefine to elf64_x86_64_sol2_bed.
255 (elf_backend_want_plt_sym): Redefine to 1.
257 * config.bfd (i[3-7]86-*-solaris2*): Set targ_defvec to
258 bfd_elf32_i386_sol2_vec.
259 Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in
261 (x86_64-*-solaris2*): Set targ_defvec to bfd_elf32_i386_sol2_vec.
262 Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in
265 * configure.in: Handle bfd_elf32_i386_sol2_vec,
266 bfd_elf64_x86_64_sol2_vec.
267 * configure: Regenerate.
269 * targets.c (bfd_elf32_i386_sol2_vec): Declare.
270 (bfd_elf64_x86_64_sol2_vec): Declare.
271 (_bfd_target_vector): Add bfd_elf32_i386_sol2_vec,
272 bfd_elf64_x86_64_sol2_vec.
274 2010-03-04 Daniel Jacobowitz <dan@codesourcery.com>
276 * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program
279 2010-03-04 Alan Modra <amodra@gmail.com>
282 * dwarf2.c (read_abbrevs): Return NULL on alloc failures.
283 (read_attribute_value, decode_line_info): Likewise.
284 (add_line_info, read_rangelist): Return FALSE on alloc failures.
285 (arange_add, sort_line_sequences): Likewise.
286 (find_abstract_instance_name): Handle failures from called funcs.
287 (scan_unit_for_symbols, parse_comp_unit, decode_line_info): Likewise.
288 (find_line): Realloc to a temp, and handle alloc fail.
290 2010-03-03 Daniel Jacobowitz <dan@codesourcery.com>
292 * elf32-arm.c (elf32_arm_output_arch_local_syms): Do not add
293 a mapping symbol to an empty section.
295 2010-03-02 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
297 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add a check of the
298 return value from the call to _bfd_elf_merge_object_attributes.
300 2010-03-02 Christophe Lyon <christophe.lyon@st.com>
301 Alan Modra <amodra@gmail.com>
303 * elf32-arm.c (a8_erratum_fix): Add st_type field to record the
304 destination mode of the a8 stub.
305 (elf32_arm_link_hash_table): Add top_id field.
306 (elf32_arm_link_hash_table_create): Initialize top_id.
307 (arm_type_of_stub): Update prototype, st_type can now be updated
308 by this function. Actual destination address in case of PLT is
309 computed here, to help factorizing code.
310 (elf32_arm_stub_name): Update prototype, use stub_type additional
311 parameter to build stub name.
312 (elf32_arm_get_stub_entry): Update prototype, use stub_type
313 additional parameter to build stub entry.
314 (arm_build_one_stub): Use bfd_put_16/bfd_put_32 instead of
315 put_thumb_insn/put_arm_insn as BE8 encoding is now handled later.
316 Call elf32_arm_final_link_relocate to process all in-stub
318 (elf32_arm_setup_section_lists): Update top_id.
319 (cortex_a8_erratum_scan): Record stub destination mode.
320 (elf32_arm_size_stubs): Update call to arm_type_of_stub according
322 (elf32_arm_final_link_relocate): Enable processing of in-stub
323 REL32 relocations. Rely on arm_type_of_stub to detect if a stub is
324 needed, enabling code factorization.
325 (elf32_arm_final_link): Process stub sections.
326 (elf32_arm_output_map_sym): Add entry to code/data map.
328 2010-03-01 David S. Miller <davem@davemloft.net>
330 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): When STT_GNU_IFUNC and
331 h->def_regular, set h->ref_regular.
332 (allocate_dynrelocs): Only force output of STT_GNU_IFUNC plt entries
333 and dynamic relocations if h->ref_regular.
335 * elfxx-sparc.c (struct elf_reloc_map): Delete.
336 (sparc_reloc_map): Delete.
337 (_bfd_sparc_elf_reloc_type_lookup): Explicitly handle each
338 relocation type in switch statements.
340 2010-02-25 Alan Modra <amodra@gmail.com>
343 * elf.c (_bfd_elf_init_private_section_data): Rename need_group
344 to final_link and invert. For final link allow some flags to
345 differ. Don't specially allow flags to be all zero.
347 2010-02-24 Alan Modra <amodra@gmail.com>
350 * elfxx-mips.c (mips_elf_create_dynamic_relocation): Ise
351 SYMBOL_REFERENCES_LOCAL to exclude entries from the dynamic symbol
354 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
357 * elf32-avr.c (elf_avr_howto_table): Add R_AVR_8.
358 (avr_reloc_map): Map BFD_RELOC_8 to R_AVR_8.
360 2010-02-22 Alan Modra <amodra@gmail.com>
362 * reloc.c (bfd_check_overflow): When forming addrmask, shift
363 fieldmask left by rightshift.
364 (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all
367 2010-02-20 H.J. Lu <hongjiu.lu@intel.com>
369 * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check
370 STT_GNU_IFUNC on large common symbol.
372 2010-02-18 H.J. Lu <hongjiu.lu@intel.com>
374 * elf32-i386.c (elf_i386_add_symbol_hook): Don't set
375 has_ifunc_symbols if the symbol comes from a shared library.
376 * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
377 * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
378 * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
379 * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
380 * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Likewise.
382 2010-02-19 Alan Modra <amodra@gmail.com>
384 * elf.c (_bfd_elf_fixup_group_sections): New function, split out from..
385 (_bfd_elf_copy_private_header_data): ..here.
386 * elflink.c (_bfd_elf_size_group_sections): New function.
387 (bfd_elf_size_dynamic_sections): Call it.
388 * elf-bfd.h (_bfd_elf_size_group_sections): Declare.
389 (_bfd_elf_fixup_group_sections): Declare.
391 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
393 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for
394 merging Tag_DIV_use, Tag_MPextension_use, and
395 Tag_MPextension_use_legacy tags.
397 2010-02-18 Alan Modra <amodra@gmail.com>
399 * elf.c (bfd_elf_set_group_contents): Revert accidental 2009-01-15
400 commit. Don't write zeros for removed group members.
401 (_bfd_elf_copy_private_header_data): Adjust size of group section
402 when group members are removed by objcopy.
404 2010-02-15 Dave Korn <dave.korn.cygwin@gmail.com>
407 * configure.host (*-*-solaris2.11): Add host define to select
408 valid default code page for windres/windmc on solaris.
410 2010-02-15 Nick Clifton <nickc@redhat.com>
412 * po/vi.po: Updated Vietnamese translation.
414 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
416 * elf32-arm.c (elf32_arm_output_arch_local_syms): add
417 missing mapping symbol to data only sections.
419 2010-02-11 David S. Miller <davem@davemloft.net>
421 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): For R_SPARC_GOTDATA_OP_HIX22
422 and R_SPARC_GOTDATA_OP_LOX10, only bump the GOT refcount for global
424 (_bfd_sparc_elf_gc_sweep_hook): Likewise only decrement the GOT count for
425 these relocs on global symbols.
427 (_bfd_sparc_elf_relocate_section): Perform GOTDATA optimizations on
428 local symbol references which are not STT_GNU_IFUNC. Handle
429 relocation of them like R_SPARC_HIX22 and R_SPARC_LOX10 respectively,
430 and deal with negative vs. non-negative values properly.
432 2010-02-09 Tristan Gingold <gingold@adacore.com>
434 * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Adjust addend for
435 non-external relocation.
437 2010-02-09 Alan Modra <amodra@gmail.com>
439 * elf64-ppc.c (merge_got_entries): Move earlier in file.
440 (allocate_dynrelocs): Merge got entries here if not doing multi-toc.
441 (ppc64_elf_size_dynamic_sections): Similarly merge tlsld_got.
442 (ppc64_elf_layout_multitoc): Don't resize if we have already
445 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
447 * elf-bfd.h (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
448 elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
449 elfcore_write_s390_prefix): New.
450 * elf.c (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
451 elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
452 elfcore_write_s390_prefix): New.
453 (elfcore_grok_note): Handle NT_S390_TIMER, NT_S390_TODCMP,
454 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
455 (elfcore_write_register_note): Handle .reg-s390-timer,
456 .reg-s390-todcmp, .reg-s390-todpreg, .reg-s390-ctrs,
457 .reg-s390-prefix section.
459 2010-02-09 Alan Modra <amodra@gmail.com>
461 * elf64-ppc.c (struct got_entry): Make tls_type and is_indirect
462 unsigned char. Update variables and code using them throughout file.
463 (struct ppc_link_hash_entry): Likewise for tls_mask.
465 * elf64-ppc.c (ppc64_elf_layout_multitoc): Don't merge local got ents.
467 * elf64-ppc.c (has_small_toc_reloc): Don't define.
468 (makes_toc_func_call, call_check_in_progress): Shuffle flags.
469 (struct ppc64_elf_obj_tdata): Add has_small_toc_reloc. Update
470 code setting the flag.
471 (ppc64_elf_next_toc_section): Group big-toc sections in
474 2010-02-08 David S. Miller <davem@davemloft.net>
476 * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove sgot,
477 srelgot, splt, srelplt, and sgotplt members in favor of generic copies.
479 * elfxx-sparc.c (create_got_section): Delete.
480 (_bfd_sparc_elf_create_dynamic_sections): Don't call, the dynamic
481 section creator does that work for us. Use ->elf.foo instead of
482 ->foo where applicable.
483 (_bfd_sparc_elf_check_relocs): Use ->elf.foo instead of ->foo
485 (allocate_dynrelocs): Likewise.
486 (_bfd_sparc_elf_size_dynamic_sections): Likewise.
487 (_bfd_sparc_elf_relocate_section): Likewise.
488 (sparc_vxworks_build_plt_entry): Likewise.
489 (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
490 (sparc_finish_dyn): Likewise.
491 (sparc_vxworks_finish_exec_plt): Likewise.
492 (sparc_vxworks_finish_shared_plt): Likewise.
493 (_bfd_sparc_elf_finish_dynamic_sections): Likewise.
495 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use the SYMBOL_*
496 macros for visibilty and locality checks.
497 (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
498 (allocate_dynrelocs): Likewise.
499 (_bfd_sparc_elf_relocate_section): Likewise.
500 (_bfd_sparc_elf_finish_dynamic_symbol):Likewise.
502 * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Remove set
503 but never used local var 'dynobj'.
505 * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Handle
508 * reloc.c (BFD_RELOC_SPARC_JMP_IREL): New.
509 (BFD_RELOC_SPARC_IRELATIVE): Likewise.
510 * bfd-in2.h: Regenerate.
511 * libbfd.h: Regenerate.
513 * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add loc_hash_table
515 (_bfd_sparc_elf_link_hash_table_free): Declare.
516 * elf32-sparc.c (elf32_sparc_add_symbol_hook): New.
517 (elf_backend_add_symbol_hook, elf_backend_post_process_headers,
518 bfd_elf32_bfd_link_hash_table_free): Define.
519 * elf64-sparc.c (elf64_sparc_add_symbol_hook): Set
520 has_ifunc_symbols if STT_GNU_IFUNC.
521 (bfd_elf64_bfd_link_hash_table_free): Define.
522 (elf_backend_post_process_headers): Define always.
523 * elfxx-sparc.c (sparc_jmp_irel_howto, sparc_irelative_howto): New.
524 (sparc_reloc_map): Add entries for new IFUNC relocs.
525 (_bfd_sparc_elf_reloc_type_lookup): Handle new IFUNC relocs.
526 (_bfd_sparc_elf_info_to_howto_ptr): Likewise.
527 (elf_sparc_local_htab_hash, elf_sparc_local_htab_eq,
528 elf_sparc_get_local_sym_hash): New.
529 (_bfd_sparc_elf_create_dynamic_sections): Move PLT ops initialization
531 (_bfd_sparc_elf_link_hash_table_create): ... to here. Allocate
533 (_bfd_sparc_elf_link_hash_table_free): New.
534 (create_ifunc_sections): New.
535 (_bfd_sparc_elf_check_relocs): Unconditionally assign htab->elf.dynobj
536 and call create_ifunc_sections(). For local STT_GNU_IFUNC symbols
537 cons up a fake local hash table entry for it. Unconditionally add
538 a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular. Count
539 dyn relocs for ifunc.
540 (_bfd_sparc_elf_adjust_dynamic_symbol): Handle ifunc.
541 (allocate_dynrelocs): Unconditionally emit a PLT entry when
542 STT_GNU_IFUNC and h->def_regular. Count GOT dyn relocs for ifunc.
543 (allocate_local_dynrelocs): New function.
544 (_bfd_sparc_elf_size_dynamic_sections): Invoke it over the local hash
545 table. Emit dynamic relocs to irelplt when not shared. Treat iplt
547 (_bfd_sparc_elf_relocate_section): Handle ifunc relocations by hand.
548 (_bfd_sparc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc
551 2010-02-08 Richard Sandiford <r.sandiford@uk.ibm.com>
553 * xcofflink.c (_bfd_xcoff_bfd_final_link): When calculating
554 max_contents_size, only consider sections whose contents must
557 2010-02-09 Alan Modra <amodra@gmail.com>
559 * elf64-ppc.c (allocate_dynrelocs): Remove unused got structs here..
560 (ppc64_elf_size_dynamic_sections): ..and here..
561 (merge_got_entries): ..rather than here.
563 2010-02-09 Alan Modra <amodra@gmail.com>
565 * elf64-ppc.c (struct ppc_link_hash_table): Add do_multi_toc.
566 (has_small_toc_reloc): Define.
567 (ppc64_elf_check_relocs): Set the above flags.
568 (ppc64_elf_edit_opd): Delete obfd param.
569 (ppc64_elf_tls_optimize): Likewise.
570 (ppc64_elf_edit_toc): Likewise.
571 (ppc64_elf_tls_setup): Likewise. Add no_multi_toc param.
572 * elf64-ppc.h: Update prototypes.
574 2010-02-08 Alan Modra <amodra@gmail.com>
576 * section.c (struct bfd_section): Delete has_tls_reloc,
577 has_tls_get_addr_call, has_gp_reloc, need_finalize_relax, reloc_done.
578 Add sec_flg0 thru sec_flg5.
579 (BFD_FAKE_SECTION): Update for changed flags.
580 * ecoff.c (bfd_debug_section): Likewise.
581 * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
582 * elf64-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
583 (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Update.
584 * elf32-xtensa.c (reloc_done): Define.
585 * elfxx-ia64.c (skip_relax_pass_0, skip_relax_pass_1): Update.
586 * bfd-in2.h: Regenerate.
588 2010-02-08 Tristan Gingold <gingold@adacore.com>
590 * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Set reloc.r_extern
591 for non-scattered relocations.
593 2010-02-08 Nathan Sidwell <nathan@codesourcery.com>
595 * elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty
596 apuinfo sections, only scan input sections once and reuse the
599 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
601 * archures.c (bfd_mach_ppc_titan): Define.
602 * bfd-in2.h: Regenerate.
603 * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry.
605 2010-02-08 Alan Modra <amodra@gmail.com>
607 * elf32-ppc.c (ppc_elf_check_relocs): Remove dead ifunc code.
609 2010-02-05 Sterling Augustine <sterling@tensilica.com>
611 * elf.c (assign_file_positions_for_load_sections) Update lma of
612 section if necessary. Fixes Bugzilla 11219.
614 2010-02-05 H.J. Lu <hongjiu.lu@intel.com>
616 * elf32-i386.c: Remove trailing white spaces.
617 * elf64-x86-64.c: Likewise.
619 2010-02-03 Nick Clifton <nickc@redhat.com>
621 * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add
622 entries for other architectures.
623 (struct elf_link_hash_table): Add hash_table_id field.
624 (elf_hash_table_id): New accessor macro.
625 * elflink.c (_bfd_elf_link_hash_table_init): Add target_id
627 * elf-m10300.c (elf32_mn10300_hash_table): Check table id before
628 returning cast pointer.
629 (elf32_mn10300_link_hash_table_create): Identify new table as
630 containing MN10300 extensions.
631 (mn10300_elf_relax_section): Check pointer returned by
632 elf32_mn10300_hash_table.
633 * elf32-arm.c: Likewise, except using ARM extensions.
634 * elf32-avr.c: Likewise, except using AVR extensions.
635 * elf32-bfin.c: Likewise, except using BFIN extensions.
636 * elf32-cris.c: Likewise, except using CRIS extensions.
637 * elf32-frv.c: Likewise, except using FRV extensions.
638 * elf32-hppa.c: Likewise, except using HPPA32 extensions.
639 * elf32-i386.c: Likewise, except using I386 extensions.
640 * elf32-lm32.c: Likewise, except using LM32 extensions.
641 * elf32-m32r.c: Likewise, except using M32RM extensions.
642 * elf32-m68hc11.c: Likewise, except using M68HC11 extensions.
643 * elf32-m68hc1x.c: Likewise, except using M68HC11 extensions.
644 * elf32-m68hc1x.h: Likewise, except using M68HC11 extensions.
645 * elf32-m68k.c: Likewise, except using M68K extensions.
646 * elf32-microblaze.c: Likewise, except using MICROBLAZE extensions.
647 * elf32-ppc.c: Likewise, except using PPC32 extensions.
648 * elf32-s390.c: Likewise, except using S390 extensions.
649 * elf32-sh.c: Likewise, except using SH extensions.
650 * elf32-spu.c: Likewise, except using SPU extensions.
651 * elf32-xtensa.c: Likewise, except using XTENSA extensions.
652 * elf64-alpha.c: Likewise, except using ALPHA extensions.
653 * elf64-hppa.c: Likewise, except using HPPA64 extensions.
654 * elf64-ppc.c: Likewise, except using PPC64 extensions.
655 * elf64-s390.c: Likewise, except using S390 extensions.
656 * elf64-x86-64.c: Likewise, except using X86_64 extensions.
657 * elfxx-ia64.c: Likewise, except using IA64 extensions.
658 * elfxx-mips.c: Likewise, except using MIPS extensions.
659 * elfxx-sparc.c: Likewise, except using SPARC extensions.
660 * elfxx-sparc.h: Likewise, except using SPARC extensions.
661 * elf32-cr16.c (struct elf32_cr16_link_hash_table): Delete
663 (elf32_cr16_hash_table): Delete unused macro.
664 (elf32_cr16_link_hash_traverse): Delete unused macro.
665 * elf32-score.c: Likewise.
666 * elf32-score7.c: Likewise.
667 * elf32-vax.c: Likewise.
668 * elf64-sh64.c: Likewise.
670 2010-02-03 Alan Modra <amodra@gmail.com>
672 * elf64-ppc.c (struct plt_entry): Move earlier in file.
673 (struct got_entry): Likewise. Add is_indirect and got.ent fields.
674 (struct ppc64_elf_obj_tdata): Change tlsld_got to be a struct got_entry.
676 (struct ppc_link_hash_table): Add got_reli_size and second_toc_pass.
678 (update_local_sym_info, ppc64_elf_check_relocs): Clear is_indirect
679 when allocating a new struct got_entry.
680 (allocate_got): New function, extracted from..
681 (allocate_dynrelocs): ..here. Abort on got entry in non-ppc64 bfd.
682 (ppc64_elf_size_dynamic_sections): Track got relocs allocated in
683 .reliplt by got_reli_size. Set owner on ppc64_tlsld_got entries.
684 (ppc64_elf_setup_section_lists): Remove output_bfd param and
685 no_multi_toc, add add_stub_section and layout_sections_again. Stash
686 new params in htab. Extract some code to..
687 (ppc64_elf_start_multitoc_partition): ..here. New function.
688 (ppc64_elf_next_toc_section): Check for linker script errors. Handle
689 second pass toc scan.
690 (merge_got_entries, merge_global_got, reallocate_got): New functions.
691 (ppc64_elf_reinit_toc): Rename to..
692 (ppc64_elf_finish_multitoc_partition): ..this.
693 (ppc64_elf_layout_multitoc): New function.
694 (ppc64_elf_size_stubs): Delete output_bfd, add_stub_section and
695 layout_sections_again params.
696 (ppc64_elf_relocate_section): Handle indirect got entries.
697 * elf64-ppc.h: Update prototypes. Declare new functions.
699 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
701 * elf-bfd.h (elfcore_write_xstatereg): New.
703 * elf.c (elfcore_grok_xstatereg): New.
704 (elfcore_write_xstatereg): Likewise.
705 (elfcore_grok_note): Handle NT_X86_XSTATE.
706 (elfcore_write_register_note): Handle .reg-xstate section.
708 2010-02-01 Tristan Gingold <gingold@adacore.com>
710 * som.c (som_write_ar_hdr): Define this macro.
712 2010-01-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
714 * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L,
715 R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations that use the
716 linkage table pointer to use the global table pointer if not doing
719 2010-01-29 Joel Brobecker <brobecker@adacore.com>
721 * elf.c (elfcore_grok_lwpstatus): Do not overwrite the core signal
722 if it has already been set.
724 2010-01-27 Tristan Gingold <gingold@adacore.com>
726 * vms.h: Remove trailing spaces.
727 (struct hdr_struct): Remove unused hdr_c_cpr field.
728 (enum file_format_enum): Add comments.
729 * vms.c (vms_bfd_print_private_bfd_data): New function that
731 Remove trailing spaces.
732 * vms-misc.c: Improve comments.
733 (_bfd_vms_get_object_record): Also handle files without pads.
734 * vms-hdr.c (_bfd_vms_write_dbg): Fix format string.
735 * vms-gsd.c (struct flagdescstruct): Make name field const.
736 (gsyflagdesc): Fix typo.
738 2010-01-27 Alan Modra <amodra@gmail.com>
741 * elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec.
742 (ppc64_elf_setup_section_lists): Init them.
743 (ppc64_elf_next_toc_section): Don't partition multi-toc between .got
744 and .toc on the same input file.
745 (ppc64_elf_relocate_section): Correct GOT entry offset.
747 2010-01-26 Tristan Gingold <gingold@adacore.com>
749 * targets.c (BFD_JUMP_TABLE_ARCHIVE): Add initializer for write_ar_hdr.
750 (bfd_target): Add _bfd_write_ar_hdr_fn field.
751 * archive.c (is_bsd44_extended_name): New macro.
752 (_bfd_generic_read_ar_hdr_mag): Use it. Add extra_size.
753 (bfd_slurp_armap): Also check for "__.SYMDEF" as a BSD4.4 extended
755 (_bfd_archive_bsd44_construct_extended_name_table): New function.
756 (_bfd_generic_write_ar_hdr): Ditto.
757 (_bfd_bsd44_write_ar_hdr): Ditto.
758 (_bfd_write_archive_contents): Call _bfd_write_ar_hdr.
759 (bsd_write_armap): Adjust firstreal computation.
760 * libbfd-in.h (struct areltdata): Add extra_size field.
761 (_bfd_generic_write_ar_hdr): Add prototype.
762 (_bfd_bsd44_write_ar_hdr): Ditto.
763 (_bfd_write_ar_hdr): Define.
764 (_bfd_noarchive_write_ar_hdr): Ditto.
765 (_bfd_archive_bsd_write_ar_hdr): Ditto.
766 (_bfd_archive_coff_write_ar_hdr): Ditto.
767 (_bfd_archive_bsd44_slurp_armap): Ditto.
768 (_bfd_archive_bsd44_slurp_extended_name_table): Ditto.
769 (_bfd_archive_bsd44_construct_extended_name_table): New prototype.
770 (_bfd_archive_bsd44_truncate_arname): Ditto.
771 (_bfd_archive_bsd44_write_armap): Ditto.
772 (_bfd_archive_bsd44_read_ar_hdr): Ditto.
773 (_bfd_archive_bsd44_write_ar_hdr): Ditto.
774 (_bfd_archive_bsd44_openr_next_archived_file): Ditto.
775 (_bfd_archive_bsd44_get_elt_at_index): Ditto.
776 (_bfd_archive_bsd44_generic_stat_arch_elt): Ditto.
777 (_bfd_archive_bsd44_update_armap_timestamp): Ditto.
778 * libbfd.h: Regenerate.
779 * oasys.c (oasys_write_ar_hdr): Define.
780 * libecoff.h (_bfd_ecoff_write_ar_hdr): Define.
781 * ieee.c (ieee_write_ar_hdr): Define.
782 * elf64-mips.c (bfd_elf64_archive_write_ar_hdr): Define.
783 * coff-rs6000.c (rs6000coff_vec): Adjust for write_ar_hdr field.
784 (bfd_pmac_xcoff_backend_data): Ditto.
785 * coff64-rs6000.c (rs6000coff64_vec): Ditto.
786 (bfd_xcoff_aix5_backend_data): Ditto.
787 * coff-alpha.c (alpha_ecoff_write_ar_hdr): Define.
788 * aout-target.h (MY_write_ar_hdr): Define it if not defined.
789 * aout-tic30.c (MY_write_ar_hdr): Ditto.
790 * mach-o-target.c (TARGET_NAME): Use _bfd_archive_bsd44 archive.
791 (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
792 (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
793 (bfd_mach_o_construct_extended_name_table)
794 (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
795 (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
796 (bfd_mach_o_update_armap_timestamp): Moved to mach-o.c
797 * mach-o.c (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
798 (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
799 (bfd_mach_o_construct_extended_name_table)
800 (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
801 (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
802 (bfd_mach_o_update_armap_timestamp): Moved from mach-o-target.c
803 * bfd-in2.h: Regenerate.
805 2010-01-26 Alan Modra <amodra@gmail.com>
806 H.J. Lu <hongjiu.lu@intel.com>
809 * elflink.c (elf_link_output_extsym): Do not ignore undefined
810 symbols with ref_regular set when gc_sections is active.
812 2010-01-25 Alan Modra <amodra@gmail.com>
815 * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences
816 with relocations against undefined weak symbols.
817 (ppc64_elf_relocate_section): Don't optimize calls to undefined
818 weak functions if the symbol is dynamic.
819 (ppc64_elf_relocate_section): Edit tprel tls sequences.
820 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
821 (_bfd_elf_ppc_at_tprel_transform): New function.
822 * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare.
823 * bfd-in2.h: Regenerate.
825 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
827 * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1.
828 (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE.
829 * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and
831 (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE.
833 2010-01-21 Nick Clifton <nickc@redhat.com>
835 * elflink.c (elf_link_add_object_symbols): Look up name of
836 undefined symbol both before and after versioning has been
837 applied. Do not bother with symbols that are weakly undefined.
839 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
841 * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function.
842 (bfd_elf32_bfd_merge_private_bfd_data): New macro definition.
844 2010-01-19 Cary Coutant <ccoutant@google.com>
846 * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8.
848 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
849 Alan Modra <amodra@gmail.com>
851 * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.
852 (elf_object_p): Read e_phnum extension.
853 (elf_write_shdrs_and_ehdr): Write e_phnum extension.
854 * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check
855 that we can read last program header.
857 2010-01-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
859 * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of
860 R_ARM_THM_CALL entry.
861 (elf32_arm_final_link_relocate): Correct calculation of
862 reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22,
863 or R_ARM_THM_JUMP24 relocation.
865 2010-01-18 Alan Modra <amodra@gmail.com>
868 * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C
869 block past vars in COFF_IMAGE_WITH_PE block. Report error on more
872 2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
874 Fix compilation warning on gcc-3.4.
875 * vms-tir.c (start_etir_record, sto_imm): Rename the prototype
876 parameter index to sec_index according to the function definition.
878 2010-01-13 Chao-ying Fu <fu@mips.com>
880 * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B.
881 It is true for all CPUs.
882 (jal_reloc_p): New function.
883 (mips_elf_calculate_relocation): Rename require_jalxp to
885 Update comment for CROSS_MODE_JUMP_P.
886 Set up cross_mode_jump_p based on the mode change.
887 (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p.
888 Update comment for CROSS_MODE_JUMP_P.
889 Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx.
890 Use !cross_mode_jump_p to guard conversion.
891 Convert "jr t9" to "b", if possible.
892 (_bfd_mips_elf_relocate_section): Rename require_jalx to
894 Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
895 Pass cross_mode_jump_p to call mips_elf_perform_relocation.
897 2010-01-13 Nick Clifton <nickc@redhat.com>
899 * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for
900 "m32c" returns the m32c arch_info_struct and not the m16c
902 (arch_info_struct): Use the new scan function.
903 (bfd_m32c_arch): Likewise.
905 2010-01-13 Tristan Gingold <gingold@adacore.com>
907 * config.bfd: Remove duplicated target vector for i386-*-darwin.
908 Appends new arch instead of overriding.
909 Use mach_o_x86_64_vec for x86_64-*-darwin.
910 * configure.in: Add mach_o_x86_64_vec.
911 * configure: Regenerate.
912 * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
913 * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
914 (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
915 * Makefile.in: Regenerate.
916 * mach-o-x86-64.c: New file.
918 2010-01-13 Tristan Gingold <gingold@adacore.com>
920 * reloc.c: Add MACH_O_X86_64 relocations.
921 * bfd-in2.h: Regenerate.
922 * libbfd.h: Regenerate.
924 2010-01-13 Tristan Gingold <gingold@adacore.com>
926 * archive.c (normalize): Use lbasename.
927 (bfd_bsd_truncate_arname): Ditto.
928 (bfd_gnu_truncate_arname): Ditto.
930 2010-01-12 Tristan Gingold <gingold@adacore.com>
932 * makefile.vms (CFLAGS): Turns warnings into informational messages.
934 2010-01-11 Tristan Gingold <gingold@adacore.com>
936 * mach-o.h: Add x86-64 relocation types.
938 2010-01-11 Tristan Gingold <gingold@adacore.com>
940 * mach-o.h (bfd_mach_o_backend_data): Add arch field.
941 (bfd_mach_o_set_arch_mach): New prototype.
942 * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject.
943 (bfd_mach_o_set_arch_mach): New function.
944 (bfd_mach_o_gen_mkobject): New function.
945 Set TARGET_ARCHITECTURE for the generic back-ends.
946 * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define.
947 Check that TARGET_ARCHITECTURE is defined.
948 Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure.
949 * mach-o-i386.c (TARGET_ARCHITECTURE): Define.
951 2010-01-11 Tristan Gingold <gingold@adacore.com>
953 * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
955 2010-01-11 Nick Clifton <nickc@redhat.com>
957 * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
958 handling of R_V850_HI16_S relocation.
960 2010-01-11 Alan Modra <amodra@gmail.com>
963 * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
965 2010-01-11 Alan Modra <amodra@gmail.com>
968 * dwarf2.c (struct comp_unit): Add sec_info_ptr.
969 (find_abstract_instance_name): Use it.
970 (parse_comp_unit): Set it.
972 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
974 * Makefile.in: Regenerate.
975 * configure: Regenerate.
977 2010-01-08 Tristan Gingold <gingold@adacore.com>
979 * archive.c: Remove bfd_special_undocumented_glue.
981 2010-01-08 Alan Modra <amodra@gmail.com>
984 * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook.
985 * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise.
986 * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
988 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
991 * elflink.c (elf_link_check_versioned_symbol): Don't abort if
992 a symbol referenced by DSO is is defined in a non-shared object
995 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
998 * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for
999 undefined __start_XXX/__stop_XXX in all input files and set
1002 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
1005 * elflink.c (elf_gc_sweep): Keep SHT_NOTE section.
1007 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1009 * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC
1010 before including procfs.h.
1011 (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
1012 * configure.in: Added autoconf probe for the pr_fpreg member.
1013 * configure: Regenerated.
1014 * config.in: Regenerated.
1015 * elf.c: Define _STRUCTURE_PROC before including procfs.h.
1017 2010-01-04 Joel Brobecker <brobecker@adacore.com>
1019 Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).
1020 * dwarf2.c (concat_filename): Rename dirname with dir_name
1021 to void shadowing the dirname function.
1022 Rename subdirname with subdir_name to stay consistent with
1023 the new dir_name variable name.
1025 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1027 * archures.c: Add bfd_mach_ppc_e500mc64.
1028 * bfd-in2.h: Regenerate.
1029 * cpu-powerpc.c (bfd_powerpc_archs): Add entry for
1030 bfd_mach_ppc_e500mc64.
1032 2010-01-01 Joel Brobecker <brobecker@adacore.com>
1034 Fix -Wshadow warnings (seen on ppc-aix)
1035 * xcofflink.c: Replace finfo by flinfo throughout.
1037 For older changes see ChangeLog-2009
1043 version-control: never