Commit | Line | Data |
---|---|---|
608129cf HPN |
1 | #source: start1.s |
2 | #source: tls-dso-tpoffgotcomm1.s | |
3 | #as: --no-underscore --pic --em=criself -I$srcdir/$subdir | |
c7dffc39 | 4 | #ld: -m crislinux -shared --hash-style=sysv |
608129cf HPN |
5 | #objdump: -d -h -s -t -r -R -p |
6 | ||
7 | # Make sure we can link a file with TPOFFGOT relocs against common | |
8 | # symbols. | |
9 | ||
10 | .*: file format elf32-cris | |
11 | ||
12 | Program Header: | |
13 | LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13 | |
fd161d86 | 14 | filesz 0x0+178 memsz 0x0+178 flags r-x |
608129cf HPN |
15 | LOAD off .* |
16 | filesz .* | |
17 | DYNAMIC off .* | |
18 | filesz .* | |
19 | TLS off .* vaddr .* paddr .* align 2\*\*2 | |
20 | filesz 0x0+ memsz 0x0+8 flags r-- | |
21 | #... | |
22 | Sections: | |
23 | #... | |
fd161d86 | 24 | 7 .got 0+14 0+21f0 0+21f0 0+1f0 2\*\*2 |
608129cf HPN |
25 | CONTENTS, ALLOC, LOAD, DATA |
26 | SYMBOL TABLE: | |
27 | #... | |
28 | 0+ g \.tbss 0+4 foo | |
29 | #... | |
30 | 0+4 g \.tbss 0+4 bar | |
31 | ||
32 | #... | |
33 | Contents of section .got: | |
fd161d86 AM |
34 | 21f0 78210000 00000000 00000000 00000000 .* |
35 | 2200 00000000 .* | |
608129cf HPN |
36 | |
37 | Disassembly of section \.text: | |
38 | ||
fd161d86 AM |
39 | 0+168 <_start>: |
40 | 168: 41b2 moveq 1,\$r11 | |
608129cf HPN |
41 | \.\.\. |
42 | ||
fd161d86 AM |
43 | 0+16c <do_test>: |
44 | 16c: 2f0e 0c00 0000 add\.d c <bar\+0x8>,\$r0 | |
45 | 172: 1f1e 1000 add\.w 0x10,\$r1 | |
608129cf | 46 | \.\.\. |