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