Commit | Line | Data |
---|---|---|
bcae4342 HPN |
1 | #source: start1.s |
2 | #source: tls128.s | |
3 | #source: tls-ld-7.s | |
4 | #source: tls-gd-2.s | |
5 | #source: tls-ldgd-15.s | |
6 | #source: tls-x.s | |
7 | #source: tls-z.s | |
8 | #source: tls-hx1x2.s | |
9 | #as: --pic --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 two | |
14 | # R_CRIS_32_GOT_GD and two R_CRIS_32_DTPRELs against different | |
15 | # variables, for an executable. | |
16 | ||
17 | .*: file format elf32-cris | |
18 | ||
19 | Program 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-- | |
23 | private flags = 0: | |
24 | #... | |
25 | 1 .tdata .* | |
26 | CONTENTS.* | |
27 | 2 .got .* | |
28 | CONTENTS.* | |
29 | SYMBOL TABLE: | |
30 | #... | |
31 | 0+80 g \.tdata 0+4 x | |
32 | #... | |
33 | 0+8c g .tdata 00000004 \.hidden x2 | |
34 | #... | |
35 | 0+84 g \.tdata 0+4 z | |
36 | #... | |
37 | 0+88 g .tdata 00000004 \.hidden x1 | |
38 | #... | |
39 | Contents of section \.text: | |
40 | #... | |
41 | Contents of section \.tdata: | |
42 | #... | |
43 | Contents of section \.got: | |
44 | 82144 00000000 00000000 00000000 01000000 .* | |
c3946515 HPN |
45 | 82154 00000000 01000000 80000000 01000000 .* |
46 | 82164 84000000 .* | |
bcae4342 HPN |
47 | |
48 | Disassembly of section \.text: | |
49 | ||
50 | 00080094 <_start>: | |
51 | 80094: 41b2 moveq 1,\$r11 | |
52 | #... | |
53 | 00080098 <tlsdsofn>: | |
3ee29d56 HPN |
54 | 80098: 6fae 8800 0000 move.d 88 <x1>,\$r10 |
55 | 8009e: 6fbe 8c00 0000 move.d 8c <x2>,\$r11 | |
bcae4342 HPN |
56 | 000800a4 <tlsdsofn2>: |
57 | 800a4: 6fae 1400 0000 move.d 14 <tls128\+0x14>,\$r10 | |
58 | #... | |
59 | 000800ac <tlsdsofn14>: | |
60 | 800ac: 6fae 1c00 0000 move.d 1c <tls128\+0x1c>,\$r10 | |
61 | #... |