]>
Commit | Line | Data |
---|---|---|
bcae4342 HPN |
1 | #source: tls128.s |
2 | #source: tls-ld-7.s | |
3 | #source: tls-gd-2.s | |
4 | #source: tls-ldgd-15.s | |
5 | #source: tls-hx1x2.s | |
6 | #as: --pic --no-underscore --em=criself | |
bab55c05 | 7 | #ld: --shared -m crislinux --hash-style=sysv tmpdir/tls-dso-xz-1.so |
bcae4342 HPN |
8 | #objdump: -s -h -t -T -R -r -p |
9 | ||
10 | # Check that we have proper NPTL/TLS markings and GOT for two | |
11 | # R_CRIS_32_GOT_GD and two R_CRIS_32_DTPRELs against different | |
12 | # variables in a DSO, GD symbols defined elsewhere. | |
13 | ||
14 | .*: file format elf32-cris | |
15 | ||
16 | Program Header: | |
17 | #... | |
18 | TLS off .* | |
19 | filesz 0x0+88 memsz 0x0+88 flags r-- | |
20 | ||
21 | Dynamic Section: | |
22 | NEEDED tmpdir/tls-dso-xz-1.so | |
23 | #... | |
24 | private flags = 0: | |
25 | #... | |
26 | 7 .got .* | |
27 | CONTENTS.* | |
28 | SYMBOL TABLE: | |
29 | #... | |
30 | 0+ \*UND\* 0+ x | |
31 | #... | |
32 | 0+ \*UND\* 0+ z | |
33 | #... | |
34 | DYNAMIC SYMBOL TABLE: | |
35 | #... | |
36 | 0+ D \*UND\* 0+ x | |
37 | #... | |
38 | 0+ D \*UND\* 0+ z | |
39 | #... | |
40 | DYNAMIC RELOCATION RECORDS | |
41 | OFFSET TYPE VALUE | |
fd161d86 AM |
42 | 000022f0 R_CRIS_DTPMOD \*ABS\* |
43 | 000022f8 R_CRIS_DTP x | |
44 | 00002300 R_CRIS_DTP z | |
bcae4342 HPN |
45 | |
46 | Contents of section \.hash: | |
47 | #... | |
48 | Contents of section \.text: | |
fd161d86 AM |
49 | 01c8 6fae8000 00006fbe 84000000 6fae1400 .* |
50 | 01d8 0+ 6fae1c00 0+ .* | |
bcae4342 HPN |
51 | Contents of section .tdata: |
52 | #... | |
53 | Contents of section \.got: | |
fd161d86 AM |
54 | 22e4 6c220+ 0+ 0+ 0+ .* |
55 | 22f4 0+ 0+ 0+ 0+ .* | |
56 | 2304 0+ .* |