Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluation
[platform/upstream/binutils.git] / ld / testsuite / ld-i386 / plt.pd
1 #source: plt.s
2 #as: --32
3 #ld: -melf_i386
4 #objdump: -drj.plt
5 #target: i?86-*-*
6
7 .*: +file format .*
8
9 Disassembly of section .plt:
10
11 [0-9a-f]+ <fn1@plt-0x10>:
12  +[0-9a-f]+:    ff 35 ([0-9a-f]{2} ){4} *       pushl  0x[0-9a-f]+
13  +[0-9a-f]+:    ff 25 ([0-9a-f]{2} ){4} *       jmp    \*0x[0-9a-f]+
14 #...
15
16 [0-9a-f]+ <fn1@plt>:
17  +[0-9a-f]+:    ff 25 ([0-9a-f]{2} ){4} *       jmp    \*0x[0-9a-f]+
18  +[0-9a-f]+:    68 00 00 00 00          push   \$0x0
19  +[0-9a-f]+:    e9 ([0-9a-f]{2} ){4} *  jmp    [0-9a-f]+ <fn1@plt-0x10>
20
21 [0-9a-f]+ <fn2@plt>:
22  +[0-9a-f]+:    ff 25 ([0-9a-f]{2} ){4} *       jmp    \*0x[0-9a-f]+
23  +[0-9a-f]+:    68 08 00 00 00          push   \$0x8
24  +[0-9a-f]+:    e9 ([0-9a-f]{2} ){4} *  jmp    [0-9a-f]+ <fn1@plt-0x10>