* archive.c (_bfd_get_elt_at_filepos): Don't release n_nfd.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index c0d8d6a555e72525473d95aa69e32e64bd872a9f..afa1cf269d84218b517a22114d34136a6bdfb396 100644 (file)
@@ -1,3 +1,168 @@
+2011-04-20  Alan Modra  <amodra@gmail.com>
+
+       * archive.c (_bfd_get_elt_at_filepos): Don't release n_nfd.
+       * elflink.c (elf_link_add_object_symbols): Delete redundant code.
+
+2011-04-20  Alan Modra  <amodra@gmail.com>
+
+       PR ld/12365
+       * elfcode.h (elf_slurp_symbol_table): Put common plugin IR symbols
+       in their own common section.
+       * elflink.c (elf_link_add_object_symbols): Likewise.
+       * linker.c (generic_link_check_archive_element): Don't lose flags
+       if common section is pre-existing.
+       (_bfd_generic_link_add_one_symbol): Likewise.
+
+2011-04-20  Alan Modra  <amodra@gmail.com>
+
+       PR ld/12365
+       * elflink.c (_bfd_elf_merge_symbol): Update multiple_common calls.
+       * linker.c (_bfd_generic_link_add_one_symbol): Likewise.  Call
+       multiple_definition regardless of allow_multiple_definition.
+       * simple.c (simple_dummy_multiple_definition): Update.
+       * xcofflink.c (xcoff_link_add_symbols): Update multiple_definition
+       calls.
+
+2011-04-18  Tristan Gingold  <gingold@adacore.com>
+
+       * coff-rs6000.c: Convert to ISO-C.  Remove PARAMS macro.
+
+2011-04-18  Alan Modra  <amodra@gmail.com>
+
+       PR ld/12365
+       PR ld/12672
+       * bfd.c (BFD_PLUGIN): Define.
+       (BFD_FLAGS_SAVED, BFD_FLAGS_FOR_BFD_USE_MASK): Add BFD_PLUGIN.
+       * bfd-in2.h: Regenerate.
+       * elflink.c (elf_link_output_extsym): Strip undefined plugin syms.
+       * opncls.c (bfd_make_readable): Don't lose original bfd flags.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Do not check for
+       SEC_LOAD.
+
+2011-04-15  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * elf-bfd.h (struct sdt_note): New struct.
+       (struct elf_obj_tdata) <sdt_note_head>: New field.
+       * elf.c (elfobj_grok_stapsdt_note_1): New function.
+       (elfobj_grok_stapsdt_note): Likewise.
+       (elf_parse_notes): Added code to treat SystemTap note
+       sections.
+
+2011-04-12  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Do not
+       exclude empty .got sections.
+
+2011-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_reloc_type_lookup): Fix the out of bound
+       array access for BFD_RELOC_386_IRELATIVE.
+
+2011-04-11  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field.
+
+2011-04-11  Mark Wielaard  <mjw@redhat.com>
+
+       PR 10549
+       * elf-bfd.h (has_ifunc_symbols): Renamed to has_gnu_symbols.
+       (has_gnu_symbols): Renamed from has_ifunc_symbols.
+       * elf.c (_bfd_elf_set_osabi): Use new has_gnu_symbols name.
+       * elf32-arm.c (elf32_arm_add_symbol_hook): Set has_gnu_symbols
+       also if STB_GNU_UNIQUE symbol binding was seen.
+       * elf32-i386.c (elf_i386_add_symbol_hook): Likewise.
+       * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
+       * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
+       * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
+       * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
+       * elf64-x86-64.c (elf_x86_64_add_symbol_hook): Likewise.
+
+2011-04-11  Alan Modra  <amodra@gmail.com>
+
+       * bfd-in.h (bfd_get_section_limit): Don't use rawsize with output
+       sections.
+       * libbfd.c (_bfd_generic_get_section_contents): Likewise.
+       (_bfd_generic_get_section_contents_in_window): Likewise.
+       * section.c (bfd_get_section_contents): Likewise.
+       * compress.c (bfd_get_full_section_contents): Likewise.
+       * elf32-rx.c (rx_final_link): Ignore rawsize.
+       * elf32-microblaze.c (microblaze_elf_relocate_section): Use correct
+       bfd with bfd_get_section_limit.
+       * elfxx-ia64.c (elfNN_ia64_choose_gp): Add "final" parameter.  Use
+       os->size during final link.  Update callers.
+       * bfd-in2.h: Regenerate.
+
+2011-04-10  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       PR ld/12637
+       * elfxx-mips.c (mips_elf_merge_got_with): Use arg->global_count
+       as the number of global entries when merging with the primary GOT.
+
+2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c: Update copyright year.
+       * elf64-x86-64.c: Likewise.
+
+2011-04-09  Kai Tietz  <ktietz@redhat.com>
+
+       * peXXigen.c (_bfd_XXi_final_link_postscripte): Sort pdata in temporary
+       buffer and use rawsize for sorting.
+       * coffcode.h (coff_compute_section_file_positions): Set rawsize
+       before doing alignment.
+
+2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_relocate_section): Return relocation
+       error on unsupported relocation.
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
+
+2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/12657
+       * hosts/x86-64linux.h (elf_prstatus32): Replace __pid_t with
+       pid_t.
+
+2011-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12654
+       * elf32-i386.c (elf_i386_relocate_section): Check !executable
+       instead of shared for R_386_TLS_LDO_32.
+
+2011-04-08  Tristan Gingold  <gingold@adacore.com>
+
+       * Makefile.am (SOURCE_HFILES): Remove xcoff-target.h
+       * coff-pmac: Remove
+       * xcoff-target.h: Remove
+       * Makefile.in: Regenerate.
+
+2011-04-07  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification.
+
+2011-04-07  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-tic6x.c (elf32_tic6x_howto_table): R_C6000_PREL31 is
+       pc-relative.
+       (elf32_tic6x_howto_table_rel): Ditto.
+       (elf32_tic6x_relocate_section): Implement R_C6000_PREL31.
+       (elf32_tic6x_check_relocs): Ditto.
+
+2011-04-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * config.bfd (thumb-*-oabi): Don't handle in list of obsolete
+       targets.
+       (strongarm*, thumb*, xscale*): Remove architectures.
+       (strongarm-*-kaos*, thumb-*-coff, thumb-*-elf, thumb-epoc-pe*,
+       thumb-*-pe*, strongarm-*-elf, strongarm-*-coff, xscale-*-elf,
+       xscale-*-coff): Remove targets.
+
+2011-04-01  Tristan Gingold  <gingold@adacore.com>
+
+       * elfxx-ia64.c: include bfd_stdint.h
+
 2011-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * elf32-tic6x.c (elf32_tic6x_relocate_section): Remove unused variable
This page took 0.027548 seconds and 4 git commands to generate.