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