aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected3.s
blob: e4af6e7fb342e77aec9266aa5e10ae8de9663001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
	.protected	foo
.globl foo
	.data
	.align 4
	.type	foo, @object
	.size	foo, 4
foo:
	.long	1
	.text
.globl bar
	.type	bar, @function
bar:
	movl	foo(%rip), %eax
	ret
	.size	bar, .-bar