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