aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/libdso-15b.d
blob: 4e2bddb2522ab2f1da1dc8737ee9a45a87f86d44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#source: expdref2.s
#as: --pic --no-underscore --em=criself
#ld: --shared -m crislinux --hash-style=sysv
#ld_after_inputfiles: tmpdir/libdso-15.so
#objdump: -s -T

# A DSO that refers to two symbols in another DSO with
# GOT/PLT-generating relocs, using weak aliases where the strong
# definition is also in the other DSO.
# There was a bug causing GOT markups to be during symbol handling,
# with a newly added assertion failure and a reloc turned R_CRIS_NONE.
# The dynamic __expobj2 entry is unused and seems spurious, or there
# should at least be a similar __expfn2 reference

.*:     file format elf32-cris

DYNAMIC SYMBOL TABLE:
#...
0+[	 ]+DO \*UND\*[	 ]+0+  TST3[	 ]+__expobj2
#...
0+[	 ]+DO \*UND\*[	 ]+0+  TST3[	 ]+expobj2
0+[	 ]+DF \*UND\*[	 ]+0+  TST3[	 ]+expfn2
#...
Contents of section .rela.dyn:
 017c a4220000 0a040000 00000000 a8220000  .*
 018c 0a050000 00000000                    .*
Contents of section .plt:
 0194 fce17e7e 0401307a 08013009 00000000  .*
 01a4 00000000 6f0d0c00 00003009 3f7e0000  .*
 01b4 00002ffe ecffffff 6f0d1000 00003009  .*
 01c4 3f7e0000 00002ffe ecffffff           .*
Contents of section .text:
 01d0 6fae0c00 00006fae ccffffff 6fae1000  .*
 01e0 00006fae d4ffffff                    .*
#...
Contents of section .got:
 2298 e8210000 00000000 00000000 00000000  .*
 22a8 00000000                             .*