i386: Update IFUNC tests for PLT address
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ifunc / ifunc-2-x86-64-now.d
CommitLineData
38b12349
L
1#source: ifunc-2-x86-64.s
2#as: --64
bab55c05 3#ld: -z now -shared -melf_x86_64 --hash-style=sysv
38b12349
L
4#objdump: -dw
5#target: x86_64-*-*
6#notarget: x86_64-*-nacl*
7
8.*: +file format .*
9
10
11Disassembly of section .plt:
12
130+1f0 <.plt>:
14 +[a-f0-9]+: ff 35 42 01 20 00 pushq 0x200142\(%rip\) # 200338 <_GLOBAL_OFFSET_TABLE_\+0x8>
15 +[a-f0-9]+: ff 25 44 01 20 00 jmpq \*0x200144\(%rip\) # 200340 <_GLOBAL_OFFSET_TABLE_\+0x10>
16 +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
17
180+200 <\*ABS\*\+0x210@plt>:
19 +[a-f0-9]+: ff 25 42 01 20 00 jmpq \*0x200142\(%rip\) # 200348 <_GLOBAL_OFFSET_TABLE_\+0x18>
20 +[a-f0-9]+: 68 00 00 00 00 pushq \$0x0
21 +[a-f0-9]+: e9 e0 ff ff ff jmpq 1f0 <.plt>
22
23Disassembly of section .text:
24
250+210 <foo>:
26 +[a-f0-9]+: c3 retq
27
280+211 <bar>:
29 +[a-f0-9]+: e8 ea ff ff ff callq 200 <\*ABS\*\+0x210@plt>
30 +[a-f0-9]+: 48 8d 05 e3 ff ff ff lea -0x1d\(%rip\),%rax # 200 <\*ABS\*\+0x210@plt>
31 +[a-f0-9]+: c3 retq
32#pass
This page took 0.066454 seconds and 4 git commands to generate.