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 * readelf.c (process_section_headers): Sanity check section headers.
334 (process_symbol_table): Don't warn on solaris binaries with local
335 symbols past symtab sh_info.
336 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
338 * testsuite/binutils-all/readelf.s-64: Likewise.
340 2016-08-12 Nick Clifton <nickc@redhat.com>
342 * readelf.c (process_symbol_table): Generate a warning if a local
343 symbol is found at and offste greater than or equal to the sh_info
344 field of it's section header.
346 2016-08-08 Nick Clifton <nickc@redhat.com>
349 * dwarf.c (display_debug_lines_decoded): Add checks for running
350 off the end of the section when populating the directory table and
352 (frame_display_row): Set max_regs equal to ncols.
353 * readelf.c (load_specific_debug_section): If the section is
354 compressed, but it is not big enough to hold a compression
355 header then warn and return 0.
358 * dwarf.c (display_debug_lines_decoded): Check directory and file
359 indicies before using them to access directory and file tables.
361 2016-08-02 Nick Clifton <nickc@redhat.com>
364 * resbin.c (bin_to_res_version): Cast variables to correct type
365 for printing in error message.
367 2016-07-28 Nick Clifton <nickc@redhat.com>
370 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
371 * resbin.c (bin_to_res_version): Allow for the padded length of a
372 version block to be longer than the recorded length. Skip padding
375 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
377 * configure: Regenerated.
379 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
381 * doc/binutils.texi (objdump): Add ARC disassembler options.
382 * testsuite/binutils-all/arc/dsp.s: New file.
383 * testsuite/binutils-all/arc/objdump.exp: Likewise.
384 * NEWS: Mention the new feature.
386 2016-07-20 Nick Clifton <nickc@redhat.com>
388 * doc/binutils.texi (objcopy): Note that the localize symbol
389 options do not affect unique symbols.
391 2016-07-16 Alan Modra <amodra@gmail.com>
393 * ar.c: Include plugin-api.h.
396 2016-07-16 Alan Modra <amodra@gmail.com>
398 * bucomm.c: Don't include libbfd.h.
399 (endian_string, display_target_list): Delete forward declaration.
400 (display_info_table, display_target_tables): Likewise.
401 (LONGEST_ARCH): Delete.
402 (struct display_target): New.
403 (do_display_target): New function.
404 (display_target_list, display_info): Rewrite functions.
405 (display_info_table): Delete.
406 (do_info_size, do_info_header, do_info_row): New functions.
408 2016-07-16 Alan Modra <amodra@gmail.com>
410 * elfcomm.h (HOST_WIDEST_INT): Move to..
412 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
413 (dump_dyld_info_rebase): Use read_leb128 rather than
414 read_unsigned_leb128.
415 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
416 (dump_segment_split_info): Likewise.
417 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
418 (dump_load_command): Likewise.
420 2016-07-16 Alan Modra <amodra@gmail.com>
422 * ar.c: Don't include libbfd.h.
423 * objcopy.c: Likewise.
424 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
427 2016-07-15 Alan Modra <amodra@gmail.com>
429 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
431 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
433 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
435 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
436 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
437 (struct option strip_options): Add 'remove-relocations'.
438 (struct option copy_options): Likewise.
439 (copy_usage): Likewise.
440 (strip_usage): Likewise.
441 (handle_remove_relocations_option): New function.
442 (discard_relocations): New function.
443 (handle_remove_section_option): New function.
444 (copy_relocations_in_section): Use discard_relocations.
445 (strip_main): Use handle_remove_section_option for
446 'remove-section', and handle 'remove-relocations' option.
447 (copy_main): Likewise.
448 * testsuite/binutils-all/objcopy.exp: Run new tests.
449 * testsuite/binutils-all/remove-relocs-01.d: New file.
450 * testsuite/binutils-all/remove-relocs-01.s: New file.
451 * testsuite/binutils-all/remove-relocs-02.d: New file.
452 * testsuite/binutils-all/remove-relocs-03.d: New file.
453 * testsuite/binutils-all/remove-relocs-04.d: New file.
454 * testsuite/binutils-all/remove-relocs-05.d: New file.
455 * testsuite/binutils-all/remove-relocs-06.d: New file.
456 * NEWS: Mention new option.
458 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
460 * objcopy.c (find_section_list): Handle section patterns starting
461 with '!' being a non-matching pattern.
462 * doc/binutils.texi (objcopy): Give example of using '!' with
463 --remove-section and --only-section.
464 (strip): Give example of using '!' with --remove-section.
465 * testsuite/binutils-all/data-sections.s: New file.
466 * testsuite/binutils-all/only-section-01.d: New file.
467 * testsuite/binutils-all/remove-section-01.d: New file.
468 * testsuite/binutils-all/objcopy.exp: Run new tests.
469 * NEWS: Mention new feature.
471 2016-07-09 Alan Modra <amodra@gmail.com>
474 * objdump.c (compare_symbols): For ELF, sort same value/type
475 symbols according to size.
477 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
479 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
481 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
482 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
483 (process_section_headers): Rename noread to purecode.
485 * section.c (SEC_ELF_NOREAD): Rename to ...
486 (SEC_ELF_PURECODE): ... this.
488 2016-07-01 Nick Clifton <nickc@redhat.com>
490 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
491 extremely large decimal value.
492 (pr_range_type): Likewise.
493 (pr_array_type): Likewise.
494 (pr_struct_field): Likewise.
495 (pr_class_baseclass): Likewise.
496 (pr_class_method_variant): Likewise.
497 (pr_tag_type): Likewise.
498 (pr_int_constant): Likewise.
499 (pr_typed_constant): Likewise.
500 (pr_variable): Likewise.
501 (pr_function_parameter): Likewise.
502 (pr_start_block): Likewise.
503 (pr_lineno): Likewise.
504 (pr_end_block): Likewise.
505 (tg_enum_type): Likewise.
506 (tg_int_constant): Likewise.
507 (tg_typed_constant): Likewise.
508 (tg_start_block): Likewise.
510 2016-07-01 Nick Clifton <nickc@redhat.com>
512 * testsuite/binutils-all/objcopy.exp
513 (objcopy_test_without_global_symbol): Expect this test to fail on
514 the AArch64 and ARM targets, since they preserve their mapping
517 2016-07-01 Tristan Gingold <gingold@adacore.com>
519 * NEWS: Add marker for 2.27.
521 2016-07-30 Tristan Gingold <gingold@adacore.com>
523 * doc/binutils.texi (objdump): Fix mis-placement.
525 2016-06-28 Nick Clifton <nickc@redhat.com>
527 * testsuite/binutils-all/ar.exp: Relax previous restriction on
528 Alpha targets. Allow ELF based Alpha targets.
530 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
532 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
533 the `unique_symbol' test.
535 2016-06-28 Alan Modra <amodra@gmail.com>
538 * objdump.c (objdump_print_symname): Don't attempt to retrieve
539 version info from synthetic symbols.
541 2016-06-24 Alan Modra <amodra@gmail.com>
543 * objcopy.c (find_section_rename): Forward declare. Remove
544 ibfd and sec_ptr param. Add old_name param. Allow for NULL
545 returned_flags. Move read of section name and flags to..
546 (setup_section): ..here. Update find_section_rename call.
547 (filter_symbols): Rename section symbols for renamed sections.
548 (copy_object): Call filter_symbols when renamed sections.
549 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
550 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
552 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
554 (localize-hidden-1): xfail if is_bad_symtab.
555 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
558 2016-06-24 Alan Modra <amodra@gmail.com>
560 * objdump.c (struct print_file_list): Add "max_printed".
561 (try_print_file_open): Init new field.
562 (show_line): Don't show 5 context lines when redisplaying source.
564 2016-06-22 Nick Clifton <nickc@redhat.com>
566 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
567 Skip bfdtest1 tests for tic30 target.
568 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
570 * testsuite/binutils-all/compress.exp: Expect some tests to fail
572 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
573 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
575 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
577 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
578 if the bintest.o file was created. Use the
579 get_standard_section_names proc to get the name of the data
581 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
583 * testsuite/binutils-all/readelf.exp: Use
584 get_standard_section_names proc to get the name of the data
586 * testsuite/binutils-all/readelf.r: Allow for non standard text
588 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
589 * testsuite/binutils-all/size.exp: Allow for non standard section
591 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
592 to fail on mips targets.
593 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
594 get_standard_section_names proc.
595 (run_dump_test): Likewise.
596 (proc get_standard_section_names): New proc.
598 2016-06-22 Nick Clifton <nickc@redhat.com>
600 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
601 (process_mips_specific): Likewise.
602 (process_gnu_liblist): Likewise.
604 2016-06-21 Graham Markall <graham.markall@embecosm.com>
606 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
609 2016-06-15 Nick Clifton <nickc@redhat.com>
611 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
614 2016-06-14 John Baldwin <jhb@FreeBSD.org>
616 * objcopy.c (do_elf_stt_common): Use correct type.
618 2016-06-14 Alan Modra <amodra@gmail.com>
620 * ar.c: Expand uses of bfd_my_archive.
623 2016-06-14 Alan Modra <amodra@gmail.com>
626 * bucomm.c (bfd_get_archive_filename): Return file name within thin
629 2016-06-02 Nick Clifton <nickc@redhat.com>
632 * objcopy.c (group_signature): Fail if the input symbol table has
633 not been loaded, or if the sh_info field of the group header is 0.
635 * dwarf.c (display_debug_frames): Do not display any
636 interpretation if the block consists solely of DW__CFA_NOPs.
638 2016-05-31 Alan Modra <amodra@gmail.com>
640 * objcopy.c: Formatting, whitespace throughout.
641 (copy_main): Init newsym->othersym.
642 (parse_symflags): Make len a size_t. Adjust uses.
644 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
647 * NEWS: Mention --enable-64-bit-archive.
649 2016-05-18 Nick Clifton <nickc@redhat.com>
652 * objcopy.c (copy_relocations_in_section): Also check for the
653 symbol pointed to by sym_ptr_ptr being NULL.
655 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
657 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
658 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
660 * testsuite/binutils-all/mips/mips.exp: Run the new test.
662 2016-05-18 Nick Clifton <nickc@redhat.com>
664 * po/sv.po: Updated Swedish translation.
666 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
668 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
669 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
670 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
671 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
672 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
673 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
674 `d_val' rather than `d_ptr' member of the dynamic entry.
676 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
678 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
680 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
681 with the `strip-10' test.
683 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
685 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
688 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
690 * readelf.c (print_mips_ases): Add DSPR3.
692 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
694 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
695 (arm_attr_public_tags): Define DSP_extension attribute.
697 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
699 * doc/binutils.texi (nm): Update description of --size-sort.
701 2016-05-09 Nick Clifton <nickc@redhat.com>
704 * readelf.c (get_32bit_section_headers): Warn if an out of range
705 sh_link or sh_info field is encountered.
706 (get_64bit_section_headers): Likewise.
708 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
710 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
712 2016-05-03 Nick Clifton <nickc@redhat.com>
714 * po/sv.po: Updated Swedish translation.
716 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
718 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
719 PC relocation for AVR target.
720 (is_none_reloc): Return true if reloc is any of AVR diff
723 2016-04-29 Nick Clifton <nickc@redhat.com>
726 * readelf.c (get_solaris_segment_type): New function.
727 (get_segment_type): Call it.
729 2016-04-28 Nick Clifton <nickc@redhat.com>
731 * po/zh_CN.po: Updated Chinese (simplified) translation.
733 2016-04-28 Nick Clifton <nickc@redhat.com>
736 * testsuite/binutils-all/aarch64/illegal.s: New test.
737 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
739 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
741 * resres.c: Likewise.
743 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
745 * Makefile.in: Regenerated with automake 1.11.6.
746 * aclocal.m4: Likewise.
747 * doc/Makefile.in: Likewise.
749 2016-04-14 Nick Clifton <nickc@redhat.com>
752 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
753 string sections possibly having the SHF_STRINGS flag bit set.
754 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
755 * testsuite/binutils-all/readelf.s: Likewise.
756 * testsuite/binutils-all/readelf.s-64: Likewise.
757 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
758 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
760 2016-04-13 Nick Clifton <nickc@redhat.com>
763 * readelf.c (get_solaris_section_type): New function: Returns the
764 name of Solaris specific section types.
765 (get_solaris_dynamic_type): New function: Return the name of
766 Solaris specific dynamic types.
767 (get_dynamic_type): Use get_solaris_dynamic_type.
768 (get_section_type_name): Use get_solaris_section_type.
769 (get_solaris_symbol_visibility): New function: Returns Solaris
770 specific symbol visibilities.
771 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
772 (process_symbol_table): Likewise.
774 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
776 * dwarf.h (init_dwarf_regnames_s390): Declare.
777 * dwarf.c (dwarf_regnames_s390): New.
778 (init_dwarf_regnames_s390): New.
779 (init_dwarf_regnames): Call it.
780 * objdump.c (dump_dwarf): Likewise.
782 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
784 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
785 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
787 * testsuite/binutils-all/mips/mips.exp: Run the new test.
789 2016-04-04 Nick Clifton <nickc@redhat.com>
792 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
793 version number if the version is zero.
795 2016-03-29 Alan Modra <amodra@gmail.com>
797 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
798 (get_dynamic_data): Likewise.
800 2016-03-22 Nick Clifton <nickc@redhat.com>
803 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
804 with run time size check.
806 * configure: Regenerate.
808 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
810 * readelf.c (decode_ARC_machine_flags): Handle nps400.
812 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
814 * readelf.c (get_machine_flags): Move arc processing into...
815 (decode_ARC_machine_flags): ... new function. Remove use of
816 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
817 "unknown arc". Merged ABI printing between two machine types.
819 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
821 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
822 to the architecture list.
824 2016-03-21 Nick Clifton <nickc@redhat.com>
826 * dlltool.c: Replace use of alloca with call to xmalloc.
827 * dllwrap.c: Likewise.
828 * nlmconv.c: Likewise.
829 * objdump.c: Likewise.
831 * winduni.c: Likewise.
832 * configure: Regenerate.
834 2016-03-07 Nick Clifton <nickc@redhat.com>
837 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
839 * testsuite/binutils-all/empty: New, empty, file.
841 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
843 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
845 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
848 * NEWS: Mention --elf-stt-common= for objcopy.
849 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
850 * objcopy.c (do_elf_stt_common): New.
851 (command_line_switch): Add OPTION_ELF_STT_COMMON.
852 (copy_options): Add --elf-stt-common=.
853 (copy_usage): Add --elf-stt-common=.
854 (copy_object): Also check do_elf_stt_common for ELF targets.
855 (copy_file): Handle do_elf_stt_common.
856 (copy_main): Handle OPTION_ELF_STT_COMMON.
857 * readelf.c (apply_relocations): Support STT_COMMON.
858 * testsuite/binutils-all/common-1.s: New file.
859 * testsuite/binutils-all/common-1a.d: Likewise.
860 * testsuite/binutils-all/common-1b.d: Likewise.
861 * testsuite/binutils-all/common-1c.d: Likewise.
862 * testsuite/binutils-all/common-1d.d: Likewise.
863 * testsuite/binutils-all/common-1e.d: Likewise.
864 * testsuite/binutils-all/common-1f.d: Likewise.
865 * testsuite/binutils-all/common-2.s: Likewise.
866 * testsuite/binutils-all/common-2a.d: Likewise.
867 * testsuite/binutils-all/common-2b.d: Likewise.
868 * testsuite/binutils-all/common-2c.d: Likewise.
869 * testsuite/binutils-all/common-2d.d: Likewise.
870 * testsuite/binutils-all/common-2e.d: Likewise.
871 * testsuite/binutils-all/common-2f.d: Likewise.
872 * testsuite/binutils-all/objcopy.exp
873 (objcopy_test_elf_common_symbols): New proc.
874 Run objcopy_test_elf_common_symbols for ELF targets
876 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
879 * readelf.c (get_section_type_name): Add a missing break.
881 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
883 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
885 2016-02-15 Nick Clifton <nickc@redhat.com>
887 * readelf.c (get_section_type_name): Add hex prefix to offsets
888 printed for LOPROC and LOOS values. Ensure that a result is
889 always returned for the V850 target, even when an unrecognised
890 processor specific value is encountered.
891 (process_section_headers): Display key values in the order in
892 which they appear to the user. Add the "C (compressed)" value to
895 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
897 * doc/binutils.texi: Fix a typo.
899 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
901 * testsuite/binutils-all/objdump.exp: Update expected default
902 architecture value for ARC binaries.
904 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
907 * testsuite/binutils-all/objcopy.exp
908 (objcopy_test_without_global_symbol): New proc.
909 Run objcopy_test_without_global_symbol.
910 * testsuite/binutils-all/pr19547.c: New file.
912 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
915 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
917 * Makefile.in: Regenerated.
918 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
920 Run test_gnu_debuglink for native ELF build.
922 2016-01-20 Nick Clifton <nickc@redhat.com>
925 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
926 do not support inserting leading underscores.
928 2016-01-20 Mickael Guene <mickael.guene@st.com>
930 * readelf.c (get_elf_section_flags): Display y letter for section
931 with SHF_ARM_NOREAD section flag in readelf section output.
932 (process_section_headers): Add y letter in readelf section output
933 key mapping for ARM architecture.
934 * objdump.c (dump_section_header): Display NOREAD attributes as
936 * doc/binutils.texi (objdump): Note that it is correct for
937 sections to have both the READONLY and NOREAD attributes.
939 2016-01-19 John Baldwin <jhb@FreeBSD.org>
941 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
943 2016-01-19 John Baldwin <jhb@FreeBSD.org>
945 * readelf.c (get_freebsd_elfcore_note_type): New
946 (process_note): Add support for FreeBSD core notes.
948 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
949 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
951 * readelf.c (get_machine_flags): Add support for newer ARC ELF
954 2016-01-18 Alan Modra <amodra@gmail.com>
956 * configure: Regenerate.
958 2016-01-17 Alan Modra <amodra@gmail.com>
960 * configure: Regenerate.
962 2016-01-17 Alan Modra <amodra@gmail.com>
964 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
965 for m68hc11/12 and xgate triples.
967 2016-01-17 Alan Modra <amodra@gmail.com>
969 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
971 2016-01-01 Alan Modra <amodra@gmail.com>
973 Update year range in copyright notice of all files.
975 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
977 Copyright (C) 2016 Free Software Foundation, Inc.
979 Copying and distribution of this file, with or without modification,
980 are permitted in any medium without royalty provided the copyright
981 notice and this notice are preserved.
987 version-control: never