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