2010-05-21 Daniel Jacobowitz <dan@codesourcery.com>
[binutils.git] / ld / testsuite / ld-sh / fdpic-plti20-le.d
blob74e1e9bd124a069de6eb63fd119d9294344563d7
1 #source: fdpic-plt.s
2 #as: --isa=sh2a -little --fdpic
3 #ld: -EL -mshlelf_fd -shared
4 #objdump: -dsR -j.plt -j.text -j.got
5 #target: sh*-*-uclinux*
7 .*:[ \t]+file format elf32-sh-fdpic
9 Contents of section \.plt:
10 [0-9a-f]+ f000f0ff ce010470 2b41ce0c 00000000[ \t]+.*
11 [0-9a-f]+ c2602b40 c1530900 f000f8ff ce010470[ \t]+.*
12 [0-9a-f]+ 2b41ce0c 0c000000 c2602b40 c1530900[ \t]+.*
13 Contents of section \.text:
14 [0-9a-f]+ 00d001d1 ccffffff e0ffffff[ \t]+.*
15 Contents of section \.got:
16 [0-9a-f]+ 38020000 00000000 50020000 00000000[ \t]+.*
17 [0-9a-f]+ 00000000 00000000 00000000[ \t]+.*
19 Disassembly of section \.plt:
21 [0-9a-f]+ <foo@plt>:
22 [0-9a-f]+:[ \t]+f0 00 f0 ff[ \t]+movi20[ \t]+#-16,r0
23 [0-9a-f]+:[ \t]+ce 01[ \t]+mov\.l[ \t]+@\(r0,r12\),r1
24 [0-9a-f]+:[ \t]+04 70[ \t]+add[ \t]+#4,r0
25 [0-9a-f]+:[ \t]+2b 41[ \t]+jmp[ \t]+@r1
26 [0-9a-f]+:[ \t]+ce 0c[ \t]+mov\.l[ \t]+@\(r0,r12\),r12
27 [0-9a-f]+:[ \t]+00 00 00 00[ \t]+movi20[ \t]+#0,r0
28 [0-9a-f]+:[ \t]+c2 60[ \t]+mov\.l[ \t]+@r12,r0
29 [0-9a-f]+:[ \t]+2b 40[ \t]+jmp[ \t]+@r0
30 [0-9a-f]+:[ \t]+c1 53[ \t]+mov\.l[ \t]+@\(4,r12\),r3
31 [0-9a-f]+:[ \t]+09 00[ \t]+nop[ \t]+
33 [0-9a-f]+ <bar@plt>:
34 [0-9a-f]+:[ \t]+f0 00 f8 ff[ \t]+movi20[ \t]+#-8,r0
35 [0-9a-f]+:[ \t]+ce 01[ \t]+mov\.l[ \t]+@\(r0,r12\),r1
36 [0-9a-f]+:[ \t]+04 70[ \t]+add[ \t]+#4,r0
37 [0-9a-f]+:[ \t]+2b 41[ \t]+jmp[ \t]+@r1
38 [0-9a-f]+:[ \t]+ce 0c[ \t]+mov\.l[ \t]+@\(r0,r12\),r12
39 [0-9a-f]+:[ \t]+0c 00[ \t]+mov\.b[ \t]+@\(r0,r0\),r0
40 [0-9a-f]+:[ \t]+00 00 c2 60[ \t]+movi20[ \t]+#24770,r0
41 [0-9a-f]+:[ \t]+2b 40[ \t]+jmp[ \t]+@r0
42 [0-9a-f]+:[ \t]+c1 53[ \t]+mov\.l[ \t]+@\(4,r12\),r3
43 [0-9a-f]+:[ \t]+09 00[ \t]+nop[ \t]+
45 Disassembly of section \.text:
47 [0-9a-f]+ <f>:
48 [0-9a-f]+:[ \t]+00 d0[ \t]+mov\.l[ \t]+[0-9a-f]+ <f\+0x4>,r0[ \t]+! ffffffcc
49 [0-9a-f]+:[ \t]+01 d1[ \t]+mov\.l[ \t]+[0-9a-f]+ <f\+0x8>,r1[ \t]+! ffffffe0
50 [0-9a-f]+:[ \t]+cc ff[ \t]+fmov[ \t]+fr12,fr15
51 [0-9a-f]+:[ \t]+ff ff[ \t]+\.word 0xffff
52 [0-9a-f]+:[ \t]+e0 ff[ \t]+fadd[ \t]+fr14,fr15
53 [0-9a-f]+:[ \t]+ff ff[ \t]+\.word 0xffff
55 Disassembly of section \.got:
57 [0-9a-f]+ <\.got>:
58 [ \t]+[0-9a-f]+:[ \t]+38 02[ \t]+\.word[ \t]+0x0238
59 [ \t]+[0-9a-f]+: R_SH_FUNCDESC_VALUE[ \t]+foo
60 [ \t]+[0-9a-f]+:[ \t]+00 00 00 00[ \t]+movi20[ \t]+#0,r0
61 [ \t]+[0-9a-f]+:[ \t]+00 00 50 02[ \t]+movi20[ \t]+#592,r0
62 [ \t]+[0-9a-f]+: R_SH_FUNCDESC_VALUE[ \t]+bar
63 [ \t]+\.\.\.