* targets.c (bfd_target): Make ar_max_namelen an unsigned char.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 1b049994b967cb665a419dac4e0e8d81e95a517e..bd3895ad56831da766b348f03cf958d98f6ed135 100644 (file)
@@ -1,3 +1,121 @@
+2011-06-06  Alan Modra  <amodra@gmail.com>
+
+       * targets.c (bfd_target): Make ar_max_namelen an unsigned char.
+       Add match_priority.
+       * configure.in: Bump bfd version.
+       * elfcode.h (elf_object_p): Delete hacks preventing match of
+       EM_NONE and ELFOSABI_NONE targets when a better match exists.
+       * elfxx-target.h (elf_match_priority): Define and use.
+       * format.c (bfd_check_format_matches): Use target match_priority
+       to choose best of multiple matching targets.  In cases with multiple
+       matches rerun _bfd_check_format if we don't choose the last match.
+       * aout-adobe.c, * aout-arm.c, * aout-target.h, * aout-tic30.c,
+       * binary.c, * bout.c, * coff-alpha.c, * coff-i386.c, * coff-i860.c,
+       * coff-i960.c, * coff-ia64.c, * coff-mips.c, * coff-or32.c,
+       * coff-ppc.c, * coff-rs6000.c, * coff-sh.c, * coff-tic30.c,
+       * coff-tic54x.c, * coff-x86_64.c, * coff64-rs6000.c, * coffcode.h,
+       * i386msdos.c, * i386os9k.c, * ieee.c, * ihex.c, * mach-o-target.c,
+       * mipsbsd.c, * mmo.c, * nlm-target.h, * oasys.c, * pdp11.c,
+       * pe-mips.c, * pef.c, * plugin.c, * ppcboot.c, * som.c, * srec.c,
+       * tekhex.c, * trad-core.c, * verilog.c, * versados.c, * vms-alpha.c,
+       * vms-lib.c, * xsym.c: Init match_priority field.
+       * configure: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2011-06-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12842
+       * elfcode.h (elf_object_p): Revert the last change.
+
+2011-06-04  Alan Modra  <amodra@gmail.com>
+
+       * archures.c (bfd_arch_get_compatible): If one arch is unknown,
+       return the other arch.
+       * elfcode.h (elf_object_p): Allow explicit match to generic ELF
+       target.
+
+2011-06-03  Bertram Felgenhauer  <bertram.felgenhauer@gmail.com>
+
+       PR ld/12682
+       * hash.c (higher_primer_number): Add more, small, prime numbers.
+       (bfd_hash_set_default_size): Likewise.
+
+2011-06-02  Nick Clifton  <nickc@redhat.com>
+
+       * coff-mcore.c: Fix spelling typo.
+       * coff-stgo32.c: Likewise.
+       * elf32-arm.c: Likewise.
+       * elf32-avr.c: Likewise.
+       * elf-m68hc1x.c: Likewise.
+       * elf32-mcore.c: Likewise.
+       * elf32-mep.c: Likewise.
+       * elf32-mt.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * netbsd.h: Likewise.
+       * nlmcode.h: Likewise.
+       * vms-alpha.c: Likewise.
+       * po/bfd.pot: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+
+2011-06-01  DJ Delorie  <dj@redhat.com>
+
+       * config.bfd: Add bfd_elf32_rx_be_ns_vec.
+       * target.c: Likewise.
+       * configure.in: Likewise.
+       * configure.in: Regenerate.
+       * elf32-rx.c: Add elf32-rx-be-ns target.
+       (rx_elf_object_p): Never allow the be-ns target by default,
+       only allow it if the user requests it.
+
+2011-06-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_size_dynamic_sections): Properly warn
+       relocation in readonly section in a shared object.
+       * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.
+
+2011-05-31  Nick Clifton  <nickc@redhat.com>
+
+       * archive.c (adjust_relative_path): Fix comment to prevent it
+       corrupting the auto-generated bfd.h.
+
+2011-05-31  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Only do bl conversion
+       for known functions.
+       (elf32_arm_swap_symbol_in): Only set ST_BRANCH_TO_ARM for function
+       symbols.
+
+2011-05-31  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (arm_stub_is_thumb): Add
+       arm_stub_long_branch_v4t_thumb_tls_pic.
+       (elf32_arm_final_link_relocate): TLS stubs are always ARM.
+       Handle Thumb stubs.
+
+2011-05-27  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/12710
+       * archive.c (_bfd_get_elt_at_filepos): Set correct error value if
+       unable to read a file pointed to by an entry in a thin archive.
+       (adjust_relative_path): Use lrealpath to canonicalize paths.
+       Handle the case where the reference path is above the current
+       path in the directory tree.
+
+2011-05-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12809
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Handle
+       R_X86_64_TPOFF64 in executable.
+
+2011-05-26  Alan Modra  <amodra@gmail.com>
+
+       * elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Remove most of comment.
+       * elflink.c (_bfd_elf_symbol_refs_local_p): Expand
+       local_protected comment.
+
 2011-05-25  Tristan Gingold  <gingold@adacore.com>
 
        * configure.in (bfd_elf32_ia64_big_vec, bfd_elf32_ia64_hpux_big_vec)
This page took 0.024378 seconds and 4 git commands to generate.