1#source: start1.s
2#source: expdref3.s
3#as: --no-underscore --em=criself
4#ld: -m crislinux
5#ld_after_inputfiles: tmpdir/libdso-15.so
6#readelf: -a -x 10
7
8# Like libdso-15b.d, but referencing the weak symbol and function from
9# a program.  At some time we broke emitting a copy reloc for the
10# object, instead yielding NULL.
11
12#...
13 +\[[0-9]+\] .got +PROGBITS +0+82314 000314 000010 04 +WA +0 +0 +4
14#...
15 +\[[0-9]+\] .bss +NOBITS +0+82324 .*
16#...
17Relocation section '.rela.dyn' at offset 0x... contains 1 entries:
18 Offset +Info +Type +Sym.Value +Sym. Name \+ Addend
1900082324 +00000109 R_CRIS_COPY +00082324 +__expobj2 \+ 0
20
21Relocation section '.rela.plt' at offset 0x... contains 1 entries:
22 Offset +Info +Type +Sym.Value +Sym. Name \+ Addend
2300082320 +0000030b R_CRIS_JUMP_SLOT +00080238 +expfn2 \+ 0
24
25There are no unwind sections in this file.
26
27Symbol table '.dynsym' contains . entries:
28#...
29 +.: 00082324 +4 +OBJECT +GLOBAL +DEFAULT +13 __expobj2@TST3 \(2\)
30#...
31 +.: 00080238 +0 +FUNC +GLOBAL +DEFAULT +UND expfn2@TST3 \(2\)
32#...
33Symbol table '.symtab' contains .. entries:
34#...
35Hex dump of section '\.text':
36  0x0008024c 41b20000 6fae2423 08006fae 38020800 .*
37