Add tests for PR ld/20513
[deliverable/binutils-gdb.git] / ld / testsuite / ld-sh / fdpic-funcdesc-shared.d
CommitLineData
8e45593f
NC
1#source: fdpic-funcdesc-shared.s
2#as: --isa=sh2a -big --fdpic
3#ld: -EB -mshelf_fd -shared
4#objdump: -dsR -j.text -j.data -j.got
5#target: sh*-*-uclinux*
6
7.*:[ \t]+file format elf32-shbig-fdpic
8
9Contents of section \.text:
10 [0-9a-f]+ 0009[ \t]+.*
11Contents of section \.data:
12 [0-9a-f]+ 00000000[ \t]+.*
13Contents of section \.got:
14 [0-9a-f]+ 00000000 00000000 00000000 00000000[ \t]+.*
15 [0-9a-f]+ 00000000[ \t]+.*
16
17Disassembly of section \.text:
18
19[0-9a-f]+ <foo>:
20 [0-9a-f]+:[ \t]+00 09[ \t]+nop[ \t]+
21
22Disassembly of section \.data:
23
24[0-9a-f]+ <bar>:
25[ \t]+[0-9a-f]+:[ \t]+00 00 00 00[ \t]+\.\.\.\.
26[ \t]+[0-9a-f]+: R_SH_DIR32[ \t]+\.got
27
28Disassembly of section \.got:
29
30[0-9a-f]+ <\.got>:
31[ \t]+\.\.\.
32[ \t]+[0-9a-f]+: R_SH_FUNCDESC_VALUE[ \t]+\.text
This page took 0.266561 seconds and 4 git commands to generate.