ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr27491-4.d
blob54542fd2d1a264871bacf166a78b420da337c82b
1 #source: pr27491-4a.s
2 #source: pr27491-4b.s
3 #as: --64
4 #ld: --gc-sections -melf_x86_64 -z start-stop-gc -shared
5 #objdump: --syms -dw
7 .*: +file format elf64-x86-64
10 SYMBOL TABLE:
11 #...
12 [a-f0-9]+ g xx [a-f0-9]+ \.protected __stop_xx
13 #...
14 [a-f0-9]+ g xx [a-f0-9]+ \.protected __start_xx
15 #...
18 Disassembly of section .text:
20 [a-f0-9]+ <foo>:
21 +[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>
22 +[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>
23 #pass