* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-cris / dso12-pltdis.d
blob71a174811edd8a65659cfe977a122796daa7f371
1 #source: expdyn1.s
2 #source: dsov32-1.s
3 #source: dsov32-2.s
4 #as: --pic --no-underscore --march=v32 --em=criself
5 #ld: --shared -m crislinux -z nocombreloc
6 #objdump: -d
8 # Check dissassembly of .plt section.
10 .*: file format elf32-cris
12 Disassembly of section \.plt:
14 0+1e4 <dsofn4@plt-0x1a>:
16 1e4: 84e2 subq 4,\$sp
17 1e6: 0401 addoq 4,\$r0,\$acr
18 1e8: 7e7a move \$mof,\[\$sp\]
19 1ea: 3f7a move \[\$acr\],\$mof
20 1ec: 04f2 addq 4,\$acr
21 1ee: 6ffa move\.d \[\$acr\],\$acr
22 1f0: bf09 jump \$acr
23 1f2: b005 nop
24 \.\.\.
26 0+1fe <dsofn4@plt>:
27 1fe: 6f0d 0c00 0000 addo\.d c <dsofn4@plt-0x1f2>,\$r0,\$acr
28 204: 6ffa move\.d \[\$acr\],\$acr
29 206: bf09 jump \$acr
30 208: b005 nop
31 20a: 3f7e 0000 0000 move 0 <dsofn4@plt-0x1fe>,\$mof
32 210: bf0e d4ff ffff ba 1e4 <dsofn4@plt-0x1a>
33 216: b005 nop
35 0+218 <dsofn@plt>:
36 218: 6f0d 1000 0000 addo\.d 10 <dsofn4@plt-0x1ee>,\$r0,\$acr
37 21e: 6ffa move\.d \[\$acr\],\$acr
38 220: bf09 jump \$acr
39 222: b005 nop
40 224: 3f7e 0c00 0000 move c <dsofn4@plt-0x1f2>,\$mof
41 22a: bf0e baff ffff ba 1e4 <dsofn4@plt-0x1a>
42 230: b005 nop
44 Disassembly of section \.text:
45 #...
46 0+236 <dsofn3>:
47 236: bfbe e2ff ffff bsr 218 <dsofn@plt>
48 23c: b005 nop
50 0+23e <dsofn4>:
51 23e: 7f0d a620 0000 lapc 22e4 <_GLOBAL_OFFSET_TABLE_>,\$r0
52 244: 5f0d 1400 addo\.w 0x14,\$r0,\$acr
53 248: bfbe b6ff ffff bsr 1fe <dsofn4@plt>
54 #pass