ld: Xfail pr20995 and pr20995-2 for tic6x-*-*
[deliverable/binutils-gdb.git] / ld / testsuite / ld-cris / dso-pltdis1.d
CommitLineData
a4a48c20
HPN
1#source: dsov32-1.s
2#source: dsov32-2.s
3#source: dsofn4g.s
4#as: --pic --no-underscore --march=v32 --em=criself
c7dffc39 5#ld: --shared -m crislinux --hash-style=sysv
a4a48c20
HPN
6#objdump: -d -R
7
8# Check dissassembly of the .plt section, specifically the synthetic
9# symbols, in a DSO in which a .got.plt entry has been merged into a
10# regular .got entry. There was a bug in which some (i.e. subsequent
11# with regards to reloc order) synthetic X@plt entries were wrong if
12# there were merged .got entries present; dsofn4@plt below. The
13# alternatives in the matching regexps are placeholders for a future
14# improvement: synthetic symbols for .plt entries with merged .got
15# entries (lost as a consequence of the relocs no longer accounted for
16# in .rela.plt and the default synthetic-symbol implementation just
17# iterating over .rela.plt).
18
19.*: file format elf32-cris
20
21Disassembly of section \.plt:
22
fd161d86
AM
230+160 <.*>:
24 160: 84e2 subq 4,\$sp
25 162: 0401 addoq 4,\$r0,\$acr
26 164: 7e7a move \$mof,\[\$sp\]
27 166: 3f7a move \[\$acr\],\$mof
28 168: 04f2 addq 4,\$acr
29 16a: 6ffa move\.d \[\$acr\],\$acr
30 16c: bf09 jump \$acr
31 16e: b005 nop
a4a48c20
HPN
32 \.\.\.
33#...
fd161d86
AM
34 17a: 6f0d ..00 0000 addo\.d .*
35 180: 6ffa move\.d \[\$acr\],\$acr
36 182: bf09 jump \$acr
37 184: b005 nop
38 186: 3f7e .... .... move .*,\$mof
39 18c: bf0e .... .... ba .*
40 192: b005 nop
a4a48c20 41
fd161d86
AM
420+194 <dsofn@plt>:
43 194: 6f0d ..00 0000 addo\.d .*
44 19a: 6ffa move\.d \[\$acr\],\$acr
45 19c: bf09 jump \$acr
46 19e: b005 nop
47 1a0: 3f7e .... .... move .*,\$mof
48 1a6: bf0e baff ffff ba 160 <.*>
49 1ac: b005 nop
a4a48c20
HPN
50
51Disassembly of section \.text:
52#...
fd161d86
AM
530+1ae <dsofn3>:
54 1ae: bfbe e6ff ffff bsr 194 <dsofn@plt>
55 1b4: b005 nop
a4a48c20 56
fd161d86
AM
570+1b6 <dsofn4>:
58 1b6: 7f0d ae20 0000 lapc 2264 <_GLOBAL_OFFSET_TABLE_>,\$r0
59 1bc: 5f0d 1400 addo\.w 0x14,\$r0,\$acr
60 1c0: bfbe baff ffff bsr 17a <.*>
a4a48c20 61#pass
This page took 0.390736 seconds and 4 git commands to generate.