1#as: --pic --no-underscore --em=criself
2#ld: --shared -m crislinux --hash-style=sysv
3#source: tls-ie-8.s
4#source: tls128g.s
5#source: tls-x.s
6#objdump: -s -t -R -p -T
7
8# DSO with a single R_CRIS_16_GOT_TPREL.  Check that we have proper
9# NPTL/TLS markings and GOT.
10
11.*:     file format elf32-cris
12
13Program Header:
14    LOAD off    0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13
15         filesz 0x0+150 memsz 0x0+150 flags r-x
16    LOAD off    0x0+150 vaddr 0x0+2150 paddr 0x0+2150 align 2\*\*13
17         filesz 0x0+10c memsz 0x0+10c flags rw-
18 DYNAMIC off    0x0+1d4 vaddr 0x0+21d4 paddr 0x0+21d4 align 2\*\*2
19         filesz 0x0+78 memsz 0x0+78 flags rw-
20     TLS off    0x0+150 vaddr 0x0+2150 paddr 0x0+2150 align 2\*\*2
21         filesz 0x0+84 memsz 0x0+84 flags r--
22
23Dynamic Section:
24  HASH                 0x0+b4
25  STRTAB               0x0+12c
26  SYMTAB               0x0+dc
27  STRSZ                0x0+13
28  SYMENT               0x0+10
29  RELA                 0x0+140
30  RELASZ               0x0+c
31  RELAENT              0x0+c
32  FLAGS                0x0+10
33private flags = 0:
34
35SYMBOL TABLE:
36#...
370+80 g       \.tdata	0+4 x
38#...
39DYNAMIC SYMBOL TABLE:
40#...
410+80 g    D  \.tdata	0+4 x
42#...
43
44DYNAMIC RELOCATION RECORDS
45OFFSET   TYPE              VALUE
460+2258 R_CRIS_32_TPREL   x
47
48Contents of section \.hash:
49#...
50Contents of section \.text:
51 014c 5fae0c00                             .*
52#...
53Contents of section \.got:
54 224c d4210+ 0+ 0+ 0+  .*
55