4 #as: --pic --no-underscore --march=v32 --em=criself
5 #ld: --shared -m crislinux
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 1b6: 0401 addoq 4,\$r0,\$acr
26 1b8: 7e7a move \$mof,\[\$sp\]
27 1ba: 3f7a move \[\$acr\],\$mof
28 1bc: 04f2 addq 4,\$acr
29 1be: 6ffa move\.d \[\$acr\],\$acr
34 1ce: 6f0d ..00 0000 addo\.d .*
35 1d4: 6ffa move\.d \[\$acr\],\$acr
38 1da: 3f7e .... .... move .*,\$mof
39 1e0: bf0e .... .... ba .*
43 1e8: 6f0d ..00 0000 addo\.d .*
44 1ee: 6ffa move\.d \[\$acr\],\$acr
47 1f4: 3f7e .... .... move .*,\$mof
48 1fa: bf0e baff ffff ba 1b4 <.*>
51 Disassembly of section \.text:
54 202: bfbe e6ff ffff bsr 1e8 <dsofn@plt>
58 20a: 7f0d ae20 0000 lapc 22b8 <_GLOBAL_OFFSET_TABLE_>,\$r0
59 210: 5f0d 1400 addo\.w 0x14,\$r0,\$acr
60 214: bfbe baff ffff bsr 1ce <.*>