diff options
author | Cary Coutant <ccoutant@google.com> | 2009-08-24 18:43:50 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2009-08-24 18:43:50 +0000 |
commit | 209e299b2f430333d7fe1d684dc7a14caa08ed74 (patch) | |
tree | 5fcdcbf9ac24735b4dba3ade73af5d51a10a46c0 /binutils/objdump.c | |
parent | 0e80add790803014b6b27d2678604dd4bcbe7f85 (diff) | |
download | binutils-redhat-209e299b2f430333d7fe1d684dc7a14caa08ed74.tar.gz |
* objdump.c (find_symbol_for_address): Avoid costly call to
bfd_octets_per_byte.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r-- | binutils/objdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c index 758b0be4a6..71909980b5 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -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]. */ |