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