Speed up objdump when displaying disassembly mixed with line number and source code...
authorNick Clifton <nickc@redhat.com>
Mon, 9 Jan 2017 16:49:48 +0000 (16:49 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 9 Jan 2017 16:49:48 +0000 (16:49 +0000)
commitcd6581da62c32a391f9a4c2c5d248a11aa6fa8f7
tree7918cbf311b6e85e5050fa58676060a4957e5f60
parent20b52c88ea31f8a0af60d6172ab0da5f2ad616ee
Speed up objdump when displaying disassembly mixed with line number and source code information.

bfd * dwarf2.c (lookup_address_in_function_table): Return early if
there are no functions in the given comp unit, or if the high
address of the last function in the comp unit is less than the
desired address.

binutils * objdump.c (display_file): Add new parameter 'last_file'.  If
last_file is true, do not call bfd_close at the end of the
function.
(main): Set the value of the last_file parameter when calling
display_file.
bfd/ChangeLog
bfd/dwarf2.c
binutils/ChangeLog
binutils/objdump.c
This page took 0.054863 seconds and 4 git commands to generate.