3483d79031e71903b50dcf7bdb61e981b0d9dd16
[binutils-gdb.git] / bfd / ChangeLog
1 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR binutils/17512
4 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.
5 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
6
7 2015-01-06 Nick Clifton <nickc@redhat.com>
8
9 PR binutils/17512
10 * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
11 string table.
12
13 * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.
14 (bfd_perform_relocation): Include the size of the reloc in the
15 test for an out of range relocation.
16 (bfd_generic_get_relocated_section_contents): Remove reloc range
17 test.
18
19 * coff-i860.c (CALC_ADDEND): Always set an addend value.
20 * tekhex.c (getvalue): Add an end pointer parameter. Use it to
21 avoid reading off the end of the buffer.
22 (getsym): Likewise.
23 (first_phase): Likewise.
24 (pass_over): Pass an end pointer to the invoked function.
25
26 2015-01-05 H.J. Lu <hongjiu.lu@intel.com>
27
28 PR binutils/17512
29 * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
30 input.
31 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
32
33 2015-01-05 Nick Clifton <nickc@redhat.com>
34
35 PR binutils/17512
36 * archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
37 is at least big enough for the header to be read.
38 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
39 * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
40 (bfd_mach_o_read_command): Prevetn duplicate error messages about
41 unrecognized commands.
42 * syms.c (_bfd_stab_section_find_nearest_line): Add range checks
43 when indexing into the string table.
44
45 2015-01-01 Alan Modra <amodra@gmail.com>
46
47 Update year range in copyright notice of all files.
48
49 For older changes see ChangeLog-2014
50 \f
51 Copyright (C) 2015 Free Software Foundation, Inc.
52
53 Copying and distribution of this file, with or without modification,
54 are permitted in any medium without royalty provided the copyright
55 notice and this notice are preserved.
56
57 Local Variables:
58 mode: change-log
59 left-margin: 8
60 fill-column: 74
61 version-control: never
62 End: