1 #source
: tls
-ie
-8.s
--pic
3 #as
: --no
-underscore
--em
=criself
4 #ld
: -m crislinux
--shared --hash
-style
=sysv
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 entry
:
12 Offset Info Type Sym
.Value Sym
. Name \
+ Addend
13 000021b4 0000001c R_CRIS_32_TPREL
[ ]+0
15 The decoding of unwind sections
for machine type Axis Communications
32-bit embedded processor
is not currently supported
.
17 Symbol table
'.dynsym' contains
4 entries
:
18 Num
: Value Size Type Bind Vis Ndx Name
20 Symbol table
'.symtab' contains
13 entries
:
22 .: 00000000 +4 +TLS
+LOCAL
+DEFAULT
+6 x
24 Hex dump of section
'.text':
25 0x00000128 5fae
0c
00 .*
27 Hex dump of section
'.tdata':
30 Hex dump of section
'.got':
31 0x0+21a8
30210000 0+ 0+ 0+ .*