Commit | Line | Data |
---|---|---|
608129cf HPN |
1 | #source: start1.s |
2 | #source: tls-e-tpiecomm1.s | |
3 | #as: --no-underscore --em=criself -I$srcdir/$subdir | |
4 | #ld: -m crislinux | |
5 | #objdump: -d -s -h -t -r -p | |
6 | ||
7 | # Make sure we can link a file with IE relocs against common | |
8 | # symbols and that the values entered in the GOT are right. | |
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 0x0+a4 vaddr 0x0+820a4 paddr 0x0+820a4 align 2\*\*13 | |
16 | filesz 0x0+14 memsz 0x0+14 flags rw- | |
17 | TLS off 0x0+a4 vaddr 0x0+820a4 paddr 0x0+820a4 align 2\*\*2 | |
18 | filesz 0x0+ memsz 0x0+8 flags r-- | |
19 | private flags = 0: | |
20 | ||
21 | Sections: | |
22 | Idx Name Size VMA LMA File off Algn | |
23 | 0 \.text 0+10 0+80094 0+80094 0+94 2\*\*1 | |
24 | CONTENTS, ALLOC, LOAD, READONLY, CODE | |
25 | 1 \.tbss 0+8 0+820a4 0+820a4 0+a4 2\*\*2 | |
26 | ALLOC, THREAD_LOCAL | |
27 | 2 \.got 0+14 0+820a4 0+820a4 0+a4 2\*\*2 | |
28 | CONTENTS, ALLOC, LOAD, DATA | |
29 | SYMBOL TABLE: | |
30 | #... | |
31 | 0+ g .tbss 0+4 foo | |
32 | #... | |
33 | 0+4 g .tbss 0+4 bar | |
34 | #... | |
35 | Contents of section \.got: | |
36 | 820a4 00000000 00000000 00000000 f8ffffff .* | |
37 | 820b4 fcffffff .* | |
38 | ||
39 | Disassembly of section \.text: | |
40 | ||
41 | 0+80094 <_start>: | |
42 | 80094: 41b2 moveq 1,\$r11 | |
43 | \.\.\. | |
44 | ||
45 | 0+80098 <do_test>: | |
46 | 80098: 6f0e b020 0800 move\.d 820b0 <_GLOBAL_OFFSET_TABLE_\+0xc>,\$r0 | |
47 | 8009e: 2f1e b420 0800 add\.d 820b4 <_GLOBAL_OFFSET_TABLE_\+0x10>,\$r1 |