]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-ifunc/ifunc-21-x86-64.d
ELF: Don't generate unused section symbols
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-ifunc / ifunc-21-x86-64.d
1 #as: --64 -mrelax-relocations=yes
2 #ld: -melf_x86_64 -z max-page-size=0x200000 -z noseparate-code
3 #objdump: -dw
4 #target: x86_64-*-*
5
6 .*: +file format .*
7
8
9 Disassembly of section .text:
10
11 0+4000c8 <__start>:
12 +[a-f0-9]+: ff 15 2a 00 20 00 call \*0x20002a\(%rip\) # 6000f8 <bar\+0x200007>
13 +[a-f0-9]+: ff 25 24 00 20 00 jmp \*0x200024\(%rip\) # 6000f8 <bar\+0x200007>
14 +[a-f0-9]+: 48 03 05 1d 00 20 00 add 0x20001d\(%rip\),%rax # 6000f8 <bar\+0x200007>
15 +[a-f0-9]+: 48 8b 05 16 00 20 00 mov 0x200016\(%rip\),%rax # 6000f8 <bar\+0x200007>
16 +[a-f0-9]+: 48 85 05 0f 00 20 00 test %rax,0x20000f\(%rip\) # 6000f8 <bar\+0x200007>
17 +[a-f0-9]+: 48 c7 c0 f1 00 40 00 mov \$0x4000f1,%rax
18
19 0+4000f0 <foo>:
20 +[a-f0-9]+: c3 ret *
21
22 0+4000f1 <bar>:
23 +[a-f0-9]+: c3 ret *
24 #pass