Support different ld --hash-style in the ld testsuite
[deliverable/binutils-gdb.git] / ld / testsuite / ld-i386 / ibt-plt-2a.d
CommitLineData
ee2fdd6f
L
1#source: ibt-plt-2.s
2#as: --32
bab55c05 3#ld: -shared -m elf_i386 -z ibtplt --hash-style=sysv
ee2fdd6f
L
4#objdump: -dw
5
6.*: +file format .*
7
8
9Disassembly of section .plt:
10
110+1b0 <.plt>:
12 +[a-f0-9]+: ff b3 04 00 00 00 pushl 0x4\(%ebx\)
13 +[a-f0-9]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\)
14 +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%eax\)
15 +[a-f0-9]+: f3 0f 1e fb endbr32
16 +[a-f0-9]+: 68 00 00 00 00 push \$0x0
17 +[a-f0-9]+: e9 e2 ff ff ff jmp 1b0 <.plt>
18 +[a-f0-9]+: 66 90 xchg %ax,%ax
19 +[a-f0-9]+: f3 0f 1e fb endbr32
20 +[a-f0-9]+: 68 08 00 00 00 push \$0x8
21 +[a-f0-9]+: e9 d2 ff ff ff jmp 1b0 <.plt>
22 +[a-f0-9]+: 66 90 xchg %ax,%ax
23
24Disassembly of section .plt.sec:
25
260+1e0 <bar1@plt>:
27 +[a-f0-9]+: f3 0f 1e fb endbr32
28 +[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
29 +[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%eax,%eax,1\)
30
310+1f0 <bar2@plt>:
32 +[a-f0-9]+: f3 0f 1e fb endbr32
33 +[a-f0-9]+: ff a3 10 00 00 00 jmp \*0x10\(%ebx\)
34 +[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%eax,%eax,1\)
35
36Disassembly of section .text:
37
380+200 <foo>:
39 +[a-f0-9]+: 53 push %ebx
40 +[a-f0-9]+: e8 18 00 00 00 call 21e <__x86.get_pc_thunk.bx>
41 +[a-f0-9]+: 81 c3 22 11 00 00 add \$0x1122,%ebx
42 +[a-f0-9]+: 83 ec 08 sub \$0x8,%esp
43 +[a-f0-9]+: e8 dc ff ff ff call 1f0 <bar2@plt>
44 +[a-f0-9]+: e8 c7 ff ff ff call 1e0 <bar1@plt>
45 +[a-f0-9]+: 83 c4 08 add \$0x8,%esp
46 +[a-f0-9]+: 5b pop %ebx
47 +[a-f0-9]+: c3 ret
48
490+21e <__x86.get_pc_thunk.bx>:
50 +[a-f0-9]+: 8b 1c 24 mov \(%esp\),%ebx
51 +[a-f0-9]+: c3 ret
52#pass
This page took 0.139879 seconds and 4 git commands to generate.