arm: Define elf_backend_extern_protected_data to 0 [PR 18705]
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr21997-1a.S
1 .text
2 .p2align 4,,15
3 .globl get_protected
4 .type get_protected, @function
5 get_protected:
6 movl protected(%rip), %eax
7 ret
8 .size get_protected, .-get_protected
9 .p2align 4,,15
10 .globl get_protected_p
11 .type get_protected_p, @function
12 get_protected_p:
13 leaq protected(%rip), %rax
14 ret
15 .size get_protected_p, .-get_protected_p
16 .protected protected
17 .globl protected
18 .data
19 .align 4
20 .type protected, @object
21 .size protected, 4
22 protected:
23 .long 1
24 .section .note.GNU-stack,"",@progbits