* objdump.c (objdump_print_value): Add skip_zeroes parameter.
authorIan Lance Taylor <ian@airs.com>
Wed, 29 Jan 1997 18:58:04 +0000 (18:58 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 29 Jan 1997 18:58:04 +0000 (18:58 +0000)
commit51b8c416772b4e6c51495c2b54f8732c4b2a513b
tree3e62bce9cc4cc55d2ec5bcedfa1033e9cf9bb451
parent7e2b3363f1779af16b12b9ff1c5fa8ae0aa5d959
* objdump.c (objdump_print_value): Add skip_zeroes parameter.
Change all callers.
(objdump_print_addr_with_sym): Likewise.  Call objdump_print_value
to print address.
(objdump_print_addr): New static function.
(objdump_print_address): Just call objdump_print_addr.
(disassemble_bytes): Print real address, not function offset.
Skip a certain number of leading zeroes.

* objdump.c (disassemble_zeroes): New static variable.
(usage): Mention --disassemble-zeroes.
(long_options): Add "disassemble-zeroes".
(disassemble_bytes): Check disassemble_zeroes.
Changes requested by LSI.
binutils/ChangeLog
binutils/binutils.texi
binutils/objdump.1
binutils/objdump.c