Files
binutils-gdb/binutils/testsuite/binutils-all/multi-2.d
Jan Beulich 60e254b701 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.
2025-03-07 11:23:13 +01:00

24 lines
568 B
Makefile

#name: objdump --disassemble= of consecutive same-name functions (2)
#source: multi2.s
#source: multi1.s
#ld: -r
#objdump: --disassemble=func2 -wz
# ECOFF disassembly omits local symbols, for whatever reason.
#xfail: "alpha*-*-*ecoff" "alpha*-*-osf*"
.*: +file format .*
Disassembly of section .*:
0+ <func2>:
[ ]*[0-9a-f]+: [0-9a-f][0-9a-f].*
#?[ ]*[0-9a-f]+: [0-9a-f][0-9a-f].*
#?[ ]*[0-9a-f]+: [0-9a-f][0-9a-f].*
# HPPA 32-bit ELF "ld -r" leaves .text unmerged.
#?Disassembly of section .*:
0+[0-3][0-9a-f] <func2>:
[ ]*[0-9a-f]+: [0-9a-f][0-9a-f].*
#pass