Fixes a bug in the previous delat to tekhex.c which meant that valid tekhex files...
[binutils-gdb.git] / bfd / ChangeLog
index 5215aa73cf4c0a65f55624ab5adcd27d659bd303..70b138b2d053482ef36b2579eb91709b00362f3f 100644 (file)
@@ -1,3 +1,55 @@
+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