Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-cris / libdso-1c.d
1 #source: expdref1.s
2 #as: --pic --no-underscore --em=criself -I$srcdir/$subdir
3 #ld: --shared -m crislinux
4 #ld_after_inputfiles: tmpdir/libdso-1b.so
5 #objdump: -s -T
6
7 # A DSO linked to another DSO that has two versioned symbols, to which
8 # this DSO refers with two relocs each, a GOT and a PLT reference.
9 # There was a bug such that GOT markups were lost, resulting in wrong
10 # offsets into the GOT, with a tell-tale sign being one or more
11 # R_CRIS_NONE relocs.  There should be two GOT relocs here, one each
12 # for the symbols.
13
14 .*:     file format elf32-cris
15
16 DYNAMIC SYMBOL TABLE:
17 #...
18 0+[     ]+DF \*UND\*    0+[     ]+TST2[  ]+expobj
19 0+[     ]+DF \*UND\*    0+[     ]+TST2[  ]+expfn
20 #...
21 Contents of section .rela.dyn:
22  01a4 cc220000 0a030000 00000000 d0220000  .*
23  01b4 0a040000 00000000                    .*
24 Contents of section .plt:
25  01bc fce17e7e 0401307a 08013009 00000000  .*
26  01cc 00000000 6f0d0c00 00003009 3f7e0000  .*
27  01dc 00002ffe ecffffff 6f0d1000 00003009  .*
28  01ec 3f7e0000 00002ffe ecffffff           .*
29 Contents of section .text:
30  01f8 6fae0c00 00006fae ccffffff 6fae1000  .*
31  0208 00006fae d4ffffff                    .*
32 #...
33 Contents of section .got:
34  22c0 10220000 00000000 00000000 00000000  .*
35  22d0 00000000                             .*