Add 2 ifunc tests for i386 and x86-64
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ifunc / ifunc-22-i386.d
1 #ld: -m elf_i386
2 #as: --32
3 #objdump: -dw
4 #target: x86_64-*-* i?86-*-*
5
6 .*: +file format .*
7
8
9 Disassembly of section .plt:
10
11 0+8048080 <.plt>:
12 [ ]*[a-f0-9]+: ff 25 b8 90 04 08 jmp \*0x80490b8
13 [ ]*[a-f0-9]+: 68 00 00 00 00 push \$0x0
14 [ ]*[a-f0-9]+: e9 00 00 00 00 jmp 8048090 <__start>
15
16 Disassembly of section .text:
17
18 0+8048090 <__start>:
19 [ ]*[a-f0-9]+: e8 00 00 00 00 call 8048095 <__start\+0x5>
20 [ ]*[a-f0-9]+: 5b pop %ebx
21 [ ]*[a-f0-9]+: 81 c3 17 10 00 00 add \$0x1017,%ebx
22 [ ]*[a-f0-9]+: 8b 83 0c 00 00 00 mov 0xc\(%ebx\),%eax
23 [ ]*[a-f0-9]+: 8d ([0-9a-f]{2} ){5}[ ]+lea[ ]+.*
24
25 0+80480a8 <foo>:
26 [ ]*[a-f0-9]+: c3 ret
27
28 0+80480a9 <bar>:
29 [ ]*[a-f0-9]+: c3 ret
30 #pass
This page took 0.032089 seconds and 5 git commands to generate.