Fixes a bug in the relaxation of R_MSP430X_ABS16 to R_MSP430_10_PCREL.
[binutils-gdb.git] / bfd / ChangeLog
index 0545a7ef0b96b55de401ba1dd50f6d0c8622b648..3a2d6f605a2f1733c2b5b544fbaa82b6a3f4942a 100644 (file)
@@ -1,3 +1,120 @@
+2015-01-15  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-msp430.c (msp430_elf_relax_section): Skip unhandled
+       relocs.  Include PC-relative adjustment for R_MSP430X_ABS16
+       relaxation.
+
+2015-01-15  Alan Modra  <amodra@gmail.com>
+
+       * elflink.c (_bfd_elf_link_omit_section_dynsym): Return true for
+       any output section matching a linker created dynobj section.
+
+2015-01-15  Alan Modra  <amodra@gmail.com>
+
+       PR 17842
+       * elflink.c (elf_link_output_sym): Assert elf_onesymtab set.
+       (bfd_elf_final_link): Always create a symbol table when emit_relocs.
+       Don't assign symtab file position unless symbols will be output.
+       Merge blocks with condition in common.  Don't call
+       elf_backend_output_arch_local_syms or elf_backend_output_arch_syms
+       unless other symbols are output.  Move assignment of symtab_shndx
+       file position.  Localize variable.
+
+2015-01-14  Jiong Wang  <jiong.wang@arm.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when
+       trying to defer them to runtime.
+
+2015-01-13  Thomas Preud'homme <thomas.preudhomme@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use SYMBOLIC_BIND
+       to check if a symbol should be bound symbolically.
+
+2015-01-13  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c: (elfNN_aarch64_howto_table): Enable overflow check
+       for TLSLE_MOVW_TPREL_G2.
+
+2015-01-13  Jiong Wang  <jiong.wang@arm.com>
+
+       PR ld/17415
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Mark
+       R_AARCH64_TLSLE_ADD_TPREL_HI12 as complain_overflow_unsigned.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Correct the
+       bit mask.
+
+2015-01-12  Terry Guo  <terry.guo@arm.com>
+
+       * elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New
+       function.
+       (_bfd_elf_gc_mark_extra_sections): Use it.
+
+2015-01-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17827
+       * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): For PIE,
+       only discard space for pc-relative relocs symbols which turn
+       out to need copy relocs.
+
+2015-01-09  Nick Clifton  <nickc@redhat.com>
+
+       * tekhex.c (getvalue): Fix thinko in test for correct extraction
+       of value.
+       (getsym): Return false if there was not enough data to extract the
+       symbol.
+
+2015-01-09  Anthony Green  <green@moxielogic.com>
+
+       * elf32-moxie.c (ELF_MACHINE_ALT1): Define.
+
+2015-01-08  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-msp430.c (msp430_elf_relax_section): Add relaxation of
+       16-bit absolute BR instructions to 10-bit pc-relative JMP
+       instructions.
+
+2015-01-08  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * coffcode.h (coff_slurp_symbol_table): Return false if we failed
+       to load the line table.
+       * elf.c (_bfd_elf_map_sections_to_segments): Enforce a minimum
+       maxpagesize of 1.
+       * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if
+       the Data Directory Size is too large.
+
+2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/17512
+       * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.
+       * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
+
+2015-01-06  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
+       string table.
+
+       * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.
+       (bfd_perform_relocation): Include the size of the reloc in the
+       test for an out of range relocation.
+       (bfd_generic_get_relocated_section_contents): Remove reloc range
+       test.
+
+       * coff-i860.c (CALC_ADDEND): Always set an addend value.
+       * tekhex.c (getvalue): Add an end pointer parameter.  Use it to
+       avoid reading off the end of the buffer.
+       (getsym): Likewise.
+       (first_phase): Likewise.
+       (pass_over): Pass an end pointer to the invoked function.
+
+2015-01-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/17512
+       * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
+       input.
+       * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
+
 2015-01-05  Nick Clifton  <nickc@redhat.com>
 
        PR binutils/17512