[x86] Resolve non-PIC undefweak symbols in executable
[external/binutils.git] / ld / testsuite / ld-i386 / pr19636-1d.d
1 #source: pr19636-1.s
2 #as: --32 -mrelax-relocations=no
3 #ld: -pie -m elf_i386 --no-dynamic-linker
4 #objdump: -dw
5 #notarget: i?86-*-nacl* x86_64-*-nacl*
6
7 .*: +file format .*
8
9
10 Disassembly of section .plt:
11
12 0+c0 <.plt>:
13 [       ]*[a-f0-9]+:    ff b3 04 00 00 00       pushl  0x4\(%ebx\)
14 [       ]*[a-f0-9]+:    ff a3 08 00 00 00       jmp    \*0x8\(%ebx\)
15 [       ]*[a-f0-9]+:    00 00                   add    %al,\(%eax\)
16 [       ]*[a-f0-9]+:    00 00                   add    %al,\(%eax\)
17 [       ]*[a-f0-9]+:    ff a3 0c 00 00 00       jmp    \*0xc\(%ebx\)
18 [       ]*[a-f0-9]+:    68 00 00 00 00          push   \$0x0
19 [       ]*[a-f0-9]+:    e9 00 00 00 00          jmp    [a-f0-9]+ <.*>
20
21 Disassembly of section .text:
22
23 0+e0 <_start>:
24 [       ]*[a-f0-9]+:    3b 80 f8 ff ff ff       cmp    -0x8\(%eax\),%eax
25 [       ]*[a-f0-9]+:    ff a0 fc ff ff ff       jmp    \*-0x4\(%eax\)
26 [       ]*[a-f0-9]+:    e8 df ff ff ff          call   d0 <_start-0x10>