+2009-10-19 Hans-Peter Nilsson <hp@axis.com>
+
+ * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_DTPREL>:
+ Don't subtract the size of the TLS block for non-shared objects
+ from the relocation.
+
+2009-10-17 Arnold Metselaar <arnold.metselaar@planet.nl>
+
+ * coff-z80.c (z80coff_vec): Allow sections to be of type
+ SEC_CODE or SEC_DATA
+
+2009-10-16 Alan Modra <amodra@bigpond.net.au>
+
+ PR binutils/10785
+ * coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Don't bfd_alloc
+ bim and bim->buffer. bfd_malloc instead.
+ * peicode.h (pe_ILF_build_a_bfd): Similarly.
+ (ILF_DATA_SIZE): Don't include bim.
+ * opncls.c (bfd_close): Test bim->buffer non-NULL before freeing.
+
+2009-10-14 Alan Modra <amodra@bigpond.net.au>
+
+ * aoutx.h (aout_link_check_ar_symbols): Typo fix.
+
+2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/10763
+ * elf32-i386.c (elf_i386_finish_dynamic_symbol): Declare plt
+ earlier.
+
+2009-10-13 Alan Modra <amodra@bigpond.net.au>
+
+ * elflink.c (_bfd_elf_merge_symbol): Revert previous patch.
+
+2009-10-12 Roland McGrath <roland@frob.com>
+
+ * elflink.c (elf_link_add_object_symbols, _bfd_elf_merge_symbol):
+ Fix %s that should be %B in several message formats.
+
+2009-10-10 Alan Modra <amodra@bigpond.net.au>
+
+ * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols for
+ excluded output sections.
+
+2009-10-09 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.c (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_RPATH.
+ (bfd_mach_o_bfd_print_private_bfd_data): Ditto.
+
+2009-10-09 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Rename to
+ bfd_mach_o_read_symtab_symbols.
+ (bfd_mach_o_scan_write_thread): Rename to bfd_mach_o_write_thread.
+ (bfd_mach_o_scan_write_relocs): Rename to bfd_mach_o_write_relocs.
+ (bfd_mach_o_scan_write_section_32): Rename to
+ bfd_mach_o_write_section_32.
+ (bfd_mach_o_scan_write_section_64): Rename to
+ bfd_mach_o_write_section_64.
+ (bfd_mach_o_scan_write_segment_32): Rename to
+ bfd_mach_o_write_segment_32.
+ (bfd_mach_o_scan_write_segment_64): Rename to
+ bfd_mach_o_write_segment_64.
+ (bfd_mach_o_scan_write_symtab): Rename to bfd_mach_o_write_symtab.
+ (bfd_mach_o_scan_read_section_32): Rename to
+ bfd_mach_o_read_section_32.
+ (bfd_mach_o_scan_read_section_64): Rename to
+ bfd_mach_o_read_section_64.
+ (bfd_mach_o_scan_read_section): Rename to bfd_mach_o_read_section.
+ (bfd_mach_o_scan_read_symtab_strtab): Rename to
+ bfd_mach_o_read_symtab_strtab.
+ (bfd_mach_o_scan_read_symtab_symbol): Rename to
+ bfd_mach_o_read_symtab_symbol.
+ (bfd_mach_o_scan_read_dysymtab_symbol): Rename to
+ bfd_mach_o_read_dysymtab_symbol.
+ (bfd_mach_o_scan_read_dylinker): Rename to bfd_mach_o_read_dylinker.
+ (bfd_mach_o_scan_read_dylib): Rename to bfd_mach_o_read_dylib.
+ (bfd_mach_o_scan_read_prebound_dylib): Rename to
+ bfd_mach_o_read_prebound_dylib.
+ (bfd_mach_o_scan_read_thread): Rename to bfd_mach_o_read_thread.
+ (bfd_mach_o_scan_read_dysymtab): Rename to bfd_mach_o_read_dysymtab.
+ (bfd_mach_o_scan_read_symtab): Rename to bfd_mach_o_read_symtab.
+ (bfd_mach_o_scan_read_uuid): Rename to bfd_mach_o_read_uuid.
+ (bfd_mach_o_scan_read_linkedit): Rename to bfd_mach_o_read_linkedit.
+ (bfd_mach_o_scan_read_str): Rename to bfd_mach_o_read_str.
+ (bfd_mach_o_scan_read_dyld_info): Rename to bfd_mach_o_read_dyld_info.
+ (bfd_mach_o_scan_read_segment): Rename to bfd_mach_o_read_segment.
+ (bfd_mach_o_scan_read_segment_32): Rename to
+ bfd_mach_o_read_segment_32.
+ (bfd_mach_o_scan_read_segment_64): Rename to
+ bfd_mach_o_read_segment_64.
+ (bfd_mach_o_scan_read_command): Rename to bfd_mach_o_read_command.
+ * mach-o.h (bfd_mach_o_scan_read_dysymtab_symbol): Rename to
+ bfd_mach_o_read_dysymtab_symbol.
+
+2009-10-09 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.c (bfd_mach_o_section_get_entry_size): Moved.
+ (bfd_mach_o_section_get_nbr_indirect): Ditto.
+ (bfd_mach_o_get_synthetic_symtab): New function.
+ (bfd_mach_o_print_private_header): Print the number of commands
+ in decimal.
+ * mach-o.h (bfd_mach_o_get_synthetic_symtab): Add prototype.
+ * mach-o-target.c: Do not defined bfd_mach_o_get_synthetic_symtab.
+
+2009-10-08 Tristan Gingold <gingold@adacore.com>
+
+ * config.bfd: Add bfd_mach_o_i386_vec in x86_64-darwin targ_selvecs.
+
+2009-10-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ * bfd-in2.h: Regenerated.
+
+2009-10-02 Alan Modra <amodra@bigpond.net.au>
+
+ * aout-cris.c (N_SHARED_LIB): Don't define.
+ * hp300bsd.c (N_SHARED_LIB): Don't define.
+ * i386bsd.c (N_SHARED_LIB): Don't define.
+ * i386linux.c (N_SHARED_LIB): Don't define.
+ * i386lynx.c (N_SHARED_LIB): Don't define.
+ * m68klinux.c (N_SHARED_LIB): Don't define.
+ * m88kmach3.c (N_SHARED_LIB): Don't define.
+ * mipsbsd.c (N_SHARED_LIB): Don't define.
+ * newsos3.c (N_SHARED_LIB): Don't define.
+ * pc532-mach.c (N_SHARED_LIB): Don't define.
+ * pdp11.c (N_SHARED_LIB): Don't define.
+ * sparclinux.c (N_SHARED_LIB): Don't define.
+ * vaxbsd.c (N_SHARED_LIB): Don't define.
+
+2009-10-01 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ * cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
+ symbol for a weak undef in the auxbfd, not the input bfd.
+
+2009-10-01 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * elf32-spu.c (spu_elf_auto_overlay): Insert icache linker script
+ after .toe instead of before .text section. Set the LMA of all
+ overlay sections to their icache IA address.
+ (spu_elf_find_overlays): Determine icache set id without reference
+ to the LMA.
+
+2009-09-30 Tristan Gingold <gingold@adacore.com>
+
+ * configure.com: Use hosts/alphavms.h on both alpha and ia64 VMS.
+
+2009-09-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf64-x86-64.c (elf64_x86_64_append_rela): New.
+ (elf64_x86_64_relocate_section): Use it.
+ (elf64_x86_64_finish_dynamic_symbol): Likewise.
+
+2009-09-29 DJ Delorie <dj@redhat.com>
+
+ * Makefile.am (ALL_MACHINES): Add cpu-rx.lo.
+ (ALL_MACHINES_CFILES): Add cpu-rx.c.
+ (BFD32_BACKENDS): Add elf32-rx.lo.
+ (BFD32_BACKENDS_CFILES): Add elf32-rx.c.
+ * archures.c (bfd_architecture): Add bfd_arch_rx and bfd_mach_rx.
+ Export bfd_rx_arch.
+ (bfd_archures_list): Add bfd_rx_arch.
+ * config.bfd: Add entry for rx-*-elf.
+ * configure.in: Add entries for bfd_elf32_rx_le_vec and
+ bfd_elf32_rx_be_vec.
+ * reloc.c: Add RX relocations.
+ * targets.c: Add RX target vectors.
+ * Makefile.in: Regenerate.
+ * bfd-in2.h: Regenerate.
+ * configure: Regenerate.
+ * libbfd.h: Regenerate.
+ * cpu-rx.c: New file.
+ * elf32-rx.c: New file.
+
+2009-09-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+ * elf32-cr16.c (elf32_cr16_relocate_section): Removed
+ info->relocatable to fix the ld/testsuites/ld-elf/linkonce1 test case.
+
+2009-09-28 Nick Clifton <nickc@redhat.com>
+
+ PR 10478: Accepting Solaris binaries.
+ * elf.c (bfd_section_from_shdr): Allow SHN_BEFORE and SHN_AFTER
+ section link values in x86 binaries.
+ * elfcode.h (elf_object_p): Likewise.
+
+2009-09-28 Philippe De Muyter <phdm@macqel.be>
+
+ * elf32-m68k.c (elf_m68k_final_write_processing): New function.
+ (elf_backend_final_write_processing): Macro defined as above function.
+
+2009-09-25 Martin Thuresson <martint@google.com>
+
+ Update sources to make alpha and arm targets compile cleanly with
+ -Wc++-compat:
+ * ecoff.c: Add casts.
+ * ecofflink.c: Add casts.
+ * elf64-alpha.c: Add casts.
+ (struct alpha_elf_got_entry, struct alpha_elf_reloc_entry): Move
+ to top level.
+ (SKIP_HOWTO): Use enum name.
+ * elf32-arm.c: Add casts.
+ (elf32_arm_vxworks_bed): Update code to avoid multiple
+ declarations.
+ (struct map_stub): Move to top level.
+
+2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/10630
+ * elflink.c (elf_link_output_extsym): Turn off visibility on
+ local symbol.
+ (bfd_elf_final_link): Turn off visibility on dynamic local
+ symbol.
+
+2009-09-24 Alan Modra <amodra@bigpond.net.au>
+
+ PR binutils/10654
+ * dwarf2.c (lookup_address_in_line_info_table): Remove workaround
+ for invalid location lists generated by gcc-2.95 and Intel 6.0 C++.
+ Remove "function" parm, adjust caller.
+
+2009-09-23 Matt Rice <ratmice@gmail.com>
+
+ * bfd-in.h (bfd_elf_size_dynamic_sections): Add audit and depaudit
+ arguments.
+ * elflink.c (bfd_elf_size_dynamic_sections): Generate DT_AUDIT,
+ DT_DEPAUDIT from audit/depaudit arguments.
+ (elf_finalize_dynstr): Finalize DT_AUDIT and DT_DEPAUDIT strtab entries.
+ (elf_link_add_object_symbols): Set dt_audit target data when finding a
+ DT_AUDIT.
+ * bfd-in2.h: Regenerate.
+ * bfd-elf.h: Add dt_audit to elf_obj_tdata, and elf_dt_audit macro.
+
+2009-09-23 Jie Zhang <jie.zhang@analog.com>
+
+ * elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure empty
+ .rel.plt and .plt sections are removed.
+ (elf32_bfinfdpic_size_dynamic_sections): Remove empty .dynbss
+ section. Remove the duplicated removing of empty .rel.plt
+ section.
+
+2009-09-21 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Extend previous
+ patch to handle the new personality relaxation.
+
2009-09-21 Richard Sandiford <rdsandiford@googlemail.com>
* elf-eh-frame.c (make_pc_relative): New function.
assignments in test.
2009-09-16 Tristan Gingold <gingold@adacore.com>
-
+
* mach-o.h (bfd_mach_o_filetype): Add new constants from darwin10.
Reindent.
* mach-o.c (bfd_mach_o_cpu_name): Reindent.
2009-09-09 Martin Thuresson <martin@mtme.org>
- Update soruces to compile cleanly with -Wc++-compat:
+ Update sources to compile cleanly with -Wc++-compat:
* aoutx.h: Add casts.
* archive.c: Add casts.
* archive64.c: Add casts.
bfinfdpic_gc_sweep_hook, bfinfdpic_check_relocs,
bfin_finish_dynamic_symbol, bfd_bfin_elf32_create_embedded_relocs):
Adjust to match the renamed reloc definitions.
-
+
2009-08-08 Alan Modra <amodra@bigpond.net.au>
PR 10494
2009-07-22 H.J. Lu <hongjiu.lu@intel.com>
- * elflink.c (elf_link_output_extsym): Revert the last change.
+ * elflink.c (elf_link_output_extsym): Revert the last change.
2009-07-22 H.J. Lu <hongjiu.lu@intel.com>
- PR ld/10433
- * elflink.c (elf_link_output_extsym): Special case ifunc syms
- when ref_regular, not def_regular.
+ PR ld/10433
+ * elflink.c (elf_link_output_extsym): Special case ifunc syms
+ when ref_regular, not def_regular.
2009-07-21 H.J. Lu <hongjiu.lu@intel.com>
- PR ld/10426
- * elflink.c (elf_link_add_object_symbols): Turn an IFUNC symbol
- from a DSO into a normal FUNC symbol.
- (elf_link_output_extsym): Turn an undefined IFUNC symbol into
- a normal FUNC symbol.
+ PR ld/10426
+ * elflink.c (elf_link_add_object_symbols): Turn an IFUNC symbol
+ from a DSO into a normal FUNC symbol.
+ (elf_link_output_extsym): Turn an undefined IFUNC symbol into
+ a normal FUNC symbol.
2009-07-17 Chao-ying Fu <fu@mips.com>
* coffcode.h (sec_to_styp_flags): Partially revert (functional
changes only) earlier patch:-
- 2009-06-25 Kai Tietz <kai.tietz@onevision.com>
+2009-06-25 Kai Tietz <kai.tietz@onevision.com>
- * coffcode.h (sec_to_styp_flags): Set discardable for .reloc and
- give .debug and .reloc data characteristics.
- (DOT_RELOC): New define for .reloc section string.
- (coff_write_object_contents): Use DOT_RELOC instead of string.
+ * coffcode.h (sec_to_styp_flags): Set discardable for .reloc and
+ give .debug and .reloc data characteristics.
+ (DOT_RELOC): New define for .reloc section string.
+ (coff_write_object_contents): Use DOT_RELOC instead of string.
2009-07-02 Tom Tromey <tromey@redhat.com>
(bfd_mach_o_print_thread): Define.
* mach-o.c (text_section_names_xlat): Add an entry for __const.
- (bfd_mach_o_canonicalize_one_reloc, bfd_mach_o_canonicalize_relocs):
+ (bfd_mach_o_canonicalize_one_reloc, bfd_mach_o_canonicalize_relocs):
New functions extracted from ...
(bfd_mach_o_canonicalize_reloc): ... This. Simplified.
(bfd_mach_o_get_dynamic_reloc_upper_bound): New function.
(bfd_mach_o_scan_read_dysymtab_symbol): Ditto.
(bfd_mach_o_get_reloc_upper_bound): New prototype.
(bfd_mach_o_canonicalize_reloc): Ditto.
-
+
* mach-o-target.c (bfd_mach_o_bfd_is_local_label_name): Remove
duplicated macro. Now defined to _bfd_generic_is_local_label.
(TARGET_NAME_BACKEND): New macro...
Clean up copyright notice.
2009-06-10 Paul Pluzhnikov <ppluzhnikov@google.com>
-
+
* bfd-in2.h: bfd_mmap prototype.
* bfdio.c (bfd_mmap): New function.
* libbfd.h (bfd_iovec): Add bmmap.
* cache.c (cache_bmmap): New function.
(cache_iovec): Initialize bmmap member.
* opencls.c (opncls_bmmap): New function.
- (opncls_iovec): Initialize bmmap member.
-
+ (opncls_iovec): Initialize bmmap member.
+
2009-06-09 Tristan Gingold <gingold@adacore.com>
* mach-o.h (bfd_mach_o_symtab_command): Remove stabs_segment
2009-05-24 Alan Modra <amodra@bigpond.net.au>
- * bfdio.c (bfd_seek): Formatting. Ensure newly allocated memory
- for BFD_IN_MEMORY is cleared.
- (bfd_bwrite): Zero excess memory allocated.
+ * bfdio.c (bfd_seek): Formatting. Ensure newly allocated memory
+ for BFD_IN_MEMORY is cleared.
+ (bfd_bwrite): Zero excess memory allocated.
2009-05-22 Julian Brown <julian@codesourcery.com>