961dfb2ede779c5312d342f9cc1ffe82469e41d0
[external/binutils.git] / binutils / ChangeLog
1 2016-12-23  Tristan Gingold  <gingold@adacore.com>
2
3         * NEWS: Add marker for 2.28.
4
5 2016-12-23  Tristan Gingold  <gingold@adacore.com>
6
7         * po/binutils.pot: Regenerate.
8
9 2016-12-20  Maciej W. Rozycki  <macro@imgtec.com>
10
11         * testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module'
12         rather than `.set' to set the ISA level.
13
14 2016-12-20  Maciej W. Rozycki  <macro@imgtec.com>
15
16         * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
17         test for separate EXTEND prefix disassembly.
18
19 2016-12-20  Andrew Waterman  <andrew@sifive.com>
20
21         * readelf.c (get_machine_flags): Use
22         EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
23         EF_RISCV_{SOFT,HARD}_FLOAT.
24
25 2016-12-14  Maciej W. Rozycki  <macro@imgtec.com>
26
27         * testsuite/binutils-all/mips/mips-ase-1.d: New test.
28         * testsuite/binutils-all/mips/mips-ase-2.d: New test.
29         * testsuite/binutils-all/mips/mips-ase-3.d: New test.
30         * testsuite/binutils-all/mips/mips-ase-1.s: New test source.
31         * testsuite/binutils-all/mips/mips-ase-2.s: New test source.
32         * testsuite/binutils-all/mips/mips.exp: Run the new tests.
33
34 2016-12-13  Jiong Wang  <jiong.wang@arm.com>
35
36         * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
37
38 2016-12-13  Nick Clifton  <nickc@redhat.com>
39
40         * MAINTAINERS (Past Maintainers): New section.  Move Mark
41         Mitchell's name here.
42
43 2016-12-09  Maciej W. Rozycki  <macro@imgtec.com>
44
45         * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
46         * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
47         source.
48         * testsuite/binutils-all/mips/mips.exp: Run the new test.
49
50 2016-12-08  Maciej W. Rozycki  <macro@imgtec.com>
51
52         * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
53         * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
54         * testsuite/binutils-all/mips/mips.exp: Run the new test.
55
56 2016-12-08  Étienne Buira  <etienne.buira@gmail.com>
57
58         * readelf.c (process_program_headers): Always use hex prefix when
59         displaying the segment alignment.
60
61 2016-12-06  Nick Clifton  <nickc@redhat.com>
62
63         PR binutils/20930
64         * objcopy.c (mark_symbols_used_in_relocations): Check for a null
65         symbol pointer pointer before attempting to mark the symbol as
66         kept.
67
68 2016-12-05  Jose E. Marchesi  <jose.marchesi@oracle.com>
69
70         * MAINTAINERS: Add myself as maintainer for the SPARC targets.
71
72 2016-12-05  Nick Clifton  <nickc@redhat.com>
73
74         PR ld/20923
75         * objcopy.c (mark_symbols_used_in_relocations): Check for a null
76         symbol pointer before attempting to mark the symbol as kept.
77
78 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
79
80         * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
81         is synthetic.
82
83 2016-11-30  Nick Clifton  <nickc@redhat.com>
84
85         PR ld/20815
86         * readelf.c (process_program_headers): Do not warn about out of
87         order PT_LOAD segments.
88
89 2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>
90
91         * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
92         test.
93
94 2016-11-27  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
95
96         * dwarf.c: Fix spelling in comments.
97         * dwarf.h: Fix spelling in comments.
98         * objcopy.c: Fix spelling in comments.
99         * od-macho.c: Fix spelling in comments.
100         * rclex.c: Fix spelling in comments.
101         * readelf.c: Fix spelling in comments.
102         * stabs.c: Fix spelling in comments.
103
104 2016-11-23  Nick Clifton  <nickc@redhat.com>
105
106         PR ld/20815
107         * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
108         segments for validity.
109
110 2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
111
112         * configure: Regenerate.
113
114 2016-11-22  Alan Modra  <amodra@gmail.com>
115
116         PR 20744
117         * NEWS: Mention PowerPC VLE relocation error.
118
119 2016-11-16  Mark Wielaard  <mark@klomp.org>
120
121         * cxxfilt.c (main): Recognize rust_demangling.
122
123 2016-11-14  Rudy  <jacky.chouchou@yandex.ru>
124
125         PR binutils/20814
126         * dlltool.c (struct export): Remove hint field.
127         (make_one_lib_file): Store the ordinal value for IDATA6 not the
128         hint.
129         (gen_lib_file): Delete reference to hint field.
130         (mangle_defs): Delete computation of hint field.
131
132 2016-11-11  Nick Clifton  <nickc@redhat.com>
133
134         PR binutils/20751
135         * nm.c (with_symbol_versions): New local variable.
136         (long_options): Add --with-symbol-versions.
137         (usage): Mention --with-symbol-versions.
138         (print_symbol): If with_symbol_versions is set then display the
139         version information associated with the symbol.
140         * NEWS: Mention the new feature.
141         * doc/binutils.texi (nm): Document the new option.
142         (objdump): Describe how symbol version information is displayed
143         for dynamic symbol dumps.
144         (readelf): Describe how symbol version information is displayed.
145         * testsuite/binutils-all/nm.exp: Add a test of the new feature.
146
147 2016-11-08  Nick Clifton  <nickc@redhat.com>
148
149         PR binutils/20794
150         * readelf.c (process_section_headers): Fix off-by-one error when
151         checking for invalid sh_link and sh_info fields.
152
153 2016-11-04  Andrew Burgess  <andrew.burgess@embecosm.com>
154
155         * objcopy.c (copy_section): Add extra calls to free for error
156         paths.
157
158 2016-11-04  Tom Tromey  <tom@tromey.com>
159
160         * dwarf-mode.el (dwarf-browse): Set default-directory.  Bump
161         version number.
162
163 2016-11-04  Palmer Dabbelt <palmer@dabbelt.com>
164
165         * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
166         the RISC-V target.
167
168 2016-11-01  Palmer Dabbelt  <palmer@dabbelt.com>
169             Andrew Waterman <andrew@sifive.com>
170
171         Add support for RISC-V architecture.
172         * readelf.c (guess_is_rela): Add EM_RISCV.
173         (get_machine_name): Likewise.
174         (dump_relocations): Add support for riscv relocations.
175         (get_machine_flags): Add support for riscv flags.
176         (is_32bit_abs_reloc): Add R_RISCV_32.
177         (is_64bit_abs_reloc): Add R_RISCV_64.
178         (is_none_reloc): Add R_RISCV_NONE.
179         * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
180         Expect the debug_ranges test to fail.
181
182 2016-10-17  Nick Clifton  <nickc@redhat.com>
183
184         * readelf.c (apply_relocations): Fail if the symbol table section
185         linked to by the reloc section does not have either the SHT_SYMTAB
186         or SHT_DYNSYM type.
187         (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
188         Print the contents of unknown note types.
189         (process_note): Add the file and section to the parameter list.
190         Use print_symbol to display the note name.
191         Display the contents of unknown note types.
192         (process_corefile_note_segment): Rename to process_notes_at.
193         Add section parameter.  Apply relocations to the notes when
194         loading from a section.  Display section name when processing
195         notes in a section.
196         * testsuite/binutils-all/readelf.n: Update expected output.
197
198 2016-10-17  Nick Clifton  <nickc@redhat.com>
199
200         * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
201         (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
202         EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
203         EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
204         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
205         EM_Z80, EM_AMDGPU, EM_RISCV.
206         (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
207         (get_group_flags): Update to handle flags in the
208         GRP_MASKOS and GRP_MASKPROC ranges.
209
210 2016-10-14  Luis Machado  <lgustavo@codesourcery.com>
211
212         * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
213         to copy file to remote host.
214
215 2016-10-11  Nick Clifton  <nickc@redhat.com>
216
217         * objdump.c (is_significant_symbol_name): New function.
218         (remove_useless_symbols): Do not remove significanr symbols.
219         (find_symbol_for_address): If an exact match for the specified
220         address has not been found, try scanning the dynamic relocs to see
221         if one of these matches the address.  If so, use the symbol
222         associated with the reloc.
223         (objdump_print_addr_with_symbol): Do not print offsets to symbols
224         with no value.
225         (disassemble_section): Only use dynamic relocs if the user
226         requested this.
227         (disassemble_data): Always load dynamic relocs if they are
228         available.
229
230 2016-10-06  Alan Modra  <amodra@gmail.com>
231
232         * dlltool.c: Spell fall through comments consistently.
233         * objcopy.c: Likewise.
234         * readelf.c: Likewise.
235         * dwarf.c: Add missing fall through comments.
236         * elfcomm.c: Likewise.
237         * sysinfo.y: Likewise.
238         * readelf.c: Likewise.  Also remove extraneous comments.
239
240 2016-10-06  Alan Modra  <amodra@gmail.com>
241
242         * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
243         * elfedit.c (usage): Likewise.
244         * nm.c (usage): Likewise.
245         * objcopy.c (copy_usage, strip_usage): Likewise.
246         * srconv.c (show_usage): Likewise.
247         * strings.c (usage): Likewise.
248         * sysdump.c (show_usage): Likewise.
249         * srconv.c: Remove unneeded forward function declarations.
250         * strings.c: Likewise.
251         * sysdump.c: Likewise.
252
253 2016-10-06  Alan Modra  <amodra@gmail.com>
254
255         * coffdump.c (dump_coff_where): Add missing break.
256         * stabs.c (stab_xcoff_builtin_type): Likewise.
257
258 2016-09-29  Alan Modra  <amodra@gmail.com>
259
260         * readelf.c (process_arch_specific): Call process_power_specific
261         for EM_PPC64.
262
263 2016-09-26  Vlad Zakharov  <vzakhar@synopsys.com>
264
265         * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
266         when building with CC_FOR_BUILD compiler.
267         * Makefile.in: Regenerate.
268         * configure: Likewise.
269         * doc/Makefile.in: Likewise.
270
271 2016-09-26  Alan Modra  <amodra@gmail.com>
272
273         * readelf.c (display_power_gnu_attribute): Catch truncated section
274         for all powerpc attributes.  Display long double ABI.  Don't
275         capitalize words, except for names.  Show known bits of tag values
276         when some unknown bits are present.  Whitespace fixes.
277
278 2016-09-26  Alan Modra  <amodra@gmail.com>
279
280         * nm.c (get_elf_symbol_type): Don't use sprintf with translated
281         strings, use asprintf instead.
282         (get_coff_symbol_type): Likewise.
283
284 2016-09-19  Alan Modra  <amodra@gmail.com>
285
286         * nm.c (print_symbol): Remove is_synthetic param.  Test sym->flags
287         instead.
288         (print_size_symbols, print_symbols): Adjust to suit, deleting
289         now unused synth_count param and fromsynth var.
290         (display_rel_file): Adjust, localizing synth_count.
291
292 2016-09-14  Ed Maste  <emaste@freebsd.org>
293
294         * readelf.c (process_mips_specific): Fix typo in error message.
295
296 2016-09-06  Nick Clifton  <nickc@redhat.com>
297
298         * readelf.c (request_dump_bynumber): Only call memcpy if
299         dump_sects is not NULL.
300
301 2016-08-29  H.J. Lu  <hongjiu.lu@intel.com>
302
303         * readelf.c (load_specific_debug_section): Check the external
304         compression header size.
305
306 2016-08-19  Nick Clifton  <nickc@redhat.com>
307
308         * testsuite/binutils-all/readelf.s: Adjust expected ordering of
309         sections.
310         * testsuite/binutils-all/readelf.s-64: Likewise.
311
312 2016-08-12  Nick Clifton  <nickc@redhat.com>
313
314         * readelf.c (process_symbol_table): Generate a warning if a local
315         symbol is found at and offste greater than or equal to the sh_info
316         field of it's section header.
317
318 2016-08-08  Nick Clifton  <nickc@redhat.com>
319
320         PR binutils/20440
321         * dwarf.c (display_debug_lines_decoded): Add checks for running
322         off the end of the section when populating the directory table and
323         file table.
324         (frame_display_row): Set max_regs equal to ncols.
325         * readelf.c (load_specific_debug_section): If the section is
326         compressed, but it is not big enough to hold a compression
327         header then warn and return 0.
328
329         PR binutils/20439
330         * dwarf.c (display_debug_lines_decoded): Check directory and file
331         indicies before using them to access directory and file tables.
332
333 2016-08-02  Nick Clifton  <nickc@redhat.com>
334
335         PR binutils/17512
336         * resbin.c (bin_to_res_version): Cast variables to correct type
337         for printing in error message.
338
339 2016-07-28  Nick Clifton  <nickc@redhat.com>
340
341         PR binutils/17512
342         * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
343         * resbin.c (bin_to_res_version): Allow for the padded length of a
344         version block to be longer than the recorded length.  Skip padding
345         bytes.
346
347 2016-07-21  H.J. Lu  <hongjiu.lu@intel.com>
348
349         * configure: Regenerated.
350
351 2016-07-20  Claudiu Zissulescu  <claziss@synopsys.com>
352
353         * doc/binutils.texi (objdump): Add ARC disassembler options.
354         * testsuite/binutils-all/arc/dsp.s: New file.
355         * testsuite/binutils-all/arc/objdump.exp: Likewise.
356         * NEWS: Mention the new feature.
357
358 2016-07-20  Nick Clifton  <nickc@redhat.com>
359
360         * doc/binutils.texi (objcopy): Note that the localize symbol
361         options do not affect unique symbols.
362
363 2016-07-16  Alan Modra  <amodra@gmail.com>
364
365         * ar.c: Include plugin-api.h.
366         * nm.c: Likewise.
367
368 2016-07-16  Alan Modra  <amodra@gmail.com>
369
370         * bucomm.c: Don't include libbfd.h.
371         (endian_string, display_target_list): Delete forward declaration.
372         (display_info_table, display_target_tables): Likewise.
373         (LONGEST_ARCH): Delete.
374         (struct display_target): New.
375         (do_display_target): New function.
376         (display_target_list, display_info): Rewrite functions.
377         (display_info_table): Delete.
378         (do_info_size, do_info_header, do_info_row): New functions.
379
380 2016-07-16  Alan Modra  <amodra@gmail.com>
381
382         * elfcomm.h (HOST_WIDEST_INT): Move to..
383         * sysdep.h: ..here.
384         * od-macho.c: Don't include libbfd.h.  Do include dwarf.h
385         (dump_dyld_info_rebase): Use read_leb128 rather than
386         read_unsigned_leb128.
387         (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
388         (dump_segment_split_info): Likewise.
389         (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
390         (dump_load_command): Likewise.
391
392 2016-07-16  Alan Modra  <amodra@gmail.com>
393
394         * ar.c: Don't include libbfd.h.
395         * objcopy.c: Likewise.
396         * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
397         bfd_malloc.
398
399 2016-07-15  Alan Modra  <amodra@gmail.com>
400
401         * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
402
403 2016-07-14  Andrew Burgess  <andrew.burgess@embecosm.com>
404
405         * doc/binutils.texi (objcopy): Document 'remove-relocations'.
406         (strip): Likewise.
407         * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
408         (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
409         (struct option strip_options): Add 'remove-relocations'.
410         (struct option copy_options): Likewise.
411         (copy_usage): Likewise.
412         (strip_usage): Likewise.
413         (handle_remove_relocations_option): New function.
414         (discard_relocations): New function.
415         (handle_remove_section_option): New function.
416         (copy_relocations_in_section): Use discard_relocations.
417         (strip_main): Use handle_remove_section_option for
418         'remove-section', and handle 'remove-relocations' option.
419         (copy_main): Likewise.
420         * testsuite/binutils-all/objcopy.exp: Run new tests.
421         * testsuite/binutils-all/remove-relocs-01.d: New file.
422         * testsuite/binutils-all/remove-relocs-01.s: New file.
423         * testsuite/binutils-all/remove-relocs-02.d: New file.
424         * testsuite/binutils-all/remove-relocs-03.d: New file.
425         * testsuite/binutils-all/remove-relocs-04.d: New file.
426         * testsuite/binutils-all/remove-relocs-05.d: New file.
427         * testsuite/binutils-all/remove-relocs-06.d: New file.
428         * NEWS: Mention new option.
429
430 2016-07-14  Andrew Burgess  <andrew.burgess@embecosm.com>
431
432         * objcopy.c (find_section_list): Handle section patterns starting
433         with '!' being a non-matching pattern.
434         * doc/binutils.texi (objcopy): Give example of using '!' with
435         --remove-section and --only-section.
436         (strip): Give example of using '!' with --remove-section.
437         * testsuite/binutils-all/data-sections.s: New file.
438         * testsuite/binutils-all/only-section-01.d: New file.
439         * testsuite/binutils-all/remove-section-01.d: New file.
440         * testsuite/binutils-all/objcopy.exp: Run new tests.
441         * NEWS: Mention new feature.
442
443 2016-07-09  Alan Modra  <amodra@gmail.com>
444
445         PR binutils/20337
446         * objdump.c (compare_symbols): For ELF, sort same value/type
447         symbols according to size.
448
449 2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>
450
451         * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
452         to SEC_ELF_NOREAD.
453         * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
454         ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
455         (process_section_headers): Rename noread to purecode.
456
457         * section.c (SEC_ELF_NOREAD): Rename to ...
458         (SEC_ELF_PURECODE): ... this.
459
460 2016-07-01  Nick Clifton  <nickc@redhat.com>
461
462         * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
463         extremely large decimal value.
464         (pr_range_type): Likewise.
465         (pr_array_type): Likewise.
466         (pr_struct_field): Likewise.
467         (pr_class_baseclass): Likewise.
468         (pr_class_method_variant): Likewise.
469         (pr_tag_type): Likewise.
470         (pr_int_constant): Likewise.
471         (pr_typed_constant): Likewise.
472         (pr_variable): Likewise.
473         (pr_function_parameter): Likewise.
474         (pr_start_block): Likewise.
475         (pr_lineno): Likewise.
476         (pr_end_block): Likewise.
477         (tg_enum_type): Likewise.
478         (tg_int_constant): Likewise.
479         (tg_typed_constant): Likewise.
480         (tg_start_block): Likewise.
481
482 2016-07-01  Nick Clifton  <nickc@redhat.com>
483
484         * testsuite/binutils-all/objcopy.exp
485         (objcopy_test_without_global_symbol): Expect this test to fail on
486         the AArch64 and ARM targets, since they preserve their mapping
487         symbols.
488
489 2016-07-01  Tristan Gingold  <gingold@adacore.com>
490
491         * NEWS: Add marker for 2.27.
492
493 2016-07-30  Tristan Gingold  <gingold@adacore.com>
494
495         * doc/binutils.texi (objdump): Fix mis-placement.
496
497 2016-06-28  Nick Clifton  <nickc@redhat.com>
498
499         * testsuite/binutils-all/ar.exp: Relax previous restriction on
500         Alpha targets.  Allow ELF based Alpha targets.
501
502 2016-06-28  Maciej W. Rozycki  <macro@imgtec.com>
503
504         * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
505         the `unique_symbol' test.
506
507 2016-06-28  Alan Modra  <amodra@gmail.com>
508
509         PR 20304
510         * objdump.c (objdump_print_symname): Don't attempt to retrieve
511         version info from synthetic symbols.
512
513 2016-06-24  Alan Modra  <amodra@gmail.com>
514
515         * objcopy.c (find_section_rename): Forward declare.  Remove
516         ibfd and sec_ptr param.  Add old_name param.  Allow for NULL
517         returned_flags.  Move read of section name and flags to..
518         (setup_section): ..here.  Update find_section_rename call.
519         (filter_symbols): Rename section symbols for renamed sections.
520         (copy_object): Call filter_symbols when renamed sections.
521         * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
522         * testsuite/binutils-all/update-section.exp: Revert 96037eb0
523         mips xfail.
524         * testsuite/binutils-all/objcopy.exp (copy_executable): Use
525         is_bad_symtab.
526         (localize-hidden-1): xfail if is_bad_symtab.
527         * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
528         between mips/tmips.
529
530 2016-06-24  Alan Modra  <amodra@gmail.com>
531
532         * objdump.c (struct print_file_list): Add "max_printed".
533         (try_print_file_open): Init new field.
534         (show_line): Don't show 5 context lines when redisplaying source.
535
536 2016-06-22  Nick Clifton  <nickc@redhat.com>
537
538         * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
539         Skip bfdtest1 tests for tic30 target.
540         * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
541         target.
542         * testsuite/binutils-all/compress.exp: Expect some tests to fail
543         on the nds32.
544         * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
545         * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
546         targets.
547         * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
548         targets.
549         * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
550         if the bintest.o file was created.  Use the
551         get_standard_section_names proc to get the name of the data
552         section.
553         * testsuite/binutils-all/objdump.exp: Update regexps to allow for
554         RX section names.
555         * testsuite/binutils-all/readelf.exp: Use
556         get_standard_section_names proc to get the name of the data
557         section.
558         * testsuite/binutils-all/readelf.r: Allow for non standard text
559         section names.
560         * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
561         * testsuite/binutils-all/size.exp: Allow for non standard section
562         names.
563         * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
564         to fail on mips targets.
565         * testsuite/lib/utils-lib.exp (default_binutils_run): Use
566         get_standard_section_names proc.
567         (run_dump_test): Likewise.
568         (proc get_standard_section_names): New proc.
569
570 2016-06-22  Nick Clifton  <nickc@redhat.com>
571
572         * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
573         (process_mips_specific): Likewise.
574         (process_gnu_liblist): Likewise.
575
576 2016-06-21  Graham Markall  <graham.markall@embecosm.com>
577
578         * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
579         case.
580
581 2016-06-15  Nick Clifton  <nickc@redhat.com>
582
583         * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
584         reloc.
585
586 2016-06-14  John Baldwin  <jhb@FreeBSD.org>
587
588         * objcopy.c (do_elf_stt_common): Use correct type.
589
590 2016-06-14  Alan Modra  <amodra@gmail.com>
591
592         * ar.c: Expand uses of bfd_my_archive.
593         * size.c: Likewise.
594
595 2016-06-14  Alan Modra  <amodra@gmail.com>
596
597         PR ld/20241
598         * bucomm.c (bfd_get_archive_filename): Return file name within thin
599         archive.
600
601 2016-06-02  Nick Clifton  <nickc@redhat.com>
602
603         PR 20089
604         * objcopy.c (group_signature): Fail if the input symbol table has
605         not been loaded, or if the sh_info field of the group header is 0.
606
607         * dwarf.c (display_debug_frames): Do not display any
608         interpretation if the block consists solely of DW__CFA_NOPs.
609
610 2016-05-31  Alan Modra  <amodra@gmail.com>
611
612         * objcopy.c: Formatting, whitespace throughout.
613         (copy_main): Init newsym->othersym.
614         (parse_symflags): Make len a size_t.  Adjust uses.
615
616 2016-05-25  H.J. Lu  <hongjiu.lu@intel.com>
617
618         PR binutils/14625
619         * NEWS: Mention --enable-64-bit-archive.
620
621 2016-05-18  Nick Clifton  <nickc@redhat.com>
622
623         PR 20096
624         * objcopy.c (copy_relocations_in_section): Also check for the
625         symbol pointed to by sym_ptr_ptr being NULL.
626
627 2016-05-18  Maciej W. Rozycki  <macro@imgtec.com>
628
629         * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
630         * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
631         source.
632         * testsuite/binutils-all/mips/mips.exp: Run the new test.
633
634 2016-05-18  Nick Clifton  <nickc@redhat.com>
635
636         * po/sv.po: Updated Swedish translation.
637
638 2016-05-18  Maciej W. Rozycki  <macro@imgtec.com>
639
640         * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
641         <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
642         <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
643         <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
644         <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
645         <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
646         `d_val' rather than `d_ptr' member of the dynamic entry.
647
648 2016-05-17  Maciej W. Rozycki  <macro@imgtec.com>
649
650         * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
651         procedure.
652         * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
653         with the `strip-10' test.
654
655 2016-05-16  Maciej W. Rozycki  <macro@imgtec.com>
656
657         * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
658         test for the V850.
659
660 2016-05-11  Andrew Bennett  <andrew.bennett@imgtec.com>
661
662         * readelf.c (print_mips_ases): Add DSPR3.
663
664 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
665
666         * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
667         (arm_attr_public_tags): Define DSP_extension attribute.
668
669 2016-05-10  Andrew Burgess  <andrew.burgess@embecosm.com>
670
671         * doc/binutils.texi (nm): Update description of --size-sort.
672
673 2016-05-09  Nick Clifton  <nickc@redhat.com>
674
675         PR binutils/20063
676         * readelf.c (get_32bit_section_headers): Warn if an out of range
677         sh_link or sh_info field is encountered.
678         (get_64bit_section_headers): Likewise.
679
680 2016-05-04  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
681
682         * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
683
684 2016-05-03  Nick Clifton  <nickc@redhat.com>
685
686         * po/sv.po: Updated Swedish translation.
687
688 2016-04-29  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
689
690         * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
691         PC relocation for AVR target.
692         (is_none_reloc): Return true if reloc is any of AVR diff
693         relocations.
694
695 2016-04-29  Nick Clifton  <nickc@redhat.com>
696
697         PR 19938
698         * readelf.c (get_solaris_segment_type): New function.
699         (get_segment_type): Call it.
700
701 2016-04-28  Nick Clifton  <nickc@redhat.com>
702
703         * po/zh_CN.po: Updated Chinese (simplified) translation.
704
705 2016-04-28  Nick Clifton  <nickc@redhat.com>
706
707         PR target/19722
708         * testsuite/binutils-all/aarch64/illegal.s: New test.
709         * testsuite/binutils-all/aarch64/illegal.d: New test driver.
710
711 2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
712
713         * resres.c: Likewise.
714
715 2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
716
717         * Makefile.in: Regenerated with automake 1.11.6.
718         * aclocal.m4: Likewise.
719         * doc/Makefile.in: Likewise.
720
721 2016-04-14  Nick Clifton  <nickc@redhat.com>
722
723         PR target/19938
724         * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
725         string sections possibly having the SHF_STRINGS flag bit set.
726         * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
727         * testsuite/binutils-all/readelf.s: Likewise.
728         * testsuite/binutils-all/readelf.s-64: Likewise.
729         * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
730         * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
731
732 2016-04-13  Nick Clifton  <nickc@redhat.com>
733
734         PR target/19938
735         * readelf.c (get_solaris_section_type): New function: Returns the
736         name of Solaris specific section types.
737         (get_solaris_dynamic_type): New function: Return the name of
738         Solaris specific dynamic types.
739         (get_dynamic_type): Use get_solaris_dynamic_type.
740         (get_section_type_name): Use get_solaris_section_type.
741         (get_solaris_symbol_visibility): New function: Returns Solaris
742         specific symbol visibilities.
743         (print_dynamic_symbol): Use get_solaris_symbol_visibility.
744         (process_symbol_table): Likewise.
745
746 2016-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
747
748         * dwarf.h (init_dwarf_regnames_s390): Declare.
749         * dwarf.c (dwarf_regnames_s390): New.
750         (init_dwarf_regnames_s390): New.
751         (init_dwarf_regnames): Call it.
752         * objdump.c (dump_dwarf): Likewise.
753
754 2016-04-11  Maciej W. Rozycki  <macro@imgtec.com>
755
756         * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
757         * testsuite/binutils-all/mips/mips16-undecoded.s: New test
758         source.
759         * testsuite/binutils-all/mips/mips.exp: Run the new test.
760
761 2016-04-04  Nick Clifton  <nickc@redhat.com>
762
763         PR 19872
764         * dwarf.c (display_debug_aranges): Skip warning about unrecognised
765         version number if the version is zero.
766
767 2016-03-29  Alan Modra  <amodra@gmail.com>
768
769         * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
770         (get_dynamic_data): Likewise.
771
772 2016-03-22  Nick Clifton  <nickc@redhat.com>
773
774         PR 19851
775         * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
776         with run time size check.
777
778         * configure: Regenerate.
779
780 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
781
782         * readelf.c (decode_ARC_machine_flags): Handle nps400.
783
784 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
785
786         * readelf.c (get_machine_flags): Move arc processing into...
787         (decode_ARC_machine_flags): ... new function.  Remove use of
788         EF_ARC_CPU_GENERIC, change default case from "generic arc" to
789         "unknown arc".  Merged ABI printing between two machine types.
790
791 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
792
793         * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
794         to the architecture list.
795
796 2016-03-21  Nick Clifton  <nickc@redhat.com>
797
798         * dlltool.c: Replace use of alloca with call to xmalloc.
799         * dllwrap.c: Likewise.
800         * nlmconv.c: Likewise.
801         * objdump.c: Likewise.
802         * resrc.c: Likewise.
803         * winduni.c: Likewise.
804         * configure: Regenerate.
805
806 2016-03-07  Nick Clifton  <nickc@redhat.com>
807
808         PR binutils/19775
809         * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
810         Run the new proc.
811         * testsuite/binutils-all/empty: New, empty, file.
812
813 2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
814
815         * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
816
817 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
818
819         PR ld/19645
820         * NEWS: Mention --elf-stt-common= for objcopy.
821         * doc/binutils.texi: Document --elf-stt-common= for objcopy.
822         * objcopy.c (do_elf_stt_common): New.
823         (command_line_switch): Add OPTION_ELF_STT_COMMON.
824         (copy_options): Add --elf-stt-common=.
825         (copy_usage): Add --elf-stt-common=.
826         (copy_object): Also check do_elf_stt_common for ELF targets.
827         (copy_file): Handle do_elf_stt_common.
828         (copy_main): Handle OPTION_ELF_STT_COMMON.
829         * readelf.c (apply_relocations): Support STT_COMMON.
830         * testsuite/binutils-all/common-1.s: New file.
831         * testsuite/binutils-all/common-1a.d: Likewise.
832         * testsuite/binutils-all/common-1b.d: Likewise.
833         * testsuite/binutils-all/common-1c.d: Likewise.
834         * testsuite/binutils-all/common-1d.d: Likewise.
835         * testsuite/binutils-all/common-1e.d: Likewise.
836         * testsuite/binutils-all/common-1f.d: Likewise.
837         * testsuite/binutils-all/common-2.s: Likewise.
838         * testsuite/binutils-all/common-2a.d: Likewise.
839         * testsuite/binutils-all/common-2b.d: Likewise.
840         * testsuite/binutils-all/common-2c.d: Likewise.
841         * testsuite/binutils-all/common-2d.d: Likewise.
842         * testsuite/binutils-all/common-2e.d: Likewise.
843         * testsuite/binutils-all/common-2f.d: Likewise.
844         * testsuite/binutils-all/objcopy.exp
845         (objcopy_test_elf_common_symbols): New proc.
846         Run objcopy_test_elf_common_symbols for ELF targets
847
848 2016-02-16  H.J. Lu  <hongjiu.lu@intel.com>
849
850         PR binutils/19647
851         * readelf.c (get_section_type_name): Add a missing break.
852
853 2016-02-16  Claudiu Zissulescu  <claziss@synopsys.com>
854
855         * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
856
857 2016-02-15  Nick Clifton  <nickc@redhat.com>
858
859         * readelf.c (get_section_type_name): Add hex prefix to offsets
860         printed for LOPROC and LOOS values.  Ensure that a result is
861         always returned for the V850 target, even when an unrecognised
862         processor specific value is encountered.
863         (process_section_headers): Display key values in the order in
864         which they appear to the user.  Add the "C (compressed)" value to
865         the list.
866
867 2016-02-12  H.J. Lu  <hongjiu.lu@intel.com>
868
869         * doc/binutils.texi: Fix a typo.
870
871 2016-02-05  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
872
873         * testsuite/binutils-all/objdump.exp: Update expected default
874         architecture value for ARC binaries.
875
876 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
877
878         PR binutils/19547
879         * testsuite/binutils-all/objcopy.exp
880         (objcopy_test_without_global_symbol): New proc.
881         Run objcopy_test_without_global_symbol.
882         * testsuite/binutils-all/pr19547.c: New file.
883
884 2016-01-28  H.J. Lu  <hongjiu.lu@intel.com>
885
886         PR binutils/19523
887         * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
888         runtest.
889         * Makefile.in: Regenerated.
890         * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
891         proc.
892         Run test_gnu_debuglink for native ELF build.
893
894 2016-01-20  Nick Clifton  <nickc@redhat.com>
895
896         PR 19495
897         * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
898         do not support inserting leading underscores.
899
900 2016-01-20  Mickael Guene  <mickael.guene@st.com>
901
902         * readelf.c (get_elf_section_flags): Display y letter for section
903         with SHF_ARM_NOREAD section flag in readelf section output.
904         (process_section_headers): Add y letter in readelf section output
905         key mapping for ARM architecture.
906         * objdump.c (dump_section_header): Display NOREAD attributes as
907         well.
908         * doc/binutils.texi (objdump): Note that it is correct for
909         sections to have both the READONLY and NOREAD attributes.
910
911 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
912
913         * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
914
915 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
916
917         * readelf.c (get_freebsd_elfcore_note_type): New
918         (process_note): Add support for FreeBSD core notes.
919
920 2016-01-18  Miranda Cupertino  <Cupertino.Miranda@synopsys.com>
921             Zissulescu Claudiu  <Claudiu.Zissulescu@synopsys.com>
922
923         * readelf.c (get_machine_flags): Add support for newer ARC ELF
924         header flags.
925
926 2016-01-18  Alan Modra  <amodra@gmail.com>
927
928         * configure: Regenerate.
929
930 2016-01-17  Alan Modra  <amodra@gmail.com>
931
932         * configure: Regenerate.
933
934 2016-01-17  Alan Modra  <amodra@gmail.com>
935
936         * testsuite/lib/binutils-common.exp (is_elf_format): Return true
937         for m68hc11/12 and xgate triples.
938
939 2016-01-17  Alan Modra  <amodra@gmail.com>
940
941         * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
942
943 2016-01-01  Alan Modra  <amodra@gmail.com>
944
945         Update year range in copyright notice of all files.
946
947 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
948 \f
949 Copyright (C) 2016 Free Software Foundation, Inc.
950
951 Copying and distribution of this file, with or without modification,
952 are permitted in any medium without royalty provided the copyright
953 notice and this notice are preserved.
954
955 Local Variables:
956 mode: change-log
957 left-margin: 8
958 fill-column: 74
959 version-control: never
960 End: