arm: Define elf_backend_extern_protected_data to 0 [PR 18705]
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr27491-1c.d
1 #source: pr27491-1.s
2 #as: --64
3 #ld: --gc-sections -melf_x86_64 -shared
4 #objdump: --syms -dw
5
6 .*: +file format elf64-x86-64
7
8 SYMBOL TABLE:
9 #...
10 [a-f0-9]+ g xx [a-f0-9]+ \.protected __stop_xx
11 #...
12 [a-f0-9]+ g xx [a-f0-9]+ \.protected __start_xx
13 #...
14
15
16 Disassembly of section .text:
17
18 [a-f0-9]+ <foo>:
19 +[a-f0-9]+: 48 8d 05 ([0-9a-f]{2} ){4}[ \t]+lea +0x[a-f0-9]+\(%rip\),%rax[ \t]+# [a-f0-9]+ <__start_xx>
20 +[a-f0-9]+: 48 8d 05 ([0-9a-f]{2} ){4}[ \t]+lea +0x[a-f0-9]+\(%rip\),%rax[ \t]+# [a-f0-9]+ <__stop_xx>
21 #pass