]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-i386/pr19636-1l.d
ELF: Don't generate unused section symbols
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-i386 / pr19636-1l.d
CommitLineData
853ee16f
L
1#source: pr19636-1.s
2#as: --32 -mrelax-relocations=no
3#ld: -pie -m elf_i386 --no-dynamic-linker -z dynamic-undefined-weak
4#objdump: -dw
359987e2 5#warning: -z dynamic-undefined-weak ignored
853ee16f
L
6
7.*: +file format .*
8
9
10Disassembly of section .plt:
11
12.* <.plt>:
36938cab 13[ ]*[a-f0-9]+: ff b3 04 00 00 00 push 0x4\(%ebx\)
853ee16f
L
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
21Disassembly of section .text:
22
23.* <_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\)
d1bcae83 26[ ]*[a-f0-9]+: e8 df ff ff ff call .* <_start-0x10>