aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr28158-2.S
blob: 4e703b28ed1a366b2b53086d2db94aeebc5e9589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
	.text
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
	.cfi_startproc
#ifdef __x86_64__
	movl	foo(%rip), %eax
#else
	movl	foo, %eax
#endif
	ret
	.cfi_endproc
	.size	main, .-main
	.section	.note.GNU-stack,"",@progbits