1 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/binutils-all/mips/mips16-extend-insn.d: New test.
4 * testsuite/binutils-all/mips/mips16-extend-insn.s: New test
6 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
8 2016-12-23 Tristan Gingold <gingold@adacore.com>
10 * configure: Regenerate.
12 2016-12-23 Tristan Gingold <gingold@adacore.com>
14 * NEWS: Add marker for 2.28.
16 2016-12-23 Tristan Gingold <gingold@adacore.com>
18 * po/binutils.pot: Regenerate.
20 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
22 * testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module'
23 rather than `.set' to set the ISA level.
25 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
27 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
28 test for separate EXTEND prefix disassembly.
30 2016-12-20 Andrew Waterman <andrew@sifive.com>
32 * readelf.c (get_machine_flags): Use
33 EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
34 EF_RISCV_{SOFT,HARD}_FLOAT.
36 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
38 * testsuite/binutils-all/mips/mips-ase-1.d: New test.
39 * testsuite/binutils-all/mips/mips-ase-2.d: New test.
40 * testsuite/binutils-all/mips/mips-ase-3.d: New test.
41 * testsuite/binutils-all/mips/mips-ase-1.s: New test source.
42 * testsuite/binutils-all/mips/mips-ase-2.s: New test source.
43 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
45 2016-12-13 Jiong Wang <jiong.wang@arm.com>
47 * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
49 2016-12-13 Nick Clifton <nickc@redhat.com>
51 * MAINTAINERS (Past Maintainers): New section. Move Mark
54 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
56 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
57 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
59 * testsuite/binutils-all/mips/mips.exp: Run the new test.
61 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
63 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
64 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
65 * testsuite/binutils-all/mips/mips.exp: Run the new test.
67 2016-12-08 Étienne Buira <etienne.buira@gmail.com>
69 * readelf.c (process_program_headers): Always use hex prefix when
70 displaying the segment alignment.
72 2016-12-06 Nick Clifton <nickc@redhat.com>
75 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
76 symbol pointer pointer before attempting to mark the symbol as
79 2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
81 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
83 2016-12-05 Nick Clifton <nickc@redhat.com>
86 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
87 symbol pointer before attempting to mark the symbol as kept.
89 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
91 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
94 2016-11-30 Nick Clifton <nickc@redhat.com>
97 * readelf.c (process_program_headers): Do not warn about out of
98 order PT_LOAD segments.
100 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
102 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
105 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
107 * dwarf.c: Fix spelling in comments.
108 * dwarf.h: Fix spelling in comments.
109 * objcopy.c: Fix spelling in comments.
110 * od-macho.c: Fix spelling in comments.
111 * rclex.c: Fix spelling in comments.
112 * readelf.c: Fix spelling in comments.
113 * stabs.c: Fix spelling in comments.
115 2016-11-23 Nick Clifton <nickc@redhat.com>
118 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
119 segments for validity.
121 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
123 * configure: Regenerate.
125 2016-11-22 Alan Modra <amodra@gmail.com>
128 * NEWS: Mention PowerPC VLE relocation error.
130 2016-11-16 Mark Wielaard <mark@klomp.org>
132 * cxxfilt.c (main): Recognize rust_demangling.
134 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
137 * dlltool.c (struct export): Remove hint field.
138 (make_one_lib_file): Store the ordinal value for IDATA6 not the
140 (gen_lib_file): Delete reference to hint field.
141 (mangle_defs): Delete computation of hint field.
143 2016-11-11 Nick Clifton <nickc@redhat.com>
146 * nm.c (with_symbol_versions): New local variable.
147 (long_options): Add --with-symbol-versions.
148 (usage): Mention --with-symbol-versions.
149 (print_symbol): If with_symbol_versions is set then display the
150 version information associated with the symbol.
151 * NEWS: Mention the new feature.
152 * doc/binutils.texi (nm): Document the new option.
153 (objdump): Describe how symbol version information is displayed
154 for dynamic symbol dumps.
155 (readelf): Describe how symbol version information is displayed.
156 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
158 2016-11-08 Nick Clifton <nickc@redhat.com>
161 * readelf.c (process_section_headers): Fix off-by-one error when
162 checking for invalid sh_link and sh_info fields.
164 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
166 * objcopy.c (copy_section): Add extra calls to free for error
169 2016-11-04 Tom Tromey <tom@tromey.com>
171 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
174 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
176 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
179 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
180 Andrew Waterman <andrew@sifive.com>
182 Add support for RISC-V architecture.
183 * readelf.c (guess_is_rela): Add EM_RISCV.
184 (get_machine_name): Likewise.
185 (dump_relocations): Add support for riscv relocations.
186 (get_machine_flags): Add support for riscv flags.
187 (is_32bit_abs_reloc): Add R_RISCV_32.
188 (is_64bit_abs_reloc): Add R_RISCV_64.
189 (is_none_reloc): Add R_RISCV_NONE.
190 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
191 Expect the debug_ranges test to fail.
193 2016-10-17 Nick Clifton <nickc@redhat.com>
195 * readelf.c (apply_relocations): Fail if the symbol table section
196 linked to by the reloc section does not have either the SHT_SYMTAB
198 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
199 Print the contents of unknown note types.
200 (process_note): Add the file and section to the parameter list.
201 Use print_symbol to display the note name.
202 Display the contents of unknown note types.
203 (process_corefile_note_segment): Rename to process_notes_at.
204 Add section parameter. Apply relocations to the notes when
205 loading from a section. Display section name when processing
207 * testsuite/binutils-all/readelf.n: Update expected output.
209 2016-10-17 Nick Clifton <nickc@redhat.com>
211 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
212 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
213 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
214 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
215 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
216 EM_Z80, EM_AMDGPU, EM_RISCV.
217 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
218 (get_group_flags): Update to handle flags in the
219 GRP_MASKOS and GRP_MASKPROC ranges.
221 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
223 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
224 to copy file to remote host.
226 2016-10-11 Nick Clifton <nickc@redhat.com>
228 * objdump.c (is_significant_symbol_name): New function.
229 (remove_useless_symbols): Do not remove significanr symbols.
230 (find_symbol_for_address): If an exact match for the specified
231 address has not been found, try scanning the dynamic relocs to see
232 if one of these matches the address. If so, use the symbol
233 associated with the reloc.
234 (objdump_print_addr_with_symbol): Do not print offsets to symbols
236 (disassemble_section): Only use dynamic relocs if the user
238 (disassemble_data): Always load dynamic relocs if they are
241 2016-10-06 Alan Modra <amodra@gmail.com>
243 * dlltool.c: Spell fall through comments consistently.
244 * objcopy.c: Likewise.
245 * readelf.c: Likewise.
246 * dwarf.c: Add missing fall through comments.
247 * elfcomm.c: Likewise.
248 * sysinfo.y: Likewise.
249 * readelf.c: Likewise. Also remove extraneous comments.
251 2016-10-06 Alan Modra <amodra@gmail.com>
253 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
254 * elfedit.c (usage): Likewise.
255 * nm.c (usage): Likewise.
256 * objcopy.c (copy_usage, strip_usage): Likewise.
257 * srconv.c (show_usage): Likewise.
258 * strings.c (usage): Likewise.
259 * sysdump.c (show_usage): Likewise.
260 * srconv.c: Remove unneeded forward function declarations.
261 * strings.c: Likewise.
262 * sysdump.c: Likewise.
264 2016-10-06 Alan Modra <amodra@gmail.com>
266 * coffdump.c (dump_coff_where): Add missing break.
267 * stabs.c (stab_xcoff_builtin_type): Likewise.
269 2016-09-29 Alan Modra <amodra@gmail.com>
271 * readelf.c (process_arch_specific): Call process_power_specific
274 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
276 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
277 when building with CC_FOR_BUILD compiler.
278 * Makefile.in: Regenerate.
279 * configure: Likewise.
280 * doc/Makefile.in: Likewise.
282 2016-09-26 Alan Modra <amodra@gmail.com>
284 * readelf.c (display_power_gnu_attribute): Catch truncated section
285 for all powerpc attributes. Display long double ABI. Don't
286 capitalize words, except for names. Show known bits of tag values
287 when some unknown bits are present. Whitespace fixes.
289 2016-09-26 Alan Modra <amodra@gmail.com>
291 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
292 strings, use asprintf instead.
293 (get_coff_symbol_type): Likewise.
295 2016-09-19 Alan Modra <amodra@gmail.com>
297 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
299 (print_size_symbols, print_symbols): Adjust to suit, deleting
300 now unused synth_count param and fromsynth var.
301 (display_rel_file): Adjust, localizing synth_count.
303 2016-09-14 Ed Maste <emaste@freebsd.org>
305 * readelf.c (process_mips_specific): Fix typo in error message.
307 2016-09-06 Nick Clifton <nickc@redhat.com>
309 * readelf.c (request_dump_bynumber): Only call memcpy if
310 dump_sects is not NULL.
312 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
314 * readelf.c (load_specific_debug_section): Check the external
315 compression header size.
317 2016-08-19 Nick Clifton <nickc@redhat.com>
319 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
321 * testsuite/binutils-all/readelf.s-64: Likewise.
323 2016-08-12 Nick Clifton <nickc@redhat.com>
325 * readelf.c (process_symbol_table): Generate a warning if a local
326 symbol is found at and offste greater than or equal to the sh_info
327 field of it's section header.
329 2016-08-08 Nick Clifton <nickc@redhat.com>
332 * dwarf.c (display_debug_lines_decoded): Add checks for running
333 off the end of the section when populating the directory table and
335 (frame_display_row): Set max_regs equal to ncols.
336 * readelf.c (load_specific_debug_section): If the section is
337 compressed, but it is not big enough to hold a compression
338 header then warn and return 0.
341 * dwarf.c (display_debug_lines_decoded): Check directory and file
342 indicies before using them to access directory and file tables.
344 2016-08-02 Nick Clifton <nickc@redhat.com>
347 * resbin.c (bin_to_res_version): Cast variables to correct type
348 for printing in error message.
350 2016-07-28 Nick Clifton <nickc@redhat.com>
353 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
354 * resbin.c (bin_to_res_version): Allow for the padded length of a
355 version block to be longer than the recorded length. Skip padding
358 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
360 * configure: Regenerated.
362 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
364 * doc/binutils.texi (objdump): Add ARC disassembler options.
365 * testsuite/binutils-all/arc/dsp.s: New file.
366 * testsuite/binutils-all/arc/objdump.exp: Likewise.
367 * NEWS: Mention the new feature.
369 2016-07-20 Nick Clifton <nickc@redhat.com>
371 * doc/binutils.texi (objcopy): Note that the localize symbol
372 options do not affect unique symbols.
374 2016-07-16 Alan Modra <amodra@gmail.com>
376 * ar.c: Include plugin-api.h.
379 2016-07-16 Alan Modra <amodra@gmail.com>
381 * bucomm.c: Don't include libbfd.h.
382 (endian_string, display_target_list): Delete forward declaration.
383 (display_info_table, display_target_tables): Likewise.
384 (LONGEST_ARCH): Delete.
385 (struct display_target): New.
386 (do_display_target): New function.
387 (display_target_list, display_info): Rewrite functions.
388 (display_info_table): Delete.
389 (do_info_size, do_info_header, do_info_row): New functions.
391 2016-07-16 Alan Modra <amodra@gmail.com>
393 * elfcomm.h (HOST_WIDEST_INT): Move to..
395 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
396 (dump_dyld_info_rebase): Use read_leb128 rather than
397 read_unsigned_leb128.
398 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
399 (dump_segment_split_info): Likewise.
400 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
401 (dump_load_command): Likewise.
403 2016-07-16 Alan Modra <amodra@gmail.com>
405 * ar.c: Don't include libbfd.h.
406 * objcopy.c: Likewise.
407 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
410 2016-07-15 Alan Modra <amodra@gmail.com>
412 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
414 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
416 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
418 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
419 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
420 (struct option strip_options): Add 'remove-relocations'.
421 (struct option copy_options): Likewise.
422 (copy_usage): Likewise.
423 (strip_usage): Likewise.
424 (handle_remove_relocations_option): New function.
425 (discard_relocations): New function.
426 (handle_remove_section_option): New function.
427 (copy_relocations_in_section): Use discard_relocations.
428 (strip_main): Use handle_remove_section_option for
429 'remove-section', and handle 'remove-relocations' option.
430 (copy_main): Likewise.
431 * testsuite/binutils-all/objcopy.exp: Run new tests.
432 * testsuite/binutils-all/remove-relocs-01.d: New file.
433 * testsuite/binutils-all/remove-relocs-01.s: New file.
434 * testsuite/binutils-all/remove-relocs-02.d: New file.
435 * testsuite/binutils-all/remove-relocs-03.d: New file.
436 * testsuite/binutils-all/remove-relocs-04.d: New file.
437 * testsuite/binutils-all/remove-relocs-05.d: New file.
438 * testsuite/binutils-all/remove-relocs-06.d: New file.
439 * NEWS: Mention new option.
441 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
443 * objcopy.c (find_section_list): Handle section patterns starting
444 with '!' being a non-matching pattern.
445 * doc/binutils.texi (objcopy): Give example of using '!' with
446 --remove-section and --only-section.
447 (strip): Give example of using '!' with --remove-section.
448 * testsuite/binutils-all/data-sections.s: New file.
449 * testsuite/binutils-all/only-section-01.d: New file.
450 * testsuite/binutils-all/remove-section-01.d: New file.
451 * testsuite/binutils-all/objcopy.exp: Run new tests.
452 * NEWS: Mention new feature.
454 2016-07-09 Alan Modra <amodra@gmail.com>
457 * objdump.c (compare_symbols): For ELF, sort same value/type
458 symbols according to size.
460 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
462 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
464 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
465 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
466 (process_section_headers): Rename noread to purecode.
468 * section.c (SEC_ELF_NOREAD): Rename to ...
469 (SEC_ELF_PURECODE): ... this.
471 2016-07-01 Nick Clifton <nickc@redhat.com>
473 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
474 extremely large decimal value.
475 (pr_range_type): Likewise.
476 (pr_array_type): Likewise.
477 (pr_struct_field): Likewise.
478 (pr_class_baseclass): Likewise.
479 (pr_class_method_variant): Likewise.
480 (pr_tag_type): Likewise.
481 (pr_int_constant): Likewise.
482 (pr_typed_constant): Likewise.
483 (pr_variable): Likewise.
484 (pr_function_parameter): Likewise.
485 (pr_start_block): Likewise.
486 (pr_lineno): Likewise.
487 (pr_end_block): Likewise.
488 (tg_enum_type): Likewise.
489 (tg_int_constant): Likewise.
490 (tg_typed_constant): Likewise.
491 (tg_start_block): Likewise.
493 2016-07-01 Nick Clifton <nickc@redhat.com>
495 * testsuite/binutils-all/objcopy.exp
496 (objcopy_test_without_global_symbol): Expect this test to fail on
497 the AArch64 and ARM targets, since they preserve their mapping
500 2016-07-01 Tristan Gingold <gingold@adacore.com>
502 * NEWS: Add marker for 2.27.
504 2016-07-30 Tristan Gingold <gingold@adacore.com>
506 * doc/binutils.texi (objdump): Fix mis-placement.
508 2016-06-28 Nick Clifton <nickc@redhat.com>
510 * testsuite/binutils-all/ar.exp: Relax previous restriction on
511 Alpha targets. Allow ELF based Alpha targets.
513 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
515 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
516 the `unique_symbol' test.
518 2016-06-28 Alan Modra <amodra@gmail.com>
521 * objdump.c (objdump_print_symname): Don't attempt to retrieve
522 version info from synthetic symbols.
524 2016-06-24 Alan Modra <amodra@gmail.com>
526 * objcopy.c (find_section_rename): Forward declare. Remove
527 ibfd and sec_ptr param. Add old_name param. Allow for NULL
528 returned_flags. Move read of section name and flags to..
529 (setup_section): ..here. Update find_section_rename call.
530 (filter_symbols): Rename section symbols for renamed sections.
531 (copy_object): Call filter_symbols when renamed sections.
532 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
533 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
535 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
537 (localize-hidden-1): xfail if is_bad_symtab.
538 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
541 2016-06-24 Alan Modra <amodra@gmail.com>
543 * objdump.c (struct print_file_list): Add "max_printed".
544 (try_print_file_open): Init new field.
545 (show_line): Don't show 5 context lines when redisplaying source.
547 2016-06-22 Nick Clifton <nickc@redhat.com>
549 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
550 Skip bfdtest1 tests for tic30 target.
551 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
553 * testsuite/binutils-all/compress.exp: Expect some tests to fail
555 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
556 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
558 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
560 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
561 if the bintest.o file was created. Use the
562 get_standard_section_names proc to get the name of the data
564 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
566 * testsuite/binutils-all/readelf.exp: Use
567 get_standard_section_names proc to get the name of the data
569 * testsuite/binutils-all/readelf.r: Allow for non standard text
571 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
572 * testsuite/binutils-all/size.exp: Allow for non standard section
574 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
575 to fail on mips targets.
576 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
577 get_standard_section_names proc.
578 (run_dump_test): Likewise.
579 (proc get_standard_section_names): New proc.
581 2016-06-22 Nick Clifton <nickc@redhat.com>
583 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
584 (process_mips_specific): Likewise.
585 (process_gnu_liblist): Likewise.
587 2016-06-21 Graham Markall <graham.markall@embecosm.com>
589 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
592 2016-06-15 Nick Clifton <nickc@redhat.com>
594 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
597 2016-06-14 John Baldwin <jhb@FreeBSD.org>
599 * objcopy.c (do_elf_stt_common): Use correct type.
601 2016-06-14 Alan Modra <amodra@gmail.com>
603 * ar.c: Expand uses of bfd_my_archive.
606 2016-06-14 Alan Modra <amodra@gmail.com>
609 * bucomm.c (bfd_get_archive_filename): Return file name within thin
612 2016-06-02 Nick Clifton <nickc@redhat.com>
615 * objcopy.c (group_signature): Fail if the input symbol table has
616 not been loaded, or if the sh_info field of the group header is 0.
618 * dwarf.c (display_debug_frames): Do not display any
619 interpretation if the block consists solely of DW__CFA_NOPs.
621 2016-05-31 Alan Modra <amodra@gmail.com>
623 * objcopy.c: Formatting, whitespace throughout.
624 (copy_main): Init newsym->othersym.
625 (parse_symflags): Make len a size_t. Adjust uses.
627 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
630 * NEWS: Mention --enable-64-bit-archive.
632 2016-05-18 Nick Clifton <nickc@redhat.com>
635 * objcopy.c (copy_relocations_in_section): Also check for the
636 symbol pointed to by sym_ptr_ptr being NULL.
638 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
640 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
641 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
643 * testsuite/binutils-all/mips/mips.exp: Run the new test.
645 2016-05-18 Nick Clifton <nickc@redhat.com>
647 * po/sv.po: Updated Swedish translation.
649 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
651 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
652 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
653 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
654 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
655 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
656 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
657 `d_val' rather than `d_ptr' member of the dynamic entry.
659 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
661 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
663 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
664 with the `strip-10' test.
666 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
668 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
671 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
673 * readelf.c (print_mips_ases): Add DSPR3.
675 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
677 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
678 (arm_attr_public_tags): Define DSP_extension attribute.
680 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
682 * doc/binutils.texi (nm): Update description of --size-sort.
684 2016-05-09 Nick Clifton <nickc@redhat.com>
687 * readelf.c (get_32bit_section_headers): Warn if an out of range
688 sh_link or sh_info field is encountered.
689 (get_64bit_section_headers): Likewise.
691 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
693 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
695 2016-05-03 Nick Clifton <nickc@redhat.com>
697 * po/sv.po: Updated Swedish translation.
699 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
701 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
702 PC relocation for AVR target.
703 (is_none_reloc): Return true if reloc is any of AVR diff
706 2016-04-29 Nick Clifton <nickc@redhat.com>
709 * readelf.c (get_solaris_segment_type): New function.
710 (get_segment_type): Call it.
712 2016-04-28 Nick Clifton <nickc@redhat.com>
714 * po/zh_CN.po: Updated Chinese (simplified) translation.
716 2016-04-28 Nick Clifton <nickc@redhat.com>
719 * testsuite/binutils-all/aarch64/illegal.s: New test.
720 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
722 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
724 * resres.c: Likewise.
726 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
728 * Makefile.in: Regenerated with automake 1.11.6.
729 * aclocal.m4: Likewise.
730 * doc/Makefile.in: Likewise.
732 2016-04-14 Nick Clifton <nickc@redhat.com>
735 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
736 string sections possibly having the SHF_STRINGS flag bit set.
737 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
738 * testsuite/binutils-all/readelf.s: Likewise.
739 * testsuite/binutils-all/readelf.s-64: Likewise.
740 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
741 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
743 2016-04-13 Nick Clifton <nickc@redhat.com>
746 * readelf.c (get_solaris_section_type): New function: Returns the
747 name of Solaris specific section types.
748 (get_solaris_dynamic_type): New function: Return the name of
749 Solaris specific dynamic types.
750 (get_dynamic_type): Use get_solaris_dynamic_type.
751 (get_section_type_name): Use get_solaris_section_type.
752 (get_solaris_symbol_visibility): New function: Returns Solaris
753 specific symbol visibilities.
754 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
755 (process_symbol_table): Likewise.
757 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
759 * dwarf.h (init_dwarf_regnames_s390): Declare.
760 * dwarf.c (dwarf_regnames_s390): New.
761 (init_dwarf_regnames_s390): New.
762 (init_dwarf_regnames): Call it.
763 * objdump.c (dump_dwarf): Likewise.
765 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
767 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
768 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
770 * testsuite/binutils-all/mips/mips.exp: Run the new test.
772 2016-04-04 Nick Clifton <nickc@redhat.com>
775 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
776 version number if the version is zero.
778 2016-03-29 Alan Modra <amodra@gmail.com>
780 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
781 (get_dynamic_data): Likewise.
783 2016-03-22 Nick Clifton <nickc@redhat.com>
786 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
787 with run time size check.
789 * configure: Regenerate.
791 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
793 * readelf.c (decode_ARC_machine_flags): Handle nps400.
795 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
797 * readelf.c (get_machine_flags): Move arc processing into...
798 (decode_ARC_machine_flags): ... new function. Remove use of
799 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
800 "unknown arc". Merged ABI printing between two machine types.
802 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
804 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
805 to the architecture list.
807 2016-03-21 Nick Clifton <nickc@redhat.com>
809 * dlltool.c: Replace use of alloca with call to xmalloc.
810 * dllwrap.c: Likewise.
811 * nlmconv.c: Likewise.
812 * objdump.c: Likewise.
814 * winduni.c: Likewise.
815 * configure: Regenerate.
817 2016-03-07 Nick Clifton <nickc@redhat.com>
820 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
822 * testsuite/binutils-all/empty: New, empty, file.
824 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
826 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
828 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
831 * NEWS: Mention --elf-stt-common= for objcopy.
832 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
833 * objcopy.c (do_elf_stt_common): New.
834 (command_line_switch): Add OPTION_ELF_STT_COMMON.
835 (copy_options): Add --elf-stt-common=.
836 (copy_usage): Add --elf-stt-common=.
837 (copy_object): Also check do_elf_stt_common for ELF targets.
838 (copy_file): Handle do_elf_stt_common.
839 (copy_main): Handle OPTION_ELF_STT_COMMON.
840 * readelf.c (apply_relocations): Support STT_COMMON.
841 * testsuite/binutils-all/common-1.s: New file.
842 * testsuite/binutils-all/common-1a.d: Likewise.
843 * testsuite/binutils-all/common-1b.d: Likewise.
844 * testsuite/binutils-all/common-1c.d: Likewise.
845 * testsuite/binutils-all/common-1d.d: Likewise.
846 * testsuite/binutils-all/common-1e.d: Likewise.
847 * testsuite/binutils-all/common-1f.d: Likewise.
848 * testsuite/binutils-all/common-2.s: Likewise.
849 * testsuite/binutils-all/common-2a.d: Likewise.
850 * testsuite/binutils-all/common-2b.d: Likewise.
851 * testsuite/binutils-all/common-2c.d: Likewise.
852 * testsuite/binutils-all/common-2d.d: Likewise.
853 * testsuite/binutils-all/common-2e.d: Likewise.
854 * testsuite/binutils-all/common-2f.d: Likewise.
855 * testsuite/binutils-all/objcopy.exp
856 (objcopy_test_elf_common_symbols): New proc.
857 Run objcopy_test_elf_common_symbols for ELF targets
859 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
862 * readelf.c (get_section_type_name): Add a missing break.
864 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
866 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
868 2016-02-15 Nick Clifton <nickc@redhat.com>
870 * readelf.c (get_section_type_name): Add hex prefix to offsets
871 printed for LOPROC and LOOS values. Ensure that a result is
872 always returned for the V850 target, even when an unrecognised
873 processor specific value is encountered.
874 (process_section_headers): Display key values in the order in
875 which they appear to the user. Add the "C (compressed)" value to
878 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
880 * doc/binutils.texi: Fix a typo.
882 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
884 * testsuite/binutils-all/objdump.exp: Update expected default
885 architecture value for ARC binaries.
887 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
890 * testsuite/binutils-all/objcopy.exp
891 (objcopy_test_without_global_symbol): New proc.
892 Run objcopy_test_without_global_symbol.
893 * testsuite/binutils-all/pr19547.c: New file.
895 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
898 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
900 * Makefile.in: Regenerated.
901 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
903 Run test_gnu_debuglink for native ELF build.
905 2016-01-20 Nick Clifton <nickc@redhat.com>
908 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
909 do not support inserting leading underscores.
911 2016-01-20 Mickael Guene <mickael.guene@st.com>
913 * readelf.c (get_elf_section_flags): Display y letter for section
914 with SHF_ARM_NOREAD section flag in readelf section output.
915 (process_section_headers): Add y letter in readelf section output
916 key mapping for ARM architecture.
917 * objdump.c (dump_section_header): Display NOREAD attributes as
919 * doc/binutils.texi (objdump): Note that it is correct for
920 sections to have both the READONLY and NOREAD attributes.
922 2016-01-19 John Baldwin <jhb@FreeBSD.org>
924 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
926 2016-01-19 John Baldwin <jhb@FreeBSD.org>
928 * readelf.c (get_freebsd_elfcore_note_type): New
929 (process_note): Add support for FreeBSD core notes.
931 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
932 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
934 * readelf.c (get_machine_flags): Add support for newer ARC ELF
937 2016-01-18 Alan Modra <amodra@gmail.com>
939 * configure: Regenerate.
941 2016-01-17 Alan Modra <amodra@gmail.com>
943 * configure: Regenerate.
945 2016-01-17 Alan Modra <amodra@gmail.com>
947 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
948 for m68hc11/12 and xgate triples.
950 2016-01-17 Alan Modra <amodra@gmail.com>
952 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
954 2016-01-01 Alan Modra <amodra@gmail.com>
956 Update year range in copyright notice of all files.
958 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
960 Copyright (C) 2016 Free Software Foundation, Inc.
962 Copying and distribution of this file, with or without modification,
963 are permitted in any medium without royalty provided the copyright
964 notice and this notice are preserved.
970 version-control: never