1 #source
: tls
-ie
-8.s
--pic
3 #as
: --no
-underscore
--em
=criself
4 #ld
: -m crislinux
--shared
5 #readelf
: -a
-x
6 -x
8 -x
5
7 # A R_CRIS_16_GOT_TPREL
in a DSO against a hidden symbol
. Make sure
8 # the relocation
, GOT
, .text
and .tdata have the right contents
.
11 Relocation section
'.rela.dyn' at offset
0x
.* contains
1 entries
:
12 Offset Info Type Sym
.Value Sym
. Name \
+ Addend
13 00002210 0000001c R_CRIS_32_TPREL
[ ]+00+
15 There are no unwind sections
in this file
.
17 Symbol table
'.dynsym' contains
7 entries
:
18 Num
: Value Size Type Bind Vis Ndx Name
20 Symbol table
'.symtab' contains
16 entries
:
22 .: 00000000 4 TLS LOCAL HIDDEN
6 x
24 Hex dump of section
'.text':
25 0x00000184 5fae
0c
00 .*
27 Hex dump of section
'.tdata':
30 Hex dump of section
'.got':
31 0x0+2204 8c210000
0+ 0+ 0+ .*