Add the GOT base for GOT32 relocs against IFUNC
[deliverable/binutils-gdb.git] / ld / testsuite / ld-i386 / pr20244-2a.d
1 #source: pr20244-2.s
2 #as: --32
3 #ld: -m elf_i386
4 #objdump: --sym -dw
5 #notarget: i?86-*-nacl* x86_64-*-nacl*
6
7 .*: +file format .*
8
9 SYMBOL TABLE:
10 #...
11 0+80480b1 l i .text 00000000 bar
12 #...
13 0+80480b2 g F .text 00000000 _start
14 #...
15 0+80480b0 g i .text 00000000 foo
16 #...
17
18
19 Disassembly of section .plt:
20
21 0+8048090 <.plt>:
22 +[a-f0-9]+: ff 25 e0 90 04 08 jmp \*0x80490e0
23 +[a-f0-9]+: 68 00 00 00 00 push \$0x0
24 +[a-f0-9]+: e9 00 00 00 00 jmp 80480a0 <foo-0x10>
25 +[a-f0-9]+: ff 25 e4 90 04 08 jmp \*0x80490e4
26 +[a-f0-9]+: 68 00 00 00 00 push \$0x0
27 +[a-f0-9]+: e9 00 00 00 00 jmp 80480b0 <foo>
28
29 Disassembly of section .text:
30
31 0+80480b0 <foo>:
32 +[a-f0-9]+: c3 ret
33
34 0+80480b1 <bar>:
35 +[a-f0-9]+: c3 ret
36
37 0+80480b2 <_start>:
38 +[a-f0-9]+: ff 15 e0 90 04 08 call \*0x80490e0
39 +[a-f0-9]+: ff 25 e4 90 04 08 jmp \*0x80490e4
40 +[a-f0-9]+: c7 05 e4 90 04 08 00 00 00 00 movl \$0x0,0x80490e4
41 +[a-f0-9]+: 83 3d e0 90 04 08 00 cmpl \$0x0,0x80490e0
42 +[a-f0-9]+: b9 10 00 00 00 mov \$0x10,%ecx
43 #pass
This page took 0.040806 seconds and 4 git commands to generate.