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