Fixes a bug in the previous delat to tekhex.c which meant that valid tekhex files...
[external/binutils.git] / bfd / ChangeLog
1 2015-01-09  Nick Clifton  <nickc@redhat.com>
2
3         * tekhex.c (getvalue): Fix thinko in test for correct extraction
4         of value.
5         (getsym): Return false if there was not enough data to extract the
6         symbol.
7
8 2015-01-09  Anthony Green  <green@moxielogic.com>
9
10         * elf32-moxie.c (ELF_MACHINE_ALT1): Define.
11
12 2015-01-08  Nick Clifton  <nickc@redhat.com>
13
14         * elf32-msp430.c (msp430_elf_relax_section): Add relaxation of
15         16-bit absolute BR instructions to 10-bit pc-relative JMP
16         instructions.
17
18 2015-01-08  Nick Clifton  <nickc@redhat.com>
19
20         PR binutils/17512
21         * coffcode.h (coff_slurp_symbol_table): Return false if we failed
22         to load the line table.
23         * elf.c (_bfd_elf_map_sections_to_segments): Enforce a minimum
24         maxpagesize of 1.
25         * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if
26         the Data Directory Size is too large.
27
28 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
29
30         PR binutils/17512
31         * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.
32         * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
33
34 2015-01-06  Nick Clifton  <nickc@redhat.com>
35
36         PR binutils/17512
37         * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
38         string table.
39
40         * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.
41         (bfd_perform_relocation): Include the size of the reloc in the
42         test for an out of range relocation.
43         (bfd_generic_get_relocated_section_contents): Remove reloc range
44         test.
45
46         * coff-i860.c (CALC_ADDEND): Always set an addend value.
47         * tekhex.c (getvalue): Add an end pointer parameter.  Use it to
48         avoid reading off the end of the buffer.
49         (getsym): Likewise.
50         (first_phase): Likewise.
51         (pass_over): Pass an end pointer to the invoked function.
52
53 2015-01-05  H.J. Lu  <hongjiu.lu@intel.com>
54
55         PR binutils/17512
56         * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
57         input.
58         * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
59
60 2015-01-05  Nick Clifton  <nickc@redhat.com>
61
62         PR binutils/17512
63         * archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
64         is at least big enough for the header to be read.
65         * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
66         * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
67         (bfd_mach_o_read_command): Prevetn duplicate error messages about
68         unrecognized commands.
69         * syms.c (_bfd_stab_section_find_nearest_line): Add range checks
70         when indexing into the string table.
71
72 2015-01-01  Alan Modra  <amodra@gmail.com>
73
74         Update year range in copyright notice of all files.
75
76 For older changes see ChangeLog-2014
77 \f
78 Copyright (C) 2015 Free Software Foundation, Inc.
79
80 Copying and distribution of this file, with or without modification,
81 are permitted in any medium without royalty provided the copyright
82 notice and this notice are preserved.
83
84 Local Variables:
85 mode: change-log
86 left-margin: 8
87 fill-column: 74
88 version-control: never
89 End: