Commit | Line | Data |
---|---|---|
bcae4342 HPN |
1 | #source: start1.s |
2 | #source: tls128.s | |
3 | #source: tls-ld-5.s | |
4 | #source: tls-gd-1.s | |
5 | #source: tls-ldgd-14.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_16_GOT_GD and two R_CRIS_16_DTPRELs against different | |
15 | # variables, for an executable. | |
16 | ||
17 | .*: file format elf32-cris | |
18 | ||
19 | Program Header: | |
20 | #... | |
21 | TLS off 0x0+a8 vaddr 0x0+820a8 paddr 0x0+820a8 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 | 82138 00000000 00000000 00000000 01000000 .* | |
c3946515 HPN |
45 | 82148 00000000 01000000 80000000 01000000 .* |
46 | 82158 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: 5fae 8800 move\.w 0x88,\$r10 |
55 | 8009c: 5fbe 8c00 move\.w 0x8c,\$r11 | |
bcae4342 HPN |
56 | |
57 | 000800a0 <tlsdsofn0>: | |
58 | 800a0: 5fae 1400 move\.w 0x14,\$r10 | |
59 | ||
60 | 000800a4 <tlsdsofn14>: | |
61 | 800a4: 5fae 1c00 move\.w 0x1c,\$r10 |