diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-10-24 21:21:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-10-24 21:21:17 +0000 |
commit | 4cb99ff2a19b9c1ad46106872a4888ede341d5d4 (patch) | |
tree | 784cad27388df371624f169db1aa2e957ac23067 /binutils/nm.1 | |
parent | f009978996aa1c65934b0960953f4cb65b7ac905 (diff) | |
download | gdb-4cb99ff2a19b9c1ad46106872a4888ede341d5d4.zip gdb-4cb99ff2a19b9c1ad46106872a4888ede341d5d4.tar.gz gdb-4cb99ff2a19b9c1ad46106872a4888ede341d5d4.tar.bz2 |
* objdump.c (prefix_addresses): New static variable.
(long_options): Add "prefix-addresses".
(compare_symbols): Sort BSF_FUNCTION symbols before other
symbols.
(find_symbol_for_address): New static function, broken out of
objdump_print_address.
(objdump_print_addr_with_sym): New static function, broken out of
objdump_print_address.
(objdump_print_address): Call new functions.
(disassemble_bytes): New static function, broken out of
disassemble_data. Change disassembly format, unless
prefix_addresses is set.
(disassemble_data): Call disassemble_bytes. Unless
prefix_addresses is set, disassemble in chunks headed by a
symbol.
* binutils.texi, objdump.1: Document --prefix-addresses.
Diffstat (limited to 'binutils/nm.1')
0 files changed, 0 insertions, 0 deletions