2010-05-21 Daniel Jacobowitz <dan@codesourcery.com>
[binutils.git] / ld / testsuite / ld-sh / fdpic-funcdesc-shared.d
blob899c5ae0fc78ea1bcc22fa9a9b25855a204e46dd
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*
7 .*:[ \t]+file format elf32-shbig-fdpic
9 Contents of section \.text:
10 [0-9a-f]+ 0009[ \t]+.*
11 Contents of section \.data:
12 [0-9a-f]+ 00000000[ \t]+.*
13 Contents of section \.got:
14 [0-9a-f]+ 00000000 00000000 00000000 00000000[ \t]+.*
15 [0-9a-f]+ 00000000[ \t]+.*
17 Disassembly of section \.text:
19 [0-9a-f]+ <foo>:
20 [0-9a-f]+:[ \t]+00 09[ \t]+nop[ \t]+
22 Disassembly of section \.data:
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
28 Disassembly of section \.got:
30 [0-9a-f]+ <\.got>:
31 [ \t]+\.\.\.
32 [ \t]+[0-9a-f]+: R_SH_FUNCDESC_VALUE[ \t]+\.text