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+84 memsz 0x0+84 flags r-x 15 TLS off 0x0+84 vaddr 0x0+82084 paddr 0x0+82084 align 2\*\*2 16 filesz 0x0+ memsz 0x0+8 flags r-- 17 private flags = 0: 18 19 Sections: 20 Idx Name Size VMA LMA File off Algn 21 0 .text 0+10 0+80074 0+80074 0+74 2\*\*1 22 CONTENTS, ALLOC, LOAD, READONLY, CODE 23 1 .tbss 0+8 0+82084 0+82084 0+84 2\*\*2 24 ALLOC, THREAD_LOCAL 25 SYMBOL TABLE: 26 0+80074 l d \.text 0+ \.text 27 0+82084 l d \.tbss 0+ \.tbss 28 0+ l df \*ABS\* 0+ .* 29 0+80078 l F \.text 0+c do_test 30 0+80074 g \.text 0+ _start 31 0+82084 g \.text 0+ __bss_start 32 0+ g \.tbss 0+4 foo 33 0+82084 g \.text 0+ _edata 34 0+820a0 g \.text 0+ _end 35 0+4 g \.tbss 0+4 bar 36 #... 37 Disassembly of section \.text: 38 39 00080074 <_start>: 40 80074: 41b2 moveq 1,\$r11 41 #... 42 00080078 <do_test>: 43 80078: 2f0e f8ff ffff add.d 0xfffffff8,\$r0 44 8007e: 2f1e fcff ffff add.d 0xfffffffc,\$r1 45