4 #as: --pic --no-underscore --march=v32 --em=criself
5 #ld: --shared -m crislinux --hash-style=sysv
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).
19 .*: file format elf32-cris
21 Disassembly of section \.plt:
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
34 17a: 6f0d ..00 0000 addo\.d .*
35 180: 6ffa move\.d \[\$acr\],\$acr
38 186: 3f7e .... .... move .*,\$mof
39 18c: bf0e .... .... ba .*
43 194: 6f0d ..00 0000 addo\.d .*
44 19a: 6ffa move\.d \[\$acr\],\$acr
47 1a0: 3f7e .... .... move .*,\$mof
48 1a6: bf0e baff ffff ba 160 <.*>
51 Disassembly of section \.text:
54 1ae: bfbe e6ff ffff bsr 194 <dsofn@plt>
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 <.*>