summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr27491-3.d
blob: 6dda5424ffffd6c2926465412fc7a9a175e1cdf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#as: --64
#ld: --gc-sections -melf_x86_64 -z start-stop-gc -shared
#objdump: --syms -dw

.*: +file format elf64-x86-64


SYMBOL TABLE:
#...
[a-f0-9]+ g       xx	[a-f0-9]+ \.protected __stop_xx
#...
[a-f0-9]+ g       xx	[a-f0-9]+ \.protected __start_xx
#...


Disassembly of section .text:

[a-f0-9]+ <foo>:
 +[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>
 +[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>
#pass