mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
baae986a40
* objdump.c (disassemble_section): When disassembling from a symbol only stop at the next symbol if the original symbol was not a function symbol. Otherwise continue disassembling until a new function is reached. * testsuite/binutils-all/objdump.exp: Add tests of extended functionality. * testsuite/binutils-all/disasm.s: New test source file.
25 lines
392 B
ArmAsm
25 lines
392 B
ArmAsm
.text
|
|
|
|
.globl start_of_text
|
|
start_of_text:
|
|
.type start_of_text, "function"
|
|
.long 1
|
|
.size start_of_text, . - start_of_text
|
|
|
|
.globl func
|
|
func:
|
|
.type func, "function"
|
|
.long 2
|
|
.global global_non_func_sym
|
|
global_non_func_sym:
|
|
.long 3
|
|
local_non_func_sym:
|
|
.long 4
|
|
.size func, . - func
|
|
|
|
.globl next_func
|
|
next_func:
|
|
.type next_func, "function"
|
|
.long 5
|
|
.size next_func, . - next_func
|