Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-cris / tls-und-38.d
1 #source: tls-gd-2.s --pic
2 #as: --no-underscore --em=criself
3 #ld: -m crislinux --shared
4 #readelf: -a -x 7
5
6 # Undefined reference for a R_CRIS_32_GOT_GD in a DSO.  Not an error;
7 # it's ok for a DSO to have undefined references upon creation for
8 # global symbols that can be overridden.  Just make sure GOT, dynsyms
9 # and dynrelocs look right.
10
11 #...
12 Relocation section '.rela.dyn' at offset 0x.* contains 1 entries:
13  Offset +Info +Type +Sym.Value +Sym. Name \+ Addend
14 000021ec +00000217 R_CRIS_DTP +00000000 +x \+ 0
15
16 There are no unwind sections in this file.
17
18 Symbol table '.dynsym' contains . entries:
19  +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
20 #...
21  +[0-9]: 00000000 +0 +TLS +GLOBAL +DEFAULT +UND x
22 #...
23 Symbol table '.symtab' contains .. entries:
24 #...
25 Hex dump of section '.got':
26   0x0+21e0 70210000 00000000 00000000 00000000 .*
27   0x0+21f0 00000000                            .*