Fix a bug displaying the interpretation of a CFA block that just contains DW_CFA_NOP...
[external/binutils.git] / binutils / ChangeLog
1 2016-06-02  Nick Clifton  <nickc@redhat.com>
2
3         * dwarf.c (display_debug_frames): Do not display any
4         interpretation if the block consists solely of DW__CFA_NOPs.
5
6 2016-05-31  Alan Modra  <amodra@gmail.com>
7
8         * objcopy.c: Formatting, whitespace throughout.
9         (copy_main): Init newsym->othersym.
10         (parse_symflags): Make len a size_t.  Adjust uses.
11
12 2016-05-25  H.J. Lu  <hongjiu.lu@intel.com>
13
14         PR binutils/14625
15         * NEWS: Mention --enable-64-bit-archive.
16
17 2016-05-18  Nick Clifton  <nickc@redhat.com>
18
19         PR 20096
20         * objcopy.c (copy_relocations_in_section): Also check for the
21         symbol pointed to by sym_ptr_ptr being NULL.
22
23 2016-05-18  Maciej W. Rozycki  <macro@imgtec.com>
24
25         * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
26         * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
27         source.
28         * testsuite/binutils-all/mips/mips.exp: Run the new test.
29
30 2016-05-18  Nick Clifton  <nickc@redhat.com>
31
32         * po/sv.po: Updated Swedish translation.
33
34 2016-05-18  Maciej W. Rozycki  <macro@imgtec.com>
35
36         * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
37         <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
38         <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
39         <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
40         <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
41         <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
42         `d_val' rather than `d_ptr' member of the dynamic entry.
43
44 2016-05-17  Maciej W. Rozycki  <macro@imgtec.com>
45
46         * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
47         procedure.
48         * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
49         with the `strip-10' test.
50
51 2016-05-16  Maciej W. Rozycki  <macro@imgtec.com>
52
53         * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
54         test for the V850.
55
56 2016-05-11  Andrew Bennett  <andrew.bennett@imgtec.com>
57
58         * readelf.c (print_mips_ases): Add DSPR3.
59
60 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
61
62         * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
63         (arm_attr_public_tags): Define DSP_extension attribute.
64
65 2016-05-10  Andrew Burgess  <andrew.burgess@embecosm.com>
66
67         * doc/binutils.texi (nm): Update description of --size-sort.
68
69 2016-05-09  Nick Clifton  <nickc@redhat.com>
70
71         PR binutils/20063
72         * readelf.c (get_32bit_section_headers): Warn if an out of range
73         sh_link or sh_info field is encountered.
74         (get_64bit_section_headers): Likewise.
75
76 2016-05-04  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
77
78         * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
79
80 2016-05-03  Nick Clifton  <nickc@redhat.com>
81
82         * po/sv.po: Updated Swedish translation.
83
84 2016-04-29  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
85
86         * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
87         PC relocation for AVR target.
88         (is_none_reloc): Return true if reloc is any of AVR diff
89         relocations.
90
91 2016-04-29  Nick Clifton  <nickc@redhat.com>
92
93         PR 19938
94         * readelf.c (get_solaris_segment_type): New function.
95         (get_segment_type): Call it.
96
97 2016-04-28  Nick Clifton  <nickc@redhat.com>
98
99         * po/zh_CN.po: Updated Chinese (simplified) translation.
100
101 2016-04-28  Nick Clifton  <nickc@redhat.com>
102
103         PR target/19722
104         * testsuite/binutils-all/aarch64/illegal.s: New test.
105         * testsuite/binutils-all/aarch64/illegal.d: New test driver.
106
107 2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
108
109         * resres.c: Likewise.
110
111 2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
112
113         * Makefile.in: Regenerated with automake 1.11.6.
114         * aclocal.m4: Likewise.
115         * doc/Makefile.in: Likewise.
116
117 2016-04-14  Nick Clifton  <nickc@redhat.com>
118
119         PR target/19938
120         * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
121         string sections possibly having the SHF_STRINGS flag bit set.
122         * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
123         * testsuite/binutils-all/readelf.s: Likewise.
124         * testsuite/binutils-all/readelf.s-64: Likewise.
125         * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
126         * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
127
128 2016-04-13  Nick Clifton  <nickc@redhat.com>
129
130         PR target/19938
131         * readelf.c (get_solaris_section_type): New function: Returns the
132         name of Solaris specific section types.
133         (get_solaris_dynamic_type): New function: Return the name of
134         Solaris specific dynamic types.
135         (get_dynamic_type): Use get_solaris_dynamic_type.
136         (get_section_type_name): Use get_solaris_section_type.
137         (get_solaris_symbol_visibility): New function: Returns Solaris
138         specific symbol visibilities.
139         (print_dynamic_symbol): Use get_solaris_symbol_visibility.
140         (process_symbol_table): Likewise.
141
142 2016-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
143
144         * dwarf.h (init_dwarf_regnames_s390): Declare.
145         * dwarf.c (dwarf_regnames_s390): New.
146         (init_dwarf_regnames_s390): New.
147         (init_dwarf_regnames): Call it.
148         * objdump.c (dump_dwarf): Likewise.
149
150 2016-04-11  Maciej W. Rozycki  <macro@imgtec.com>
151
152         * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
153         * testsuite/binutils-all/mips/mips16-undecoded.s: New test
154         source.
155         * testsuite/binutils-all/mips/mips.exp: Run the new test.
156
157 2016-04-04  Nick Clifton  <nickc@redhat.com>
158
159         PR 19872
160         * dwarf.c (display_debug_aranges): Skip warning about unrecognised
161         version number if the version is zero.
162
163 2016-03-29  Alan Modra  <amodra@gmail.com>
164
165         * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
166         (get_dynamic_data): Likewise.
167
168 2016-03-22  Nick Clifton  <nickc@redhat.com>
169
170         PR 19851
171         * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
172         with run time size check.
173
174         * configure: Regenerate.
175
176 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
177
178         * readelf.c (decode_ARC_machine_flags): Handle nps400.
179
180 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
181
182         * readelf.c (get_machine_flags): Move arc processing into...
183         (decode_ARC_machine_flags): ... new function.  Remove use of
184         EF_ARC_CPU_GENERIC, change default case from "generic arc" to
185         "unknown arc".  Merged ABI printing between two machine types.
186
187 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
188
189         * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
190         to the architecture list.
191
192 2016-03-21  Nick Clifton  <nickc@redhat.com>
193
194         * dlltool.c: Replace use of alloca with call to xmalloc.
195         * dllwrap.c: Likewise.
196         * nlmconv.c: Likewise.
197         * objdump.c: Likewise.
198         * resrc.c: Likewise.
199         * winduni.c: Likewise.
200         * configure: Regenerate.
201
202 2016-03-07  Nick Clifton  <nickc@redhat.com>
203
204         PR binutils/19775
205         * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
206         Run the new proc.
207         * testsuite/binutils-all/empty: New, empty, file.
208
209 2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
210
211         * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
212
213 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
214
215         PR ld/19645
216         * NEWS: Mention --elf-stt-common= for objcopy.
217         * doc/binutils.texi: Document --elf-stt-common= for objcopy.
218         * objcopy.c (do_elf_stt_common): New.
219         (command_line_switch): Add OPTION_ELF_STT_COMMON.
220         (copy_options): Add --elf-stt-common=.
221         (copy_usage): Add --elf-stt-common=.
222         (copy_object): Also check do_elf_stt_common for ELF targets.
223         (copy_file): Handle do_elf_stt_common.
224         (copy_main): Handle OPTION_ELF_STT_COMMON.
225         * readelf.c (apply_relocations): Support STT_COMMON.
226         * testsuite/binutils-all/common-1.s: New file.
227         * testsuite/binutils-all/common-1a.d: Likewise.
228         * testsuite/binutils-all/common-1b.d: Likewise.
229         * testsuite/binutils-all/common-1c.d: Likewise.
230         * testsuite/binutils-all/common-1d.d: Likewise.
231         * testsuite/binutils-all/common-1e.d: Likewise.
232         * testsuite/binutils-all/common-1f.d: Likewise.
233         * testsuite/binutils-all/common-2.s: Likewise.
234         * testsuite/binutils-all/common-2a.d: Likewise.
235         * testsuite/binutils-all/common-2b.d: Likewise.
236         * testsuite/binutils-all/common-2c.d: Likewise.
237         * testsuite/binutils-all/common-2d.d: Likewise.
238         * testsuite/binutils-all/common-2e.d: Likewise.
239         * testsuite/binutils-all/common-2f.d: Likewise.
240         * testsuite/binutils-all/objcopy.exp
241         (objcopy_test_elf_common_symbols): New proc.
242         Run objcopy_test_elf_common_symbols for ELF targets
243
244 2016-02-16  H.J. Lu  <hongjiu.lu@intel.com>
245
246         PR binutils/19647
247         * readelf.c (get_section_type_name): Add a missing break.
248
249 2016-02-16  Claudiu Zissulescu  <claziss@synopsys.com>
250
251         * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
252
253 2016-02-15  Nick Clifton  <nickc@redhat.com>
254
255         * readelf.c (get_section_type_name): Add hex prefix to offsets
256         printed for LOPROC and LOOS values.  Ensure that a result is
257         always returned for the V850 target, even when an unrecognised
258         processor specific value is encountered.
259         (process_section_headers): Display key values in the order in
260         which they appear to the user.  Add the "C (compressed)" value to
261         the list.
262
263 2016-02-12  H.J. Lu  <hongjiu.lu@intel.com>
264
265         * doc/binutils.texi: Fix a typo.
266
267 2016-02-05  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
268
269         * testsuite/binutils-all/objdump.exp: Update expected default
270         architecture value for ARC binaries.
271
272 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
273
274         PR binutils/19547
275         * testsuite/binutils-all/objcopy.exp
276         (objcopy_test_without_global_symbol): New proc.
277         Run objcopy_test_without_global_symbol.
278         * testsuite/binutils-all/pr19547.c: New file.
279
280 2016-01-28  H.J. Lu  <hongjiu.lu@intel.com>
281
282         PR binutils/19523
283         * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
284         runtest.
285         * Makefile.in: Regenerated.
286         * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
287         proc.
288         Run test_gnu_debuglink for native ELF build.
289
290 2016-01-20  Nick Clifton  <nickc@redhat.com>
291
292         PR 19495
293         * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
294         do not support inserting leading underscores.
295
296 2016-01-20  Mickael Guene  <mickael.guene@st.com>
297
298         * readelf.c (get_elf_section_flags): Display y letter for section
299         with SHF_ARM_NOREAD section flag in readelf section output.
300         (process_section_headers): Add y letter in readelf section output
301         key mapping for ARM architecture.
302         * objdump.c (dump_section_header): Display NOREAD attributes as
303         well.
304         * doc/binutils.texi (objdump): Note that it is correct for
305         sections to have both the READONLY and NOREAD attributes.
306
307 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
308
309         * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
310
311 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
312
313         * readelf.c (get_freebsd_elfcore_note_type): New
314         (process_note): Add support for FreeBSD core notes.
315
316 2016-01-18  Miranda Cupertino  <Cupertino.Miranda@synopsys.com>
317             Zissulescu Claudiu  <Claudiu.Zissulescu@synopsys.com>
318
319         * readelf.c (get_machine_flags): Add support for newer ARC ELF
320         header flags.
321
322 2016-01-18  Alan Modra  <amodra@gmail.com>
323
324         * configure: Regenerate.
325
326 2016-01-17  Alan Modra  <amodra@gmail.com>
327
328         * configure: Regenerate.
329
330 2016-01-17  Alan Modra  <amodra@gmail.com>
331
332         * testsuite/lib/binutils-common.exp (is_elf_format): Return true
333         for m68hc11/12 and xgate triples.
334
335 2016-01-17  Alan Modra  <amodra@gmail.com>
336
337         * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
338
339 2016-01-01  Alan Modra  <amodra@gmail.com>
340
341         Update year range in copyright notice of all files.
342
343 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
344 \f
345 Copyright (C) 2016 Free Software Foundation, Inc.
346
347 Copying and distribution of this file, with or without modification,
348 are permitted in any medium without royalty provided the copyright
349 notice and this notice are preserved.
350
351 Local Variables:
352 mode: change-log
353 left-margin: 8
354 fill-column: 74
355 version-control: never
356 End: