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