1 #as: --no-underscore --em=criself
2 #ld: -m crislinux
3 #source: start1.s
4 #source: tls-ie-8e.s
5 #source: tls128g.s
6 #source: tls-x.s
7 #objdump: -d -s -h -t -r -p
8 
9 # Executable with a single R_CRIS_32_IE, defined in the executable.
10 # Check that we have proper NPTL/TLS markings and a constant GOT.
11 
12 .*:     file format elf32-cris
13 
14 Program Header:
15 #...
16      TLS off    0x0+a0 vaddr 0x0+820a0 paddr 0x0+820a0 align 2\*\*2
17          filesz 0x0+84 memsz 0x0+84 flags r--
18 private flags = 0:
19 
20 Sections:
21 #...
22   2 .got[ 	]+ 0+10 .*
23                   CONTENTS, ALLOC, LOAD, DATA
24 
25 SYMBOL TABLE:
26 #...
27 0+80 g       \.tdata	0+4 x
28 #...
29 Contents of section .text:
30  80094 41b20000 6fae3021 08000000           .*
31 #...
32 Contents of section .got:
33  82124 00000000 00000000 00000000 fcffffff  .*
34 
35 Disassembly of section .text:
36 
37 00080094 <_start>:
38    80094:	41b2                	moveq 1,\$r11
39 #...
40 00080098 <tlsfn>:
41    80098:	6fae 3021 0800      	move.d 82130 <_GLOBAL_OFFSET_TABLE_\+0xc>,\$r10
42 #pass
43