Define various symbols conditionally in shared libraries
[deliverable/binutils-gdb.git] / ld / testsuite / ld-cris / dso-pltdis1.d
1 #source: dsov32-1.s
2 #source: dsov32-2.s
3 #source: dsofn4g.s
4 #as: --pic --no-underscore --march=v32 --em=criself
5 #ld: --shared -m crislinux --hash-style=sysv
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
21 Disassembly of section \.plt:
22
23 0+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
32 \.\.\.
33 #...
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
41
42 0+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
50
51 Disassembly of section \.text:
52 #...
53 0+1ae <dsofn3>:
54 1ae: bfbe e6ff ffff bsr 194 <dsofn@plt>
55 1b4: b005 nop
56
57 0+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 <.*>
61 #pass
This page took 0.037562 seconds and 5 git commands to generate.