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