Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr27491-1c.d
blob1288361463d59e003f0b44b1cde1ae14cb7131ec
1 #source: pr27491-1.s
2 #as: --64
3 #ld: --gc-sections -melf_x86_64 -shared
4 #objdump: --syms -dw
6 .*: +file format elf64-x86-64
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 #...
16 Disassembly of section .text:
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