binutils-gdb/ld/testsuite/ld-x86-64/pr23930.d

12 lines
258 B
D
Raw Normal View History

#source: pr23930a.s
#source: pr23930b.s
#as: --64
#ld: -m elf_x86_64 -z separate-code -z norelro -T pr23930.t
#objdump: --disassemble=main
#...
[a-f0-9]+ <main>:
[a-f0-9]+: 31 c0 xor %eax,%eax
[a-f0-9]+: c3 ret *
#pass