Define various symbols conditionally in shared libraries
[deliverable/binutils-gdb.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 --hash-style=sysv
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 0140 68220000 0a020000 00000000 6c220000 .*
23 0150 0a030000 00000000 .*
24 Contents of section .plt:
25 0158 fce17e7e 0401307a 08013009 00000000 .*
26 0168 00000000 6f0d0c00 00003009 3f7e0000 .*
27 0178 00002ffe ecffffff 6f0d1000 00003009 .*
28 0188 3f7e0000 00002ffe ecffffff .*
29 Contents of section .text:
30 0194 6fae0c00 00006fae ccffffff 6fae1000 .*
31 01a4 00006fae d4ffffff .*
32 #...
33 Contents of section .got:
34 225c ac210000 00000000 00000000 00000000 .*
35 226c 00000000 .*
This page took 0.031118 seconds and 5 git commands to generate.