aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr23930.d
blob: 215d46552316c8328e1805177b23843e4e06b00a (plain)
1
2
3
4
5
6
7
8
9
10
11
#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