From baae986a40eb2ed6d612436586bfa7dd1d88702d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 17 Jan 2019 15:29:43 +0000 Subject: Update objdump's --disassemble= feature so that if 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. --- binutils/NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binutils/NEWS') diff --git a/binutils/NEWS b/binutils/NEWS index 56bd740..0b8cc8e 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -13,7 +13,7 @@ * Objdump's --disassemble option can now take a parameter, specifying the starting symbol for disassembly. Disassembly will continue from this - symbol up to the next symbol. + symbol up to the next symbol or the end of the function. * The MIPS port now supports the Loongson 2K1000 processor which implements the MIPS64r2 ISA, the Loongson-mmi ASE, Loongson-cam ASE, Loongson-ext ASE, -- cgit v1.1