1 2016-12-31 Dimitar Dimitrov <dimitar@dinux.eu>
3 * readelf.c (guess_is_rela): Add EM_TI_PRU.
4 (dump_relocations): Invoke elf_pru_reloc_type.
5 (get_machine_name): Handle EM_TI_PRU.
6 (is_32bit_abs_reloc): Handle R_PRU_BFD_RELOC_32.
7 (is_16bit_abs_reloc): Handle R_PRU_BFD_RELOC_16.
8 (is_none_reloc): Handle PRU_NONE and PRU_DIFF variants.
10 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
12 * testsuite/binutils-all/mips/mips16-extend-insn.d: Update for
15 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
17 * testsuite/binutils-all/mips/mips16-extend-insn.d: New test.
18 * testsuite/binutils-all/mips/mips16-extend-insn.s: New test
20 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
22 2016-12-23 Tristan Gingold <gingold@adacore.com>
24 * configure: Regenerate.
26 2016-12-23 Tristan Gingold <gingold@adacore.com>
28 * NEWS: Add marker for 2.28.
30 2016-12-23 Tristan Gingold <gingold@adacore.com>
32 * po/binutils.pot: Regenerate.
34 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
36 * testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module'
37 rather than `.set' to set the ISA level.
39 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
41 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
42 test for separate EXTEND prefix disassembly.
44 2016-12-20 Andrew Waterman <andrew@sifive.com>
46 * readelf.c (get_machine_flags): Use
47 EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
48 EF_RISCV_{SOFT,HARD}_FLOAT.
50 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
52 * testsuite/binutils-all/mips/mips-ase-1.d: New test.
53 * testsuite/binutils-all/mips/mips-ase-2.d: New test.
54 * testsuite/binutils-all/mips/mips-ase-3.d: New test.
55 * testsuite/binutils-all/mips/mips-ase-1.s: New test source.
56 * testsuite/binutils-all/mips/mips-ase-2.s: New test source.
57 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
59 2016-12-13 Jiong Wang <jiong.wang@arm.com>
61 * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
63 2016-12-13 Nick Clifton <nickc@redhat.com>
65 * MAINTAINERS (Past Maintainers): New section. Move Mark
68 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
70 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
71 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
73 * testsuite/binutils-all/mips/mips.exp: Run the new test.
75 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
77 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
78 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
79 * testsuite/binutils-all/mips/mips.exp: Run the new test.
81 2016-12-08 Étienne Buira <etienne.buira@gmail.com>
83 * readelf.c (process_program_headers): Always use hex prefix when
84 displaying the segment alignment.
86 2016-12-06 Nick Clifton <nickc@redhat.com>
89 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
90 symbol pointer pointer before attempting to mark the symbol as
93 2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
95 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
97 2016-12-05 Nick Clifton <nickc@redhat.com>
100 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
101 symbol pointer before attempting to mark the symbol as kept.
103 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
105 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
108 2016-11-30 Nick Clifton <nickc@redhat.com>
111 * readelf.c (process_program_headers): Do not warn about out of
112 order PT_LOAD segments.
114 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
116 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
119 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
121 * dwarf.c: Fix spelling in comments.
122 * dwarf.h: Fix spelling in comments.
123 * objcopy.c: Fix spelling in comments.
124 * od-macho.c: Fix spelling in comments.
125 * rclex.c: Fix spelling in comments.
126 * readelf.c: Fix spelling in comments.
127 * stabs.c: Fix spelling in comments.
129 2016-11-23 Nick Clifton <nickc@redhat.com>
132 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
133 segments for validity.
135 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
137 * configure: Regenerate.
139 2016-11-22 Alan Modra <amodra@gmail.com>
142 * NEWS: Mention PowerPC VLE relocation error.
144 2016-11-16 Mark Wielaard <mark@klomp.org>
146 * cxxfilt.c (main): Recognize rust_demangling.
148 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
151 * dlltool.c (struct export): Remove hint field.
152 (make_one_lib_file): Store the ordinal value for IDATA6 not the
154 (gen_lib_file): Delete reference to hint field.
155 (mangle_defs): Delete computation of hint field.
157 2016-11-11 Nick Clifton <nickc@redhat.com>
160 * nm.c (with_symbol_versions): New local variable.
161 (long_options): Add --with-symbol-versions.
162 (usage): Mention --with-symbol-versions.
163 (print_symbol): If with_symbol_versions is set then display the
164 version information associated with the symbol.
165 * NEWS: Mention the new feature.
166 * doc/binutils.texi (nm): Document the new option.
167 (objdump): Describe how symbol version information is displayed
168 for dynamic symbol dumps.
169 (readelf): Describe how symbol version information is displayed.
170 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
172 2016-11-08 Nick Clifton <nickc@redhat.com>
175 * readelf.c (process_section_headers): Fix off-by-one error when
176 checking for invalid sh_link and sh_info fields.
178 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
180 * objcopy.c (copy_section): Add extra calls to free for error
183 2016-11-04 Tom Tromey <tom@tromey.com>
185 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
188 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
190 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
193 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
194 Andrew Waterman <andrew@sifive.com>
196 Add support for RISC-V architecture.
197 * readelf.c (guess_is_rela): Add EM_RISCV.
198 (get_machine_name): Likewise.
199 (dump_relocations): Add support for riscv relocations.
200 (get_machine_flags): Add support for riscv flags.
201 (is_32bit_abs_reloc): Add R_RISCV_32.
202 (is_64bit_abs_reloc): Add R_RISCV_64.
203 (is_none_reloc): Add R_RISCV_NONE.
204 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
205 Expect the debug_ranges test to fail.
207 2016-10-17 Nick Clifton <nickc@redhat.com>
209 * readelf.c (apply_relocations): Fail if the symbol table section
210 linked to by the reloc section does not have either the SHT_SYMTAB
212 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
213 Print the contents of unknown note types.
214 (process_note): Add the file and section to the parameter list.
215 Use print_symbol to display the note name.
216 Display the contents of unknown note types.
217 (process_corefile_note_segment): Rename to process_notes_at.
218 Add section parameter. Apply relocations to the notes when
219 loading from a section. Display section name when processing
221 * testsuite/binutils-all/readelf.n: Update expected output.
223 2016-10-17 Nick Clifton <nickc@redhat.com>
225 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
226 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
227 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
228 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
229 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
230 EM_Z80, EM_AMDGPU, EM_RISCV.
231 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
232 (get_group_flags): Update to handle flags in the
233 GRP_MASKOS and GRP_MASKPROC ranges.
235 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
237 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
238 to copy file to remote host.
240 2016-10-11 Nick Clifton <nickc@redhat.com>
242 * objdump.c (is_significant_symbol_name): New function.
243 (remove_useless_symbols): Do not remove significanr symbols.
244 (find_symbol_for_address): If an exact match for the specified
245 address has not been found, try scanning the dynamic relocs to see
246 if one of these matches the address. If so, use the symbol
247 associated with the reloc.
248 (objdump_print_addr_with_symbol): Do not print offsets to symbols
250 (disassemble_section): Only use dynamic relocs if the user
252 (disassemble_data): Always load dynamic relocs if they are
255 2016-10-06 Alan Modra <amodra@gmail.com>
257 * dlltool.c: Spell fall through comments consistently.
258 * objcopy.c: Likewise.
259 * readelf.c: Likewise.
260 * dwarf.c: Add missing fall through comments.
261 * elfcomm.c: Likewise.
262 * sysinfo.y: Likewise.
263 * readelf.c: Likewise. Also remove extraneous comments.
265 2016-10-06 Alan Modra <amodra@gmail.com>
267 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
268 * elfedit.c (usage): Likewise.
269 * nm.c (usage): Likewise.
270 * objcopy.c (copy_usage, strip_usage): Likewise.
271 * srconv.c (show_usage): Likewise.
272 * strings.c (usage): Likewise.
273 * sysdump.c (show_usage): Likewise.
274 * srconv.c: Remove unneeded forward function declarations.
275 * strings.c: Likewise.
276 * sysdump.c: Likewise.
278 2016-10-06 Alan Modra <amodra@gmail.com>
280 * coffdump.c (dump_coff_where): Add missing break.
281 * stabs.c (stab_xcoff_builtin_type): Likewise.
283 2016-09-29 Alan Modra <amodra@gmail.com>
285 * readelf.c (process_arch_specific): Call process_power_specific
288 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
290 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
291 when building with CC_FOR_BUILD compiler.
292 * Makefile.in: Regenerate.
293 * configure: Likewise.
294 * doc/Makefile.in: Likewise.
296 2016-09-26 Alan Modra <amodra@gmail.com>
298 * readelf.c (display_power_gnu_attribute): Catch truncated section
299 for all powerpc attributes. Display long double ABI. Don't
300 capitalize words, except for names. Show known bits of tag values
301 when some unknown bits are present. Whitespace fixes.
303 2016-09-26 Alan Modra <amodra@gmail.com>
305 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
306 strings, use asprintf instead.
307 (get_coff_symbol_type): Likewise.
309 2016-09-19 Alan Modra <amodra@gmail.com>
311 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
313 (print_size_symbols, print_symbols): Adjust to suit, deleting
314 now unused synth_count param and fromsynth var.
315 (display_rel_file): Adjust, localizing synth_count.
317 2016-09-14 Ed Maste <emaste@freebsd.org>
319 * readelf.c (process_mips_specific): Fix typo in error message.
321 2016-09-06 Nick Clifton <nickc@redhat.com>
323 * readelf.c (request_dump_bynumber): Only call memcpy if
324 dump_sects is not NULL.
326 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
328 * readelf.c (load_specific_debug_section): Check the external
329 compression header size.
331 2016-08-19 Nick Clifton <nickc@redhat.com>
333 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
335 * testsuite/binutils-all/readelf.s-64: Likewise.
337 2016-08-12 Nick Clifton <nickc@redhat.com>
339 * readelf.c (process_symbol_table): Generate a warning if a local
340 symbol is found at and offste greater than or equal to the sh_info
341 field of it's section header.
343 2016-08-08 Nick Clifton <nickc@redhat.com>
346 * dwarf.c (display_debug_lines_decoded): Add checks for running
347 off the end of the section when populating the directory table and
349 (frame_display_row): Set max_regs equal to ncols.
350 * readelf.c (load_specific_debug_section): If the section is
351 compressed, but it is not big enough to hold a compression
352 header then warn and return 0.
355 * dwarf.c (display_debug_lines_decoded): Check directory and file
356 indicies before using them to access directory and file tables.
358 2016-08-02 Nick Clifton <nickc@redhat.com>
361 * resbin.c (bin_to_res_version): Cast variables to correct type
362 for printing in error message.
364 2016-07-28 Nick Clifton <nickc@redhat.com>
367 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
368 * resbin.c (bin_to_res_version): Allow for the padded length of a
369 version block to be longer than the recorded length. Skip padding
372 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
374 * configure: Regenerated.
376 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
378 * doc/binutils.texi (objdump): Add ARC disassembler options.
379 * testsuite/binutils-all/arc/dsp.s: New file.
380 * testsuite/binutils-all/arc/objdump.exp: Likewise.
381 * NEWS: Mention the new feature.
383 2016-07-20 Nick Clifton <nickc@redhat.com>
385 * doc/binutils.texi (objcopy): Note that the localize symbol
386 options do not affect unique symbols.
388 2016-07-16 Alan Modra <amodra@gmail.com>
390 * ar.c: Include plugin-api.h.
393 2016-07-16 Alan Modra <amodra@gmail.com>
395 * bucomm.c: Don't include libbfd.h.
396 (endian_string, display_target_list): Delete forward declaration.
397 (display_info_table, display_target_tables): Likewise.
398 (LONGEST_ARCH): Delete.
399 (struct display_target): New.
400 (do_display_target): New function.
401 (display_target_list, display_info): Rewrite functions.
402 (display_info_table): Delete.
403 (do_info_size, do_info_header, do_info_row): New functions.
405 2016-07-16 Alan Modra <amodra@gmail.com>
407 * elfcomm.h (HOST_WIDEST_INT): Move to..
409 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
410 (dump_dyld_info_rebase): Use read_leb128 rather than
411 read_unsigned_leb128.
412 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
413 (dump_segment_split_info): Likewise.
414 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
415 (dump_load_command): Likewise.
417 2016-07-16 Alan Modra <amodra@gmail.com>
419 * ar.c: Don't include libbfd.h.
420 * objcopy.c: Likewise.
421 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
424 2016-07-15 Alan Modra <amodra@gmail.com>
426 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
428 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
430 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
432 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
433 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
434 (struct option strip_options): Add 'remove-relocations'.
435 (struct option copy_options): Likewise.
436 (copy_usage): Likewise.
437 (strip_usage): Likewise.
438 (handle_remove_relocations_option): New function.
439 (discard_relocations): New function.
440 (handle_remove_section_option): New function.
441 (copy_relocations_in_section): Use discard_relocations.
442 (strip_main): Use handle_remove_section_option for
443 'remove-section', and handle 'remove-relocations' option.
444 (copy_main): Likewise.
445 * testsuite/binutils-all/objcopy.exp: Run new tests.
446 * testsuite/binutils-all/remove-relocs-01.d: New file.
447 * testsuite/binutils-all/remove-relocs-01.s: New file.
448 * testsuite/binutils-all/remove-relocs-02.d: New file.
449 * testsuite/binutils-all/remove-relocs-03.d: New file.
450 * testsuite/binutils-all/remove-relocs-04.d: New file.
451 * testsuite/binutils-all/remove-relocs-05.d: New file.
452 * testsuite/binutils-all/remove-relocs-06.d: New file.
453 * NEWS: Mention new option.
455 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
457 * objcopy.c (find_section_list): Handle section patterns starting
458 with '!' being a non-matching pattern.
459 * doc/binutils.texi (objcopy): Give example of using '!' with
460 --remove-section and --only-section.
461 (strip): Give example of using '!' with --remove-section.
462 * testsuite/binutils-all/data-sections.s: New file.
463 * testsuite/binutils-all/only-section-01.d: New file.
464 * testsuite/binutils-all/remove-section-01.d: New file.
465 * testsuite/binutils-all/objcopy.exp: Run new tests.
466 * NEWS: Mention new feature.
468 2016-07-09 Alan Modra <amodra@gmail.com>
471 * objdump.c (compare_symbols): For ELF, sort same value/type
472 symbols according to size.
474 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
476 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
478 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
479 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
480 (process_section_headers): Rename noread to purecode.
482 * section.c (SEC_ELF_NOREAD): Rename to ...
483 (SEC_ELF_PURECODE): ... this.
485 2016-07-01 Nick Clifton <nickc@redhat.com>
487 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
488 extremely large decimal value.
489 (pr_range_type): Likewise.
490 (pr_array_type): Likewise.
491 (pr_struct_field): Likewise.
492 (pr_class_baseclass): Likewise.
493 (pr_class_method_variant): Likewise.
494 (pr_tag_type): Likewise.
495 (pr_int_constant): Likewise.
496 (pr_typed_constant): Likewise.
497 (pr_variable): Likewise.
498 (pr_function_parameter): Likewise.
499 (pr_start_block): Likewise.
500 (pr_lineno): Likewise.
501 (pr_end_block): Likewise.
502 (tg_enum_type): Likewise.
503 (tg_int_constant): Likewise.
504 (tg_typed_constant): Likewise.
505 (tg_start_block): Likewise.
507 2016-07-01 Nick Clifton <nickc@redhat.com>
509 * testsuite/binutils-all/objcopy.exp
510 (objcopy_test_without_global_symbol): Expect this test to fail on
511 the AArch64 and ARM targets, since they preserve their mapping
514 2016-07-01 Tristan Gingold <gingold@adacore.com>
516 * NEWS: Add marker for 2.27.
518 2016-07-30 Tristan Gingold <gingold@adacore.com>
520 * doc/binutils.texi (objdump): Fix mis-placement.
522 2016-06-28 Nick Clifton <nickc@redhat.com>
524 * testsuite/binutils-all/ar.exp: Relax previous restriction on
525 Alpha targets. Allow ELF based Alpha targets.
527 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
529 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
530 the `unique_symbol' test.
532 2016-06-28 Alan Modra <amodra@gmail.com>
535 * objdump.c (objdump_print_symname): Don't attempt to retrieve
536 version info from synthetic symbols.
538 2016-06-24 Alan Modra <amodra@gmail.com>
540 * objcopy.c (find_section_rename): Forward declare. Remove
541 ibfd and sec_ptr param. Add old_name param. Allow for NULL
542 returned_flags. Move read of section name and flags to..
543 (setup_section): ..here. Update find_section_rename call.
544 (filter_symbols): Rename section symbols for renamed sections.
545 (copy_object): Call filter_symbols when renamed sections.
546 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
547 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
549 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
551 (localize-hidden-1): xfail if is_bad_symtab.
552 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
555 2016-06-24 Alan Modra <amodra@gmail.com>
557 * objdump.c (struct print_file_list): Add "max_printed".
558 (try_print_file_open): Init new field.
559 (show_line): Don't show 5 context lines when redisplaying source.
561 2016-06-22 Nick Clifton <nickc@redhat.com>
563 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
564 Skip bfdtest1 tests for tic30 target.
565 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
567 * testsuite/binutils-all/compress.exp: Expect some tests to fail
569 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
570 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
572 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
574 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
575 if the bintest.o file was created. Use the
576 get_standard_section_names proc to get the name of the data
578 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
580 * testsuite/binutils-all/readelf.exp: Use
581 get_standard_section_names proc to get the name of the data
583 * testsuite/binutils-all/readelf.r: Allow for non standard text
585 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
586 * testsuite/binutils-all/size.exp: Allow for non standard section
588 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
589 to fail on mips targets.
590 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
591 get_standard_section_names proc.
592 (run_dump_test): Likewise.
593 (proc get_standard_section_names): New proc.
595 2016-06-22 Nick Clifton <nickc@redhat.com>
597 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
598 (process_mips_specific): Likewise.
599 (process_gnu_liblist): Likewise.
601 2016-06-21 Graham Markall <graham.markall@embecosm.com>
603 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
606 2016-06-15 Nick Clifton <nickc@redhat.com>
608 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
611 2016-06-14 John Baldwin <jhb@FreeBSD.org>
613 * objcopy.c (do_elf_stt_common): Use correct type.
615 2016-06-14 Alan Modra <amodra@gmail.com>
617 * ar.c: Expand uses of bfd_my_archive.
620 2016-06-14 Alan Modra <amodra@gmail.com>
623 * bucomm.c (bfd_get_archive_filename): Return file name within thin
626 2016-06-02 Nick Clifton <nickc@redhat.com>
629 * objcopy.c (group_signature): Fail if the input symbol table has
630 not been loaded, or if the sh_info field of the group header is 0.
632 * dwarf.c (display_debug_frames): Do not display any
633 interpretation if the block consists solely of DW__CFA_NOPs.
635 2016-05-31 Alan Modra <amodra@gmail.com>
637 * objcopy.c: Formatting, whitespace throughout.
638 (copy_main): Init newsym->othersym.
639 (parse_symflags): Make len a size_t. Adjust uses.
641 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
644 * NEWS: Mention --enable-64-bit-archive.
646 2016-05-18 Nick Clifton <nickc@redhat.com>
649 * objcopy.c (copy_relocations_in_section): Also check for the
650 symbol pointed to by sym_ptr_ptr being NULL.
652 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
654 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
655 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
657 * testsuite/binutils-all/mips/mips.exp: Run the new test.
659 2016-05-18 Nick Clifton <nickc@redhat.com>
661 * po/sv.po: Updated Swedish translation.
663 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
665 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
666 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
667 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
668 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
669 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
670 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
671 `d_val' rather than `d_ptr' member of the dynamic entry.
673 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
675 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
677 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
678 with the `strip-10' test.
680 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
682 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
685 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
687 * readelf.c (print_mips_ases): Add DSPR3.
689 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
691 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
692 (arm_attr_public_tags): Define DSP_extension attribute.
694 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
696 * doc/binutils.texi (nm): Update description of --size-sort.
698 2016-05-09 Nick Clifton <nickc@redhat.com>
701 * readelf.c (get_32bit_section_headers): Warn if an out of range
702 sh_link or sh_info field is encountered.
703 (get_64bit_section_headers): Likewise.
705 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
707 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
709 2016-05-03 Nick Clifton <nickc@redhat.com>
711 * po/sv.po: Updated Swedish translation.
713 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
715 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
716 PC relocation for AVR target.
717 (is_none_reloc): Return true if reloc is any of AVR diff
720 2016-04-29 Nick Clifton <nickc@redhat.com>
723 * readelf.c (get_solaris_segment_type): New function.
724 (get_segment_type): Call it.
726 2016-04-28 Nick Clifton <nickc@redhat.com>
728 * po/zh_CN.po: Updated Chinese (simplified) translation.
730 2016-04-28 Nick Clifton <nickc@redhat.com>
733 * testsuite/binutils-all/aarch64/illegal.s: New test.
734 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
736 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
738 * resres.c: Likewise.
740 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
742 * Makefile.in: Regenerated with automake 1.11.6.
743 * aclocal.m4: Likewise.
744 * doc/Makefile.in: Likewise.
746 2016-04-14 Nick Clifton <nickc@redhat.com>
749 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
750 string sections possibly having the SHF_STRINGS flag bit set.
751 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
752 * testsuite/binutils-all/readelf.s: Likewise.
753 * testsuite/binutils-all/readelf.s-64: Likewise.
754 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
755 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
757 2016-04-13 Nick Clifton <nickc@redhat.com>
760 * readelf.c (get_solaris_section_type): New function: Returns the
761 name of Solaris specific section types.
762 (get_solaris_dynamic_type): New function: Return the name of
763 Solaris specific dynamic types.
764 (get_dynamic_type): Use get_solaris_dynamic_type.
765 (get_section_type_name): Use get_solaris_section_type.
766 (get_solaris_symbol_visibility): New function: Returns Solaris
767 specific symbol visibilities.
768 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
769 (process_symbol_table): Likewise.
771 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
773 * dwarf.h (init_dwarf_regnames_s390): Declare.
774 * dwarf.c (dwarf_regnames_s390): New.
775 (init_dwarf_regnames_s390): New.
776 (init_dwarf_regnames): Call it.
777 * objdump.c (dump_dwarf): Likewise.
779 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
781 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
782 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
784 * testsuite/binutils-all/mips/mips.exp: Run the new test.
786 2016-04-04 Nick Clifton <nickc@redhat.com>
789 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
790 version number if the version is zero.
792 2016-03-29 Alan Modra <amodra@gmail.com>
794 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
795 (get_dynamic_data): Likewise.
797 2016-03-22 Nick Clifton <nickc@redhat.com>
800 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
801 with run time size check.
803 * configure: Regenerate.
805 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
807 * readelf.c (decode_ARC_machine_flags): Handle nps400.
809 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
811 * readelf.c (get_machine_flags): Move arc processing into...
812 (decode_ARC_machine_flags): ... new function. Remove use of
813 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
814 "unknown arc". Merged ABI printing between two machine types.
816 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
818 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
819 to the architecture list.
821 2016-03-21 Nick Clifton <nickc@redhat.com>
823 * dlltool.c: Replace use of alloca with call to xmalloc.
824 * dllwrap.c: Likewise.
825 * nlmconv.c: Likewise.
826 * objdump.c: Likewise.
828 * winduni.c: Likewise.
829 * configure: Regenerate.
831 2016-03-07 Nick Clifton <nickc@redhat.com>
834 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
836 * testsuite/binutils-all/empty: New, empty, file.
838 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
840 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
842 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
845 * NEWS: Mention --elf-stt-common= for objcopy.
846 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
847 * objcopy.c (do_elf_stt_common): New.
848 (command_line_switch): Add OPTION_ELF_STT_COMMON.
849 (copy_options): Add --elf-stt-common=.
850 (copy_usage): Add --elf-stt-common=.
851 (copy_object): Also check do_elf_stt_common for ELF targets.
852 (copy_file): Handle do_elf_stt_common.
853 (copy_main): Handle OPTION_ELF_STT_COMMON.
854 * readelf.c (apply_relocations): Support STT_COMMON.
855 * testsuite/binutils-all/common-1.s: New file.
856 * testsuite/binutils-all/common-1a.d: Likewise.
857 * testsuite/binutils-all/common-1b.d: Likewise.
858 * testsuite/binutils-all/common-1c.d: Likewise.
859 * testsuite/binutils-all/common-1d.d: Likewise.
860 * testsuite/binutils-all/common-1e.d: Likewise.
861 * testsuite/binutils-all/common-1f.d: Likewise.
862 * testsuite/binutils-all/common-2.s: Likewise.
863 * testsuite/binutils-all/common-2a.d: Likewise.
864 * testsuite/binutils-all/common-2b.d: Likewise.
865 * testsuite/binutils-all/common-2c.d: Likewise.
866 * testsuite/binutils-all/common-2d.d: Likewise.
867 * testsuite/binutils-all/common-2e.d: Likewise.
868 * testsuite/binutils-all/common-2f.d: Likewise.
869 * testsuite/binutils-all/objcopy.exp
870 (objcopy_test_elf_common_symbols): New proc.
871 Run objcopy_test_elf_common_symbols for ELF targets
873 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
876 * readelf.c (get_section_type_name): Add a missing break.
878 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
880 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
882 2016-02-15 Nick Clifton <nickc@redhat.com>
884 * readelf.c (get_section_type_name): Add hex prefix to offsets
885 printed for LOPROC and LOOS values. Ensure that a result is
886 always returned for the V850 target, even when an unrecognised
887 processor specific value is encountered.
888 (process_section_headers): Display key values in the order in
889 which they appear to the user. Add the "C (compressed)" value to
892 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
894 * doc/binutils.texi: Fix a typo.
896 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
898 * testsuite/binutils-all/objdump.exp: Update expected default
899 architecture value for ARC binaries.
901 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
904 * testsuite/binutils-all/objcopy.exp
905 (objcopy_test_without_global_symbol): New proc.
906 Run objcopy_test_without_global_symbol.
907 * testsuite/binutils-all/pr19547.c: New file.
909 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
912 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
914 * Makefile.in: Regenerated.
915 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
917 Run test_gnu_debuglink for native ELF build.
919 2016-01-20 Nick Clifton <nickc@redhat.com>
922 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
923 do not support inserting leading underscores.
925 2016-01-20 Mickael Guene <mickael.guene@st.com>
927 * readelf.c (get_elf_section_flags): Display y letter for section
928 with SHF_ARM_NOREAD section flag in readelf section output.
929 (process_section_headers): Add y letter in readelf section output
930 key mapping for ARM architecture.
931 * objdump.c (dump_section_header): Display NOREAD attributes as
933 * doc/binutils.texi (objdump): Note that it is correct for
934 sections to have both the READONLY and NOREAD attributes.
936 2016-01-19 John Baldwin <jhb@FreeBSD.org>
938 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
940 2016-01-19 John Baldwin <jhb@FreeBSD.org>
942 * readelf.c (get_freebsd_elfcore_note_type): New
943 (process_note): Add support for FreeBSD core notes.
945 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
946 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
948 * readelf.c (get_machine_flags): Add support for newer ARC ELF
951 2016-01-18 Alan Modra <amodra@gmail.com>
953 * configure: Regenerate.
955 2016-01-17 Alan Modra <amodra@gmail.com>
957 * configure: Regenerate.
959 2016-01-17 Alan Modra <amodra@gmail.com>
961 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
962 for m68hc11/12 and xgate triples.
964 2016-01-17 Alan Modra <amodra@gmail.com>
966 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
968 2016-01-01 Alan Modra <amodra@gmail.com>
970 Update year range in copyright notice of all files.
972 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
974 Copyright (C) 2016 Free Software Foundation, Inc.
976 Copying and distribution of this file, with or without modification,
977 are permitted in any medium without royalty provided the copyright
978 notice and this notice are preserved.
984 version-control: never