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