Commit | Line | Data |
---|---|---|
c7232d92 HPN |
1 | #source: start1.s |
2 | #source: tls-dso-tpoffgotcomm1.s --pic | |
3 | #as: --no-underscore --em=criself -I$srcdir/$subdir | |
4 | #ld: -m crislinux | |
5 | #objdump: -d -s -h -t -p | |
6 | ||
7 | # Like tls-dso-tpoffgotcomm1.d but making sure we can link *an | |
8 | # executable* with TPOFFGOT relocs against common symbols. | |
9 | ||
10 | .*: file format elf32-cris | |
11 | ||
12 | Program Header: | |
13 | LOAD off 0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13 | |
14 | filesz 0x0+a4 memsz 0x0+a4 flags r-x | |
15 | LOAD off .* | |
16 | filesz .* | |
17 | TLS off 0x0+a4 vaddr .* paddr .* align 2\*\*2 | |
18 | filesz 0x0+ memsz 0x0+8 flags r-- | |
19 | private flags = 0: | |
20 | ||
21 | Sections: | |
22 | #... | |
23 | 2 \.got 0+14 0+820a4 0+820a4 0+a4 2\*\*2 | |
24 | CONTENTS, ALLOC, LOAD, DATA | |
25 | SYMBOL TABLE: | |
26 | #... | |
27 | 0+ g \.tbss 0+4 foo | |
28 | #... | |
29 | 0+4 g \.tbss 0+4 bar | |
30 | #... | |
31 | Contents of section .got: | |
32 | 820a4 00000000 00000000 00000000 f8ffffff .* | |
33 | 820b4 fcffffff .* | |
34 | ||
35 | Disassembly of section \.text: | |
36 | ||
37 | 0+80094 <_start>: | |
38 | 80094: 41b2 moveq 1,\$r11 | |
39 | #... | |
40 | 0+80098 <do_test>: | |
41 | 80098: 2f0e 0c00 0000 add.d c <bar\+0x8>,\$r0 | |
42 | 8009e: 1f1e 1000 add.w 0x10,\$r1 | |
43 | \.\.\. |