1#source: start1.s
2#source: tls128.s
3#source: tls-gd-3.s
4#source: tls-x.s
5#as: --no-underscore --em=criself
6#ld: -m crislinux
7#objdump: -d -s -t -r -p
8
9# Check that we have proper NPTL/TLS markings and GOT for an
10# executable with a single R_CRIS_32_GD.
11
12.*:     file format elf32-cris
13
14Program 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--
18private flags = 0:
19#...
20SYMBOL TABLE:
21#...
220+80 g       \.tdata	0+4 x
23#...
24Contents of section \.text:
25#...
26Contents of section \.tdata:
27#...
28Contents of section \.got:
29 82124 00000000 00000000 00000000 01000000  .*
30 82134 80000000                             .*
31
32Disassembly of section \.text:
33
3400080094 <_start>:
35   80094:	41b2                	moveq 1,\$r11
36#...
3700080098 <tlsfn>:
38   80098:	6fae 3021 0800      	move\.d [^>]+>,\$r10
39#...
40