aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr21997-1a.S
blob: cab99a9abde22dbd05328a565ebf06cc9f4da342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
	.text
	.p2align 4,,15
	.globl	get_protected
	.type	get_protected, @function
get_protected:
	movl	protected(%rip), %eax
	ret
	.size	get_protected, .-get_protected
	.p2align 4,,15
	.globl	get_protected_p
	.type	get_protected_p, @function
get_protected_p:
	leaq	protected(%rip), %rax
	ret
	.size	get_protected_p, .-get_protected_p
	.protected	protected
	.globl	protected
	.data
	.align 4
	.type	protected, @object
	.size	protected, 4
protected:
	.long	1
	.section	.note.GNU-stack,"",@progbits