1 #source: tls-gd-1.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_16_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 000021e8 +00000217 R_CRIS_DTP +00000000 +x \+ 0 15 16 The decoding of unwind sections for machine type Axis Communications 32-bit embedded processor is not currently supported. 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+21dc 6c210000 00000000 00000000 00000000 .* 27 0x0+21ec 00000000 .* 28