]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
objdump: properly disassemble successive functions of the same name
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 10:23:13 +0000 (11:23 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 10:23:13 +0000 (11:23 +0100)
commit60e254b7012b370f1b55d572565f829379553a7e
treeb0e2634fd3e15d7c96397fe7b2d915e62b27667c
parent9385922d3fb9304622bbd78b2437bcfa50e7491a
objdump: properly disassemble successive functions of the same name

... when only their symbol was requested for disassembly. Addressing the
respective FIXME is as easy as coverting the "else" there to an if()
with the opposite condition, thus accounting for the disabling the
original if() may have effected.
binutils/objdump.c
binutils/testsuite/binutils-all/multi-1.d [new file with mode: 0644]
binutils/testsuite/binutils-all/multi-2.d [new file with mode: 0644]
binutils/testsuite/binutils-all/multi1.s [new file with mode: 0644]
binutils/testsuite/binutils-all/multi2.s [new file with mode: 0644]
binutils/testsuite/binutils-all/objdump.exp