2010-05-21 Daniel Jacobowitz <dan@codesourcery.com>
[binutils.git] / ld / testsuite / ld-sh / fdpic-plt-be.d
blob375e0885f870a70ddb43c682a8a8437c0995d739
1 #source: fdpic-plt.s
2 #as: --isa=sh4a -big --fdpic
3 #ld: -EB -mshelf_fd -shared
4 #objdump: -dsR -j.plt -j.text -j.got
5 #target: sh*-*-uclinux*
7 .*:[ \t]+file format elf32-shbig-fdpic
9 Contents of section \.plt:
10 [0-9a-f]+ d00201ce 7004412b 0cce0009 fffffff0[ \t]+.*
11 [0-9a-f]+ 00000000 60c2402b 53c10009 d00201ce[ \t]+.*
12 [0-9a-f]+ 7004412b 0cce0009 fffffff8 0000000c[ \t]+.*
13 [0-9a-f]+ 60c2402b 53c10009[ \t]+.*
14 Contents of section \.text:
15 [0-9a-f]+ d000d101 ffffffc4 ffffffdc[ \t]+.*
16 Contents of section \.got:
17 [0-9a-f]+ 0000023c 00000000 00000258 00000000[ \t]+.*
18 [0-9a-f]+ 00000000 00000000 00000000[ \t]+.*
20 Disassembly of section \.plt:
22 [0-9a-f]+ <foo@plt>:
23 [0-9a-f]+:[ \t]+d0 02[ \t]+mov\.l[ \t]+[0-9a-f]+ <foo@plt\+0xc>,r0[ \t]+! fffffff0
24 [0-9a-f]+:[ \t]+01 ce[ \t]+mov\.l[ \t]+@\(r0,r12\),r1
25 [0-9a-f]+:[ \t]+70 04[ \t]+add[ \t]+#4,r0
26 [0-9a-f]+:[ \t]+41 2b[ \t]+jmp[ \t]+@r1
27 [0-9a-f]+:[ \t]+0c ce[ \t]+mov\.l[ \t]+@\(r0,r12\),r12
28 [0-9a-f]+:[ \t]+00 09[ \t]+nop[ \t]+
29 [0-9a-f]+:[ \t]+ff ff[ \t]+\.word 0xffff
30 [0-9a-f]+:[ \t]+ff f0[ \t]+fadd[ \t]+fr15,fr15
31 [0-9a-f]+:[ \t]+00 00[ \t]+\.word 0x0000
32 [0-9a-f]+:[ \t]+00 00[ \t]+\.word 0x0000
33 [0-9a-f]+:[ \t]+60 c2[ \t]+mov\.l[ \t]+@r12,r0
34 [0-9a-f]+:[ \t]+40 2b[ \t]+jmp[ \t]+@r0
35 [0-9a-f]+:[ \t]+53 c1[ \t]+mov\.l[ \t]+@\(4,r12\),r3
36 [0-9a-f]+:[ \t]+00 09[ \t]+nop[ \t]+
38 [0-9a-f]+ <bar@plt>:
39 [0-9a-f]+:[ \t]+d0 02[ \t]+mov\.l[ \t]+[0-9a-f]+ <bar@plt\+0xc>,r0[ \t]+! fffffff8
40 [0-9a-f]+:[ \t]+01 ce[ \t]+mov\.l[ \t]+@\(r0,r12\),r1
41 [0-9a-f]+:[ \t]+70 04[ \t]+add[ \t]+#4,r0
42 [0-9a-f]+:[ \t]+41 2b[ \t]+jmp[ \t]+@r1
43 [0-9a-f]+:[ \t]+0c ce[ \t]+mov\.l[ \t]+@\(r0,r12\),r12
44 [0-9a-f]+:[ \t]+00 09[ \t]+nop[ \t]+
45 [0-9a-f]+:[ \t]+ff ff[ \t]+\.word 0xffff
46 [0-9a-f]+:[ \t]+ff f8[ \t]+fmov[ \t]+@r15,fr15
47 [0-9a-f]+:[ \t]+00 00[ \t]+\.word 0x0000
48 [0-9a-f]+:[ \t]+00 0c[ \t]+mov\.b[ \t]+@\(r0,r0\),r0
49 [0-9a-f]+:[ \t]+60 c2[ \t]+mov\.l[ \t]+@r12,r0
50 [0-9a-f]+:[ \t]+40 2b[ \t]+jmp[ \t]+@r0
51 [0-9a-f]+:[ \t]+53 c1[ \t]+mov\.l[ \t]+@\(4,r12\),r3
52 [0-9a-f]+:[ \t]+00 09[ \t]+nop[ \t]+
54 Disassembly of section \.text:
56 [0-9a-f]+ <f>:
57 [0-9a-f]+:[ \t]+d0 00[ \t]+mov\.l[ \t]+[0-9a-f]+ <f\+0x4>,r0[ \t]+! ffffffc4
58 [0-9a-f]+:[ \t]+d1 01[ \t]+mov\.l[ \t]+[0-9a-f]+ <f\+0x8>,r1[ \t]+! ffffffdc
59 [0-9a-f]+:[ \t]+ff ff[ \t]+\.word 0xffff
60 [0-9a-f]+:[ \t]+ff c4[ \t]+fcmp/eq[ \t]+fr12,fr15
61 [0-9a-f]+:[ \t]+ff ff[ \t]+\.word 0xffff
62 [0-9a-f]+:[ \t]+ff dc[ \t]+fmov[ \t]+fr13,fr15
64 Disassembly of section \.got:
66 [0-9a-f]+ <\.got>:
67 [ \t]+[0-9a-f]+:[ \t]+00 00[ \t]+\.word 0x0000
68 [ \t]+[0-9a-f]+: R_SH_FUNCDESC_VALUE[ \t]+foo
69 [ \t]+[0-9a-f]+:[ \t]+02 3c[ \t]+mov.b[ \t]+@\(r0,r3\),r2
70 [ \t]+[0-9a-f]+:[ \t]+00 00[ \t]+\.word 0x0000
71 [ \t]+[0-9a-f]+:[ \t]+00 00[ \t]+\.word 0x0000
72 [ \t]+[0-9a-f]+:[ \t]+00 00[ \t]+\.word 0x0000
73 [ \t]+[0-9a-f]+: R_SH_FUNCDESC_VALUE[ \t]+bar
74 [ \t]+[0-9a-f]+:[ \t]+02 58[ \t]+\.word 0x0258
75 [ \t]+\.\.\.