aea3ad69d98fcadf27d7ed36343bcbac48d3a386
[external/binutils.git] / ld / testsuite / ld-cris / weakref3.d
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-9a-f]* [0-9a-f]* 000010 .*
14 #...
15  +\[[0-9]+\] .bss +NOBITS +[0-9a-f]* [0-9a-f]* 000010 .*
16 #...
17 Relocation section '.rela.dyn' at offset 0x... contains 1 entries:
18  Offset +Info +Type +Sym.Value +Sym. Name \+ Addend
19 .* R_CRIS_COPY .* __expobj2 \+ 0
20
21 Relocation section '.rela.plt' at offset 0x... contains 1 entries:
22  Offset +Info +Type +Sym.Value +Sym. Name \+ Addend
23 .* R_CRIS_JUMP_SLOT .* expfn2 \+ 0
24
25 The decoding of unwind sections for machine type Axis Communications 32-bit embedded processor is not currently supported.
26
27 Symbol table '.dynsym' contains . entries:
28 #...
29  +.: [0-9a-f]* +4 +OBJECT +GLOBAL +DEFAULT +13 __expobj2@TST3 \(2\)
30 #...
31  +.: [0-9a-f]* +0 +FUNC +GLOBAL +DEFAULT +UND expfn2@TST3 \(2\)
32 #...
33 Symbol table '.symtab' contains .. entries:
34 #...
35 Hex dump of section '\.text':
36   0x000801f8 41b20000 6faed022 08006fae e4010800 .*