* objdump.c (find_symbol_for_address): Avoid costly call to
bfd_octets_per_byte.
This commit is contained in:
parent
43e56c3465
commit
765abe2bec
|
@ -1,3 +1,8 @@
|
|||
2009-08-24 Cary Coutant <ccoutant@google.com>
|
||||
|
||||
* objdump.c (find_symbol_for_address): Avoid costly call to
|
||||
bfd_octets_per_byte.
|
||||
|
||||
2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* Makefile.am (am__skiplex, am__skipyacc): New.
|
||||
|
|
|
@ -747,7 +747,7 @@ find_symbol_for_address (bfd_vma vma,
|
|||
aux = (struct objdump_disasm_info *) info->application_data;
|
||||
abfd = aux->abfd;
|
||||
sec = aux->sec;
|
||||
opb = bfd_octets_per_byte (abfd);
|
||||
opb = info->octets_per_byte;
|
||||
|
||||
/* Perform a binary search looking for the closest symbol to the
|
||||
required value. We are searching the range (min, max]. */
|
||||
|
|
Loading…
Reference in New Issue