PageRenderTime 24ms CodeModel.GetById 8ms app.highlight 13ms RepoModel.GetById 1ms app.codeStats 0ms

/project/binutils/ld/testsuite/ld-cris/tls-leie-19.d

https://gitlab.com/torshie/modern-tool
D | 58 lines | 51 code | 7 blank | 0 comment | 1 complexity | 14265ec140d4a3e86f2ac5ff3c9d401e MD5 | raw file
 1#source: start1.s
 2#source: tls128.s
 3#source: tls-leie-19.s
 4#source: tls-le-12.s
 5#source: tls-ie-11.s --pic
 6#source: tls-hx1x2.s
 7#source: tls-x.s
 8#source: tls-z.s
 9#as: --no-underscore --em=criself
10#ld: -m crislinux
11#objdump: -d -s -h -t -r -p
12
13# Check that we have proper NPTL/TLS markings and GOT for an
14# executable with two R_CRIS_32_TPREL and two R_CRIS_32_GOT_TPREL,
15# four different symbols.
16
17.*:     file format elf32-cris
18
19Program Header:
20#...
21     TLS off    0x0+b4 vaddr 0x0+820b4 paddr 0x0+820b4 align 2\*\*2
22         filesz 0x0+90 memsz 0x0+90 flags r--
23private flags = 0:
24#...
25  2 .got .*
26                  CONTENTS.*
27SYMBOL TABLE:
28#...
290+88 g       .tdata	0+4 x
30#...
310+84 g       \.tdata	0+4 \.hidden x2
32#...
330+8c g       .tdata	0+4 z
34#...
350+80 g       \.tdata	0+4 \.hidden x1
36#...
37Contents of section \.text:
38#...
39Contents of section \.got:
40 82144 0+ 0+ 0+ f4ffffff  .*
41 82154 f0ffffff  .*
42
43Disassembly of section \.text:
44
4500080094 <_start>:
46   80094:	41b2                	moveq 1,\$r11
47#...
4800080098 <tlsfn19>:
49   80098:	6fae f8ff ffff      	move.d 0xfffffff8,\$r10
50#...
51
52000800a0 <tlsfn12>:
53   800a0:	6fae fcff ffff      	move.d 0xfffffffc,\$r10
54#...
55
56000800a8 <tlsdsofn>:
57   800a8:	6fae 1000 0000      	move.d 10 <tls128\+0x10>,\$r10
58   800ae:	6fbe 0c00 0000      	move.d c <tls128\+0xc>,\$r11