1 #source: expdref2.s 2 #as: --pic --no-underscore --em=criself 3 #ld: --shared -m crislinux 4 #ld_after_inputfiles: tmpdir/libdso-15.so 5 #objdump: -s -T 6 7 # A DSO that refers to two symbols in another DSO with 8 # GOT/PLT-generating relocs, using weak aliases where the strong 9 # definition is also in the other DSO. 10 # There was a bug causing GOT markups to be during symbol handling, 11 # with a newly added assertion failure and a reloc turned R_CRIS_NONE. 12 # The dynamic __expobj2 entry is unused and seems spurious, or there 13 # should at least be a similar __expfn2 reference 14 15 .*: file format elf32-cris 16 17 DYNAMIC SYMBOL TABLE: 18 #... 19 0+[ ]+DO \*UND\*[ ]+0+ TST3[ ]+__expobj2 20 #... 21 0+[ ]+DO \*UND\*[ ]+0+ TST3[ ]+expobj2 22 0+[ ]+DF \*UND\*[ ]+0+ TST3[ ]+expfn2 23 #... 24 Contents of section .rela.dyn: 25 01d4 fc220000 0a040000 00000000 00230000 .* 26 01e4 0a050000 00000000 .* 27 Contents of section .plt: 28 01ec fce17e7e 0401307a 08013009 00000000 .* 29 01fc 00000000 6f0d0c00 00003009 3f7e0000 .* 30 020c 00002ffe ecffffff 6f0d1000 00003009 .* 31 021c 3f7e0000 00002ffe ecffffff .* 32 Contents of section .text: 33 0228 6fae0c00 00006fae ccffffff 6fae1000 .* 34 0238 00006fae d4ffffff .* 35 #... 36 Contents of section .got: 37 22f0 40220000 00000000 00000000 00000000 .* 38 2300 00000000 .* 39