Retro68/binutils/ld/testsuite/ld-x86-64/pr21997-1a.S
2018-12-28 16:25:28 +01:00

25 lines
491 B
ArmAsm

.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