Fix unbounded stack usage warning inside the SAFE_BYTE_GET macro.
[external/binutils.git] / binutils / ChangeLog
1 2016-03-22  Nick Clifton  <nickc@redhat.com>
2
3         PR 19851
4         * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
5         with run time size check.
6
7         * configure: Regenerate.
8
9 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10
11         * readelf.c (decode_ARC_machine_flags): Handle nps400.
12
13 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
14
15         * readelf.c (get_machine_flags): Move arc processing into...
16         (decode_ARC_machine_flags): ... new function.  Remove use of
17         EF_ARC_CPU_GENERIC, change default case from "generic arc" to
18         "unknown arc".  Merged ABI printing between two machine types.
19
20 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
21
22         * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
23         to the architecture list.
24
25 2016-03-21  Nick Clifton  <nickc@redhat.com>
26
27         * dlltool.c: Replace use of alloca with call to xmalloc.
28         * dllwrap.c: Likewise.
29         * nlmconv.c: Likewise.
30         * objdump.c: Likewise.
31         * resrc.c: Likewise.
32         * winduni.c: Likewise.
33         * configure: Regenerate.
34
35 2016-03-07  Nick Clifton  <nickc@redhat.com>
36
37         PR binutils/19775
38         * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
39         Run the new proc.
40         * testsuite/binutils-all/empty: New, empty, file.
41
42 2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
43
44         * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
45
46 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
47
48         PR ld/19645
49         * NEWS: Mention --elf-stt-common= for objcopy.
50         * doc/binutils.texi: Document --elf-stt-common= for objcopy.
51         * objcopy.c (do_elf_stt_common): New.
52         (command_line_switch): Add OPTION_ELF_STT_COMMON.
53         (copy_options): Add --elf-stt-common=.
54         (copy_usage): Add --elf-stt-common=.
55         (copy_object): Also check do_elf_stt_common for ELF targets.
56         (copy_file): Handle do_elf_stt_common.
57         (copy_main): Handle OPTION_ELF_STT_COMMON.
58         * readelf.c (apply_relocations): Support STT_COMMON.
59         * testsuite/binutils-all/common-1.s: New file.
60         * testsuite/binutils-all/common-1a.d: Likewise.
61         * testsuite/binutils-all/common-1b.d: Likewise.
62         * testsuite/binutils-all/common-1c.d: Likewise.
63         * testsuite/binutils-all/common-1d.d: Likewise.
64         * testsuite/binutils-all/common-1e.d: Likewise.
65         * testsuite/binutils-all/common-1f.d: Likewise.
66         * testsuite/binutils-all/common-2.s: Likewise.
67         * testsuite/binutils-all/common-2a.d: Likewise.
68         * testsuite/binutils-all/common-2b.d: Likewise.
69         * testsuite/binutils-all/common-2c.d: Likewise.
70         * testsuite/binutils-all/common-2d.d: Likewise.
71         * testsuite/binutils-all/common-2e.d: Likewise.
72         * testsuite/binutils-all/common-2f.d: Likewise.
73         * testsuite/binutils-all/objcopy.exp
74         (objcopy_test_elf_common_symbols): New proc.
75         Run objcopy_test_elf_common_symbols for ELF targets
76
77 2016-02-16  H.J. Lu  <hongjiu.lu@intel.com>
78
79         PR binutils/19647
80         * readelf.c (get_section_type_name): Add a missing break.
81
82 2016-02-16  Claudiu Zissulescu  <claziss@synopsys.com>
83
84         * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
85
86 2016-02-15  Nick Clifton  <nickc@redhat.com>
87
88         * readelf.c (get_section_type_name): Add hex prefix to offsets
89         printed for LOPROC and LOOS values.  Ensure that a result is
90         always returned for the V850 target, even when an unrecognised
91         processor specific value is encountered.
92         (process_section_headers): Display key values in the order in
93         which they appear to the user.  Add the "C (compressed)" value to
94         the list.
95
96 2016-02-12  H.J. Lu  <hongjiu.lu@intel.com>
97
98         * doc/binutils.texi: Fix a typo.
99
100 2016-02-05  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
101
102         * testsuite/binutils-all/objdump.exp: Update expected default
103         architecture value for ARC binaries.
104
105 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
106
107         PR binutils/19547
108         * testsuite/binutils-all/objcopy.exp
109         (objcopy_test_without_global_symbol): New proc.
110         Run objcopy_test_without_global_symbol.
111         * testsuite/binutils-all/pr19547.c: New file.
112
113 2016-01-28  H.J. Lu  <hongjiu.lu@intel.com>
114
115         PR binutils/19523
116         * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
117         runtest.
118         * Makefile.in: Regenerated.
119         * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
120         proc.
121         Run test_gnu_debuglink for native ELF build.
122
123 2016-01-20  Nick Clifton  <nickc@redhat.com>
124
125         PR 19495
126         * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
127         do not support inserting leading underscores.
128
129 2016-01-20  Mickael Guene  <mickael.guene@st.com>
130
131         * readelf.c (get_elf_section_flags): Display y letter for section
132         with SHF_ARM_NOREAD section flag in readelf section output.
133         (process_section_headers): Add y letter in readelf section output
134         key mapping for ARM architecture.
135         * objdump.c (dump_section_header): Display NOREAD attributes as
136         well.
137         * doc/binutils.texi (objdump): Note that it is correct for
138         sections to have both the READONLY and NOREAD attributes.
139
140 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
141
142         * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
143
144 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
145
146         * readelf.c (get_freebsd_elfcore_note_type): New
147         (process_note): Add support for FreeBSD core notes.
148
149 2016-01-18  Miranda Cupertino  <Cupertino.Miranda@synopsys.com>
150             Zissulescu Claudiu  <Claudiu.Zissulescu@synopsys.com>
151
152         * readelf.c (get_machine_flags): Add support for newer ARC ELF
153         header flags.
154
155 2016-01-18  Alan Modra  <amodra@gmail.com>
156
157         * configure: Regenerate.
158
159 2016-01-17  Alan Modra  <amodra@gmail.com>
160
161         * configure: Regenerate.
162
163 2016-01-17  Alan Modra  <amodra@gmail.com>
164
165         * testsuite/lib/binutils-common.exp (is_elf_format): Return true
166         for m68hc11/12 and xgate triples.
167
168 2016-01-17  Alan Modra  <amodra@gmail.com>
169
170         * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
171
172 2016-01-01  Alan Modra  <amodra@gmail.com>
173
174         Update year range in copyright notice of all files.
175
176 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
177 \f
178 Copyright (C) 2016 Free Software Foundation, Inc.
179
180 Copying and distribution of this file, with or without modification,
181 are permitted in any medium without royalty provided the copyright
182 notice and this notice are preserved.
183
184 Local Variables:
185 mode: change-log
186 left-margin: 8
187 fill-column: 74
188 version-control: never
189 End: