aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected1.s
blob: 31368aa0dbc343f191158f42f43df39ce7886001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
	.text
.globl foo
	.protected	foo
	.type	foo, @function
foo:
	ret
	.size	foo, .-foo
.globl bar
	.type	bar, @function
bar:
	leaq	foo(%rip), %rax
	ret
	.size	bar, .-bar