Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr27491-2.d
blob753ebb64082f2b8f0c8f23a1e9d4f717429bb076
1 #as: --64
2 #ld: --gc-sections -melf_x86_64 -z start-stop-gc -shared
3 #objdump: --syms -dw
5 .*: +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 +[a-f0-9]+: 48 8d 05 ([0-9a-f]{2} ){4}[ \t]+lea +0x[a-f0-9]+\(%rip\),%rax[ \t]+# [a-f0-9]+ <bar1>
22 +[a-f0-9]+: 48 8d 05 ([0-9a-f]{2} ){4}[ \t]+lea +0x[a-f0-9]+\(%rip\),%rax[ \t]+# [a-f0-9]+ <bar2>
23 #pass