1 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
4 test for separate EXTEND prefix disassembly.
6 2016-12-20 Andrew Waterman <andrew@sifive.com>
8 * readelf.c (get_machine_flags): Use
9 EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
10 EF_RISCV_{SOFT,HARD}_FLOAT.
12 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
14 * testsuite/binutils-all/mips/mips-ase-1.d: New test.
15 * testsuite/binutils-all/mips/mips-ase-2.d: New test.
16 * testsuite/binutils-all/mips/mips-ase-3.d: New test.
17 * testsuite/binutils-all/mips/mips-ase-1.s: New test source.
18 * testsuite/binutils-all/mips/mips-ase-2.s: New test source.
19 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
21 2016-12-13 Jiong Wang <jiong.wang@arm.com>
23 * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
25 2016-12-13 Nick Clifton <nickc@redhat.com>
27 * MAINTAINERS (Past Maintainers): New section. Move Mark
30 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
32 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
33 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
35 * testsuite/binutils-all/mips/mips.exp: Run the new test.
37 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
39 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
40 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
41 * testsuite/binutils-all/mips/mips.exp: Run the new test.
43 2016-12-08 Étienne Buira <etienne.buira@gmail.com>
45 * readelf.c (process_program_headers): Always use hex prefix when
46 displaying the segment alignment.
48 2016-12-06 Nick Clifton <nickc@redhat.com>
51 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
52 symbol pointer pointer before attempting to mark the symbol as
55 2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
57 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
59 2016-12-05 Nick Clifton <nickc@redhat.com>
62 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
63 symbol pointer before attempting to mark the symbol as kept.
65 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
67 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
70 2016-11-30 Nick Clifton <nickc@redhat.com>
73 * readelf.c (process_program_headers): Do not warn about out of
74 order PT_LOAD segments.
76 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
78 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
81 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
83 * dwarf.c: Fix spelling in comments.
84 * dwarf.h: Fix spelling in comments.
85 * objcopy.c: Fix spelling in comments.
86 * od-macho.c: Fix spelling in comments.
87 * rclex.c: Fix spelling in comments.
88 * readelf.c: Fix spelling in comments.
89 * stabs.c: Fix spelling in comments.
91 2016-11-23 Nick Clifton <nickc@redhat.com>
94 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
95 segments for validity.
97 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
99 * configure: Regenerate.
101 2016-11-22 Alan Modra <amodra@gmail.com>
104 * NEWS: Mention PowerPC VLE relocation error.
106 2016-11-16 Mark Wielaard <mark@klomp.org>
108 * cxxfilt.c (main): Recognize rust_demangling.
110 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
113 * dlltool.c (struct export): Remove hint field.
114 (make_one_lib_file): Store the ordinal value for IDATA6 not the
116 (gen_lib_file): Delete reference to hint field.
117 (mangle_defs): Delete computation of hint field.
119 2016-11-11 Nick Clifton <nickc@redhat.com>
122 * nm.c (with_symbol_versions): New local variable.
123 (long_options): Add --with-symbol-versions.
124 (usage): Mention --with-symbol-versions.
125 (print_symbol): If with_symbol_versions is set then display the
126 version information associated with the symbol.
127 * NEWS: Mention the new feature.
128 * doc/binutils.texi (nm): Document the new option.
129 (objdump): Describe how symbol version information is displayed
130 for dynamic symbol dumps.
131 (readelf): Describe how symbol version information is displayed.
132 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
134 2016-11-08 Nick Clifton <nickc@redhat.com>
137 * readelf.c (process_section_headers): Fix off-by-one error when
138 checking for invalid sh_link and sh_info fields.
140 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
142 * objcopy.c (copy_section): Add extra calls to free for error
145 2016-11-04 Tom Tromey <tom@tromey.com>
147 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
150 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
152 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
155 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
156 Andrew Waterman <andrew@sifive.com>
158 Add support for RISC-V architecture.
159 * readelf.c (guess_is_rela): Add EM_RISCV.
160 (get_machine_name): Likewise.
161 (dump_relocations): Add support for riscv relocations.
162 (get_machine_flags): Add support for riscv flags.
163 (is_32bit_abs_reloc): Add R_RISCV_32.
164 (is_64bit_abs_reloc): Add R_RISCV_64.
165 (is_none_reloc): Add R_RISCV_NONE.
166 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
167 Expect the debug_ranges test to fail.
169 2016-10-17 Nick Clifton <nickc@redhat.com>
171 * readelf.c (apply_relocations): Fail if the symbol table section
172 linked to by the reloc section does not have either the SHT_SYMTAB
174 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
175 Print the contents of unknown note types.
176 (process_note): Add the file and section to the parameter list.
177 Use print_symbol to display the note name.
178 Display the contents of unknown note types.
179 (process_corefile_note_segment): Rename to process_notes_at.
180 Add section parameter. Apply relocations to the notes when
181 loading from a section. Display section name when processing
183 * testsuite/binutils-all/readelf.n: Update expected output.
185 2016-10-17 Nick Clifton <nickc@redhat.com>
187 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
188 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
189 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
190 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
191 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
192 EM_Z80, EM_AMDGPU, EM_RISCV.
193 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
194 (get_group_flags): Update to handle flags in the
195 GRP_MASKOS and GRP_MASKPROC ranges.
197 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
199 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
200 to copy file to remote host.
202 2016-10-11 Nick Clifton <nickc@redhat.com>
204 * objdump.c (is_significant_symbol_name): New function.
205 (remove_useless_symbols): Do not remove significanr symbols.
206 (find_symbol_for_address): If an exact match for the specified
207 address has not been found, try scanning the dynamic relocs to see
208 if one of these matches the address. If so, use the symbol
209 associated with the reloc.
210 (objdump_print_addr_with_symbol): Do not print offsets to symbols
212 (disassemble_section): Only use dynamic relocs if the user
214 (disassemble_data): Always load dynamic relocs if they are
217 2016-10-06 Alan Modra <amodra@gmail.com>
219 * dlltool.c: Spell fall through comments consistently.
220 * objcopy.c: Likewise.
221 * readelf.c: Likewise.
222 * dwarf.c: Add missing fall through comments.
223 * elfcomm.c: Likewise.
224 * sysinfo.y: Likewise.
225 * readelf.c: Likewise. Also remove extraneous comments.
227 2016-10-06 Alan Modra <amodra@gmail.com>
229 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
230 * elfedit.c (usage): Likewise.
231 * nm.c (usage): Likewise.
232 * objcopy.c (copy_usage, strip_usage): Likewise.
233 * srconv.c (show_usage): Likewise.
234 * strings.c (usage): Likewise.
235 * sysdump.c (show_usage): Likewise.
236 * srconv.c: Remove unneeded forward function declarations.
237 * strings.c: Likewise.
238 * sysdump.c: Likewise.
240 2016-10-06 Alan Modra <amodra@gmail.com>
242 * coffdump.c (dump_coff_where): Add missing break.
243 * stabs.c (stab_xcoff_builtin_type): Likewise.
245 2016-09-29 Alan Modra <amodra@gmail.com>
247 * readelf.c (process_arch_specific): Call process_power_specific
250 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
252 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
253 when building with CC_FOR_BUILD compiler.
254 * Makefile.in: Regenerate.
255 * configure: Likewise.
256 * doc/Makefile.in: Likewise.
258 2016-09-26 Alan Modra <amodra@gmail.com>
260 * readelf.c (display_power_gnu_attribute): Catch truncated section
261 for all powerpc attributes. Display long double ABI. Don't
262 capitalize words, except for names. Show known bits of tag values
263 when some unknown bits are present. Whitespace fixes.
265 2016-09-26 Alan Modra <amodra@gmail.com>
267 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
268 strings, use asprintf instead.
269 (get_coff_symbol_type): Likewise.
271 2016-09-19 Alan Modra <amodra@gmail.com>
273 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
275 (print_size_symbols, print_symbols): Adjust to suit, deleting
276 now unused synth_count param and fromsynth var.
277 (display_rel_file): Adjust, localizing synth_count.
279 2016-09-14 Ed Maste <emaste@freebsd.org>
281 * readelf.c (process_mips_specific): Fix typo in error message.
283 2016-09-06 Nick Clifton <nickc@redhat.com>
285 * readelf.c (request_dump_bynumber): Only call memcpy if
286 dump_sects is not NULL.
288 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
290 * readelf.c (load_specific_debug_section): Check the external
291 compression header size.
293 2016-08-19 Nick Clifton <nickc@redhat.com>
295 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
297 * testsuite/binutils-all/readelf.s-64: Likewise.
299 2016-08-12 Nick Clifton <nickc@redhat.com>
301 * readelf.c (process_symbol_table): Generate a warning if a local
302 symbol is found at and offste greater than or equal to the sh_info
303 field of it's section header.
305 2016-08-08 Nick Clifton <nickc@redhat.com>
308 * dwarf.c (display_debug_lines_decoded): Add checks for running
309 off the end of the section when populating the directory table and
311 (frame_display_row): Set max_regs equal to ncols.
312 * readelf.c (load_specific_debug_section): If the section is
313 compressed, but it is not big enough to hold a compression
314 header then warn and return 0.
317 * dwarf.c (display_debug_lines_decoded): Check directory and file
318 indicies before using them to access directory and file tables.
320 2016-08-02 Nick Clifton <nickc@redhat.com>
323 * resbin.c (bin_to_res_version): Cast variables to correct type
324 for printing in error message.
326 2016-07-28 Nick Clifton <nickc@redhat.com>
329 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
330 * resbin.c (bin_to_res_version): Allow for the padded length of a
331 version block to be longer than the recorded length. Skip padding
334 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
336 * configure: Regenerated.
338 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
340 * doc/binutils.texi (objdump): Add ARC disassembler options.
341 * testsuite/binutils-all/arc/dsp.s: New file.
342 * testsuite/binutils-all/arc/objdump.exp: Likewise.
343 * NEWS: Mention the new feature.
345 2016-07-20 Nick Clifton <nickc@redhat.com>
347 * doc/binutils.texi (objcopy): Note that the localize symbol
348 options do not affect unique symbols.
350 2016-07-16 Alan Modra <amodra@gmail.com>
352 * ar.c: Include plugin-api.h.
355 2016-07-16 Alan Modra <amodra@gmail.com>
357 * bucomm.c: Don't include libbfd.h.
358 (endian_string, display_target_list): Delete forward declaration.
359 (display_info_table, display_target_tables): Likewise.
360 (LONGEST_ARCH): Delete.
361 (struct display_target): New.
362 (do_display_target): New function.
363 (display_target_list, display_info): Rewrite functions.
364 (display_info_table): Delete.
365 (do_info_size, do_info_header, do_info_row): New functions.
367 2016-07-16 Alan Modra <amodra@gmail.com>
369 * elfcomm.h (HOST_WIDEST_INT): Move to..
371 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
372 (dump_dyld_info_rebase): Use read_leb128 rather than
373 read_unsigned_leb128.
374 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
375 (dump_segment_split_info): Likewise.
376 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
377 (dump_load_command): Likewise.
379 2016-07-16 Alan Modra <amodra@gmail.com>
381 * ar.c: Don't include libbfd.h.
382 * objcopy.c: Likewise.
383 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
386 2016-07-15 Alan Modra <amodra@gmail.com>
388 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
390 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
392 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
394 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
395 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
396 (struct option strip_options): Add 'remove-relocations'.
397 (struct option copy_options): Likewise.
398 (copy_usage): Likewise.
399 (strip_usage): Likewise.
400 (handle_remove_relocations_option): New function.
401 (discard_relocations): New function.
402 (handle_remove_section_option): New function.
403 (copy_relocations_in_section): Use discard_relocations.
404 (strip_main): Use handle_remove_section_option for
405 'remove-section', and handle 'remove-relocations' option.
406 (copy_main): Likewise.
407 * testsuite/binutils-all/objcopy.exp: Run new tests.
408 * testsuite/binutils-all/remove-relocs-01.d: New file.
409 * testsuite/binutils-all/remove-relocs-01.s: New file.
410 * testsuite/binutils-all/remove-relocs-02.d: New file.
411 * testsuite/binutils-all/remove-relocs-03.d: New file.
412 * testsuite/binutils-all/remove-relocs-04.d: New file.
413 * testsuite/binutils-all/remove-relocs-05.d: New file.
414 * testsuite/binutils-all/remove-relocs-06.d: New file.
415 * NEWS: Mention new option.
417 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
419 * objcopy.c (find_section_list): Handle section patterns starting
420 with '!' being a non-matching pattern.
421 * doc/binutils.texi (objcopy): Give example of using '!' with
422 --remove-section and --only-section.
423 (strip): Give example of using '!' with --remove-section.
424 * testsuite/binutils-all/data-sections.s: New file.
425 * testsuite/binutils-all/only-section-01.d: New file.
426 * testsuite/binutils-all/remove-section-01.d: New file.
427 * testsuite/binutils-all/objcopy.exp: Run new tests.
428 * NEWS: Mention new feature.
430 2016-07-09 Alan Modra <amodra@gmail.com>
433 * objdump.c (compare_symbols): For ELF, sort same value/type
434 symbols according to size.
436 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
438 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
440 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
441 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
442 (process_section_headers): Rename noread to purecode.
444 * section.c (SEC_ELF_NOREAD): Rename to ...
445 (SEC_ELF_PURECODE): ... this.
447 2016-07-01 Nick Clifton <nickc@redhat.com>
449 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
450 extremely large decimal value.
451 (pr_range_type): Likewise.
452 (pr_array_type): Likewise.
453 (pr_struct_field): Likewise.
454 (pr_class_baseclass): Likewise.
455 (pr_class_method_variant): Likewise.
456 (pr_tag_type): Likewise.
457 (pr_int_constant): Likewise.
458 (pr_typed_constant): Likewise.
459 (pr_variable): Likewise.
460 (pr_function_parameter): Likewise.
461 (pr_start_block): Likewise.
462 (pr_lineno): Likewise.
463 (pr_end_block): Likewise.
464 (tg_enum_type): Likewise.
465 (tg_int_constant): Likewise.
466 (tg_typed_constant): Likewise.
467 (tg_start_block): Likewise.
469 2016-07-01 Nick Clifton <nickc@redhat.com>
471 * testsuite/binutils-all/objcopy.exp
472 (objcopy_test_without_global_symbol): Expect this test to fail on
473 the AArch64 and ARM targets, since they preserve their mapping
476 2016-07-01 Tristan Gingold <gingold@adacore.com>
478 * NEWS: Add marker for 2.27.
480 2016-07-30 Tristan Gingold <gingold@adacore.com>
482 * doc/binutils.texi (objdump): Fix mis-placement.
484 2016-06-28 Nick Clifton <nickc@redhat.com>
486 * testsuite/binutils-all/ar.exp: Relax previous restriction on
487 Alpha targets. Allow ELF based Alpha targets.
489 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
491 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
492 the `unique_symbol' test.
494 2016-06-28 Alan Modra <amodra@gmail.com>
497 * objdump.c (objdump_print_symname): Don't attempt to retrieve
498 version info from synthetic symbols.
500 2016-06-24 Alan Modra <amodra@gmail.com>
502 * objcopy.c (find_section_rename): Forward declare. Remove
503 ibfd and sec_ptr param. Add old_name param. Allow for NULL
504 returned_flags. Move read of section name and flags to..
505 (setup_section): ..here. Update find_section_rename call.
506 (filter_symbols): Rename section symbols for renamed sections.
507 (copy_object): Call filter_symbols when renamed sections.
508 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
509 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
511 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
513 (localize-hidden-1): xfail if is_bad_symtab.
514 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
517 2016-06-24 Alan Modra <amodra@gmail.com>
519 * objdump.c (struct print_file_list): Add "max_printed".
520 (try_print_file_open): Init new field.
521 (show_line): Don't show 5 context lines when redisplaying source.
523 2016-06-22 Nick Clifton <nickc@redhat.com>
525 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
526 Skip bfdtest1 tests for tic30 target.
527 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
529 * testsuite/binutils-all/compress.exp: Expect some tests to fail
531 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
532 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
534 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
536 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
537 if the bintest.o file was created. Use the
538 get_standard_section_names proc to get the name of the data
540 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
542 * testsuite/binutils-all/readelf.exp: Use
543 get_standard_section_names proc to get the name of the data
545 * testsuite/binutils-all/readelf.r: Allow for non standard text
547 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
548 * testsuite/binutils-all/size.exp: Allow for non standard section
550 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
551 to fail on mips targets.
552 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
553 get_standard_section_names proc.
554 (run_dump_test): Likewise.
555 (proc get_standard_section_names): New proc.
557 2016-06-22 Nick Clifton <nickc@redhat.com>
559 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
560 (process_mips_specific): Likewise.
561 (process_gnu_liblist): Likewise.
563 2016-06-21 Graham Markall <graham.markall@embecosm.com>
565 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
568 2016-06-15 Nick Clifton <nickc@redhat.com>
570 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
573 2016-06-14 John Baldwin <jhb@FreeBSD.org>
575 * objcopy.c (do_elf_stt_common): Use correct type.
577 2016-06-14 Alan Modra <amodra@gmail.com>
579 * ar.c: Expand uses of bfd_my_archive.
582 2016-06-14 Alan Modra <amodra@gmail.com>
585 * bucomm.c (bfd_get_archive_filename): Return file name within thin
588 2016-06-02 Nick Clifton <nickc@redhat.com>
591 * objcopy.c (group_signature): Fail if the input symbol table has
592 not been loaded, or if the sh_info field of the group header is 0.
594 * dwarf.c (display_debug_frames): Do not display any
595 interpretation if the block consists solely of DW__CFA_NOPs.
597 2016-05-31 Alan Modra <amodra@gmail.com>
599 * objcopy.c: Formatting, whitespace throughout.
600 (copy_main): Init newsym->othersym.
601 (parse_symflags): Make len a size_t. Adjust uses.
603 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
606 * NEWS: Mention --enable-64-bit-archive.
608 2016-05-18 Nick Clifton <nickc@redhat.com>
611 * objcopy.c (copy_relocations_in_section): Also check for the
612 symbol pointed to by sym_ptr_ptr being NULL.
614 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
616 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
617 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
619 * testsuite/binutils-all/mips/mips.exp: Run the new test.
621 2016-05-18 Nick Clifton <nickc@redhat.com>
623 * po/sv.po: Updated Swedish translation.
625 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
627 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
628 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
629 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
630 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
631 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
632 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
633 `d_val' rather than `d_ptr' member of the dynamic entry.
635 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
637 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
639 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
640 with the `strip-10' test.
642 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
644 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
647 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
649 * readelf.c (print_mips_ases): Add DSPR3.
651 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
653 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
654 (arm_attr_public_tags): Define DSP_extension attribute.
656 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
658 * doc/binutils.texi (nm): Update description of --size-sort.
660 2016-05-09 Nick Clifton <nickc@redhat.com>
663 * readelf.c (get_32bit_section_headers): Warn if an out of range
664 sh_link or sh_info field is encountered.
665 (get_64bit_section_headers): Likewise.
667 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
669 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
671 2016-05-03 Nick Clifton <nickc@redhat.com>
673 * po/sv.po: Updated Swedish translation.
675 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
677 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
678 PC relocation for AVR target.
679 (is_none_reloc): Return true if reloc is any of AVR diff
682 2016-04-29 Nick Clifton <nickc@redhat.com>
685 * readelf.c (get_solaris_segment_type): New function.
686 (get_segment_type): Call it.
688 2016-04-28 Nick Clifton <nickc@redhat.com>
690 * po/zh_CN.po: Updated Chinese (simplified) translation.
692 2016-04-28 Nick Clifton <nickc@redhat.com>
695 * testsuite/binutils-all/aarch64/illegal.s: New test.
696 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
698 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
700 * resres.c: Likewise.
702 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
704 * Makefile.in: Regenerated with automake 1.11.6.
705 * aclocal.m4: Likewise.
706 * doc/Makefile.in: Likewise.
708 2016-04-14 Nick Clifton <nickc@redhat.com>
711 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
712 string sections possibly having the SHF_STRINGS flag bit set.
713 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
714 * testsuite/binutils-all/readelf.s: Likewise.
715 * testsuite/binutils-all/readelf.s-64: Likewise.
716 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
717 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
719 2016-04-13 Nick Clifton <nickc@redhat.com>
722 * readelf.c (get_solaris_section_type): New function: Returns the
723 name of Solaris specific section types.
724 (get_solaris_dynamic_type): New function: Return the name of
725 Solaris specific dynamic types.
726 (get_dynamic_type): Use get_solaris_dynamic_type.
727 (get_section_type_name): Use get_solaris_section_type.
728 (get_solaris_symbol_visibility): New function: Returns Solaris
729 specific symbol visibilities.
730 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
731 (process_symbol_table): Likewise.
733 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
735 * dwarf.h (init_dwarf_regnames_s390): Declare.
736 * dwarf.c (dwarf_regnames_s390): New.
737 (init_dwarf_regnames_s390): New.
738 (init_dwarf_regnames): Call it.
739 * objdump.c (dump_dwarf): Likewise.
741 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
743 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
744 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
746 * testsuite/binutils-all/mips/mips.exp: Run the new test.
748 2016-04-04 Nick Clifton <nickc@redhat.com>
751 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
752 version number if the version is zero.
754 2016-03-29 Alan Modra <amodra@gmail.com>
756 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
757 (get_dynamic_data): Likewise.
759 2016-03-22 Nick Clifton <nickc@redhat.com>
762 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
763 with run time size check.
765 * configure: Regenerate.
767 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
769 * readelf.c (decode_ARC_machine_flags): Handle nps400.
771 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
773 * readelf.c (get_machine_flags): Move arc processing into...
774 (decode_ARC_machine_flags): ... new function. Remove use of
775 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
776 "unknown arc". Merged ABI printing between two machine types.
778 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
780 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
781 to the architecture list.
783 2016-03-21 Nick Clifton <nickc@redhat.com>
785 * dlltool.c: Replace use of alloca with call to xmalloc.
786 * dllwrap.c: Likewise.
787 * nlmconv.c: Likewise.
788 * objdump.c: Likewise.
790 * winduni.c: Likewise.
791 * configure: Regenerate.
793 2016-03-07 Nick Clifton <nickc@redhat.com>
796 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
798 * testsuite/binutils-all/empty: New, empty, file.
800 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
802 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
804 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
807 * NEWS: Mention --elf-stt-common= for objcopy.
808 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
809 * objcopy.c (do_elf_stt_common): New.
810 (command_line_switch): Add OPTION_ELF_STT_COMMON.
811 (copy_options): Add --elf-stt-common=.
812 (copy_usage): Add --elf-stt-common=.
813 (copy_object): Also check do_elf_stt_common for ELF targets.
814 (copy_file): Handle do_elf_stt_common.
815 (copy_main): Handle OPTION_ELF_STT_COMMON.
816 * readelf.c (apply_relocations): Support STT_COMMON.
817 * testsuite/binutils-all/common-1.s: New file.
818 * testsuite/binutils-all/common-1a.d: Likewise.
819 * testsuite/binutils-all/common-1b.d: Likewise.
820 * testsuite/binutils-all/common-1c.d: Likewise.
821 * testsuite/binutils-all/common-1d.d: Likewise.
822 * testsuite/binutils-all/common-1e.d: Likewise.
823 * testsuite/binutils-all/common-1f.d: Likewise.
824 * testsuite/binutils-all/common-2.s: Likewise.
825 * testsuite/binutils-all/common-2a.d: Likewise.
826 * testsuite/binutils-all/common-2b.d: Likewise.
827 * testsuite/binutils-all/common-2c.d: Likewise.
828 * testsuite/binutils-all/common-2d.d: Likewise.
829 * testsuite/binutils-all/common-2e.d: Likewise.
830 * testsuite/binutils-all/common-2f.d: Likewise.
831 * testsuite/binutils-all/objcopy.exp
832 (objcopy_test_elf_common_symbols): New proc.
833 Run objcopy_test_elf_common_symbols for ELF targets
835 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
838 * readelf.c (get_section_type_name): Add a missing break.
840 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
842 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
844 2016-02-15 Nick Clifton <nickc@redhat.com>
846 * readelf.c (get_section_type_name): Add hex prefix to offsets
847 printed for LOPROC and LOOS values. Ensure that a result is
848 always returned for the V850 target, even when an unrecognised
849 processor specific value is encountered.
850 (process_section_headers): Display key values in the order in
851 which they appear to the user. Add the "C (compressed)" value to
854 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
856 * doc/binutils.texi: Fix a typo.
858 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
860 * testsuite/binutils-all/objdump.exp: Update expected default
861 architecture value for ARC binaries.
863 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
866 * testsuite/binutils-all/objcopy.exp
867 (objcopy_test_without_global_symbol): New proc.
868 Run objcopy_test_without_global_symbol.
869 * testsuite/binutils-all/pr19547.c: New file.
871 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
874 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
876 * Makefile.in: Regenerated.
877 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
879 Run test_gnu_debuglink for native ELF build.
881 2016-01-20 Nick Clifton <nickc@redhat.com>
884 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
885 do not support inserting leading underscores.
887 2016-01-20 Mickael Guene <mickael.guene@st.com>
889 * readelf.c (get_elf_section_flags): Display y letter for section
890 with SHF_ARM_NOREAD section flag in readelf section output.
891 (process_section_headers): Add y letter in readelf section output
892 key mapping for ARM architecture.
893 * objdump.c (dump_section_header): Display NOREAD attributes as
895 * doc/binutils.texi (objdump): Note that it is correct for
896 sections to have both the READONLY and NOREAD attributes.
898 2016-01-19 John Baldwin <jhb@FreeBSD.org>
900 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
902 2016-01-19 John Baldwin <jhb@FreeBSD.org>
904 * readelf.c (get_freebsd_elfcore_note_type): New
905 (process_note): Add support for FreeBSD core notes.
907 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
908 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
910 * readelf.c (get_machine_flags): Add support for newer ARC ELF
913 2016-01-18 Alan Modra <amodra@gmail.com>
915 * configure: Regenerate.
917 2016-01-17 Alan Modra <amodra@gmail.com>
919 * configure: Regenerate.
921 2016-01-17 Alan Modra <amodra@gmail.com>
923 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
924 for m68hc11/12 and xgate triples.
926 2016-01-17 Alan Modra <amodra@gmail.com>
928 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
930 2016-01-01 Alan Modra <amodra@gmail.com>
932 Update year range in copyright notice of all files.
934 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
936 Copyright (C) 2016 Free Software Foundation, Inc.
938 Copying and distribution of this file, with or without modification,
939 are permitted in any medium without royalty provided the copyright
940 notice and this notice are preserved.
946 version-control: never