2020-01-17 23:27:31 +08:00
|
|
|
|
2020-01-17 Thomas Troeger <tstroege@gmx.de>
|
|
|
|
|
|
|
|
|
|
* objdump.c (jump_info_visualize_address): Discard jumps that are
|
|
|
|
|
no longer needed.
|
|
|
|
|
(disassemble_bytes): Only compute the maximum level if jumps were
|
|
|
|
|
detected.
|
|
|
|
|
|
2020-01-13 23:18:57 +08:00
|
|
|
|
2020-01-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2020-01-14 01:28:41 +08:00
|
|
|
|
* objdump.c (disassemble_bytes): Remove C99-ism.
|
2020-01-13 23:18:57 +08:00
|
|
|
|
* testsuite/binutils-all/debuginfod.exp: New tests.
|
|
|
|
|
|
Add an option to objdump's disassembler to generate ascii art diagrams showing the destinations of flow control instructions.
binutils* objdump.c (visualize_jumps, color_output, extended_color_output)
(detected_jumps): New variables.
(usage): Add the new jump visualization options.
(option_values): Add new option value.
(long_options): Add the new option.
(jump_info_new, jump_info_free): New functions.
(jump_info_min_address, jump_info_max_address): Likewise.
(jump_info_end_address, jump_info_is_start_address): Likewise.
(jump_info_is_end_address, jump_info_size): Likewise.
(jump_info_unlink, jump_info_insert): Likewise.
(jump_info_add_front, jump_info_move_linked): Likewise.
(jump_info_intersect, jump_info_merge): Likewise.
(jump_info_sort, jump_info_visualize_address): Likewise.
(disassemble_jumps): New function - used to locate jumps.
(disassemble_bytes): Add ascii art generation.
(disassemble_section): Add scan to locate jumps.
(main): Parse the new visualization option.
* doc/binutils.texi: Document the new feature.
* NEWS: Mention the new feature.
opcodes * arm-dis.c (print_insn_arm): Fill in insn info fields for control
flow instructions.
(print_insn_thumb16, print_insn_thumb32): Likewise.
(print_insn): Initialize the insn info.
* i386-dis.c (print_insn): Initialize the insn info fields, and
detect jumps.
2020-01-13 20:36:55 +08:00
|
|
|
|
2020-01-13 Thomas Troeger <tstroege@gmx.de>
|
|
|
|
|
|
|
|
|
|
* objdump.c (visualize_jumps, color_output, extended_color_output)
|
|
|
|
|
(detected_jumps): New variables.
|
|
|
|
|
(usage): Add the new jump visualization options.
|
|
|
|
|
(option_values): Add new option value.
|
|
|
|
|
(long_options): Add the new option.
|
|
|
|
|
(jump_info_new, jump_info_free): New functions.
|
|
|
|
|
(jump_info_min_address, jump_info_max_address): Likewise.
|
|
|
|
|
(jump_info_end_address, jump_info_is_start_address): Likewise.
|
|
|
|
|
(jump_info_is_end_address, jump_info_size): Likewise.
|
|
|
|
|
(jump_info_unlink, jump_info_insert): Likewise.
|
|
|
|
|
(jump_info_add_front, jump_info_move_linked): Likewise.
|
|
|
|
|
(jump_info_intersect, jump_info_merge): Likewise.
|
|
|
|
|
(jump_info_sort, jump_info_visualize_address): Likewise.
|
|
|
|
|
(disassemble_jumps): New function - used to locate jumps.
|
|
|
|
|
(disassemble_bytes): Add ascii art generation.
|
|
|
|
|
(disassemble_section): Add scan to locate jumps.
|
|
|
|
|
(main): Parse the new visualization option.
|
|
|
|
|
* doc/binutils.texi: Document the new feature.
|
|
|
|
|
* NEWS: Mention the new feature.
|
|
|
|
|
|
2020-01-13 20:00:46 +08:00
|
|
|
|
2020-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
2020-01-13 20:23:02 +08:00
|
|
|
|
PR 25360
|
|
|
|
|
PR 25361
|
2020-01-13 20:00:46 +08:00
|
|
|
|
* dwarf.c (display_debug_frames): Move fde_fc earlier. Free
|
|
|
|
|
fde_fc col_type and col_offset.
|
|
|
|
|
* readelf.c (apply_relocations): Move symsec check earlier.
|
|
|
|
|
(free_debug_section): Free reloc_info.
|
|
|
|
|
(process_notes_at): Free pnotes on error path.
|
|
|
|
|
(process_object): Free dump_sects here..
|
|
|
|
|
(process_archive): ..not here.
|
|
|
|
|
|
2020-01-13 17:06:13 +08:00
|
|
|
|
2020-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25362
|
|
|
|
|
* nm.c (display_rel_file): Free dyn_syms.
|
|
|
|
|
|
2020-01-10 00:51:04 +08:00
|
|
|
|
2020-01-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 25220
|
|
|
|
|
* objcopy.c (empty_name): New variable.
|
|
|
|
|
(need_sym_before): Prevent an attempt to free a static variable.
|
|
|
|
|
(filter_symbols): Avoid strcmp test by checking for pointer
|
|
|
|
|
equality.
|
|
|
|
|
|
2020-01-09 21:36:22 +08:00
|
|
|
|
2020-01-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/zh_TW.po: Updated Traditional Chinese translation.
|
|
|
|
|
|
|
|
|
|
2020-01-09 Aaron Merey <amerey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* NEWS: Update.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.ac: Call AC_DEBUGINFOD.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
* doc/binutils.texi: Add section on using binutils
|
|
|
|
|
with debuginfod.
|
|
|
|
|
* dwarf.c (debuginfod_fetch_separate_debug_info): New function.
|
|
|
|
|
Query debuginfod servers for the target debug file.
|
|
|
|
|
(load_separate_debug_info): Call
|
|
|
|
|
debuginfod_fetch_separate_debug_info if configured with
|
|
|
|
|
debuginfod.
|
|
|
|
|
(load_separate_debug_files): Add file argument to
|
|
|
|
|
load_separate_debug_info calls.
|
|
|
|
|
* dwarf.h (get_build_id): Add declaration.
|
|
|
|
|
* objdump.c (get_build_id): New function. Get build-id of file.
|
|
|
|
|
* readelf.c (get_build_id): Likewise.
|
|
|
|
|
* testsuite/binutils-all/debuginfod.exp: New tests.
|
|
|
|
|
* testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
|
|
|
|
|
section.
|
|
|
|
|
|
2020-01-02 22:10:40 +08:00
|
|
|
|
2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c: Add support for new Z*) relocations and machine
|
|
|
|
|
types.
|
|
|
|
|
|
2020-01-01 16:22:19 +08:00
|
|
|
|
2020-01-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
Update year range in copyright notice of all files.
|
|
|
|
|
|
2020-01-01 15:37:11 +08:00
|
|
|
|
For older changes see ChangeLog-2019
|
2016-01-01 18:44:31 +08:00
|
|
|
|
|
2020-01-01 15:37:11 +08:00
|
|
|
|
Copyright (C) 2020 Free Software Foundation, Inc.
|
2016-01-01 18:44:31 +08:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|