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