Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-cris / tls-e-tpoffcomm1.d
1 #source: start1.s
2 #source: tls-e-tpoffcomm1.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 TPOFF relocs against common
8 # 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    0x0+a4 vaddr 0x0+820a4 paddr 0x0+820a4 align 2\*\*13
16          filesz 0x0+ memsz 0x0+ 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 SYMBOL TABLE:
28 0+80094 l    d  .text   0+ .text
29 0+820a4 l    d  .tbss   0+ .tbss
30 0+80098 l     F .text   0+c do_test
31 0+80094 g       .text   0+ _start
32 0+820a4 g       \*ABS\* 0+ __bss_start
33 0+ g       .tbss        0+4 foo
34 0+820a4 g       \*ABS\* 0+ _edata
35 0+820c0 g       \*ABS\* 0+ _end
36 0+4 g       .tbss       0+4 bar
37 #...
38 Disassembly of section .text:
39
40 00080094 <_start>:
41    80094:       41b2                    moveq 1,\$r11
42 #...
43 00080098 <do_test>:
44    80098:       2f0e f8ff ffff          add.d 0xfffffff8,\$r0
45    8009e:       2f1e fcff ffff          add.d 0xfffffffc,\$r1