binutils-gdb/binutils/testsuite/binutils-all/disasm.s
Nick Clifton baae986a40 Update objdump's --disassemble=<symbol> feature so that if <symbol> is a function, the entire function will be disassembled, regardless of the presence of interveening symbols.
* 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.
2019-01-17 15:29:43 +00:00

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