Home | History | Annotate | Download | only in ld-cris
      1 #source: start1.s
      2 #source: tls128.s
      3 #source: tls-le-13.s
      4 #source: tls-gd-3.s
      5 #source: tls-legd-16.s
      6 #source: tls-x.s
      7 #source: tls-z.s
      8 #source: tls-x1x2.s
      9 #as: --no-underscore --em=criself
     10 #ld: -m crislinux
     11 #objdump: -d -s -h -t -r -p
     12 
     13 # Check that we have proper NPTL/TLS markings and GOT for an
     14 # executable with two R_CRIS_32_TPREL and two R_CRIS_32_GD, different
     15 # symbols.
     16 
     17 .*:     file format elf32-cris
     18 
     19 Program Header:
     20 #...
     21      TLS off    0x0+b4 vaddr 0x0+820b4 paddr 0x0+820b4 align 2\*\*2
     22          filesz 0x0+90 memsz 0x0+90 flags r--
     23 private flags = 0:
     24 
     25 #...
     26   2 .got .*
     27                   CONTENTS.*
     28 SYMBOL TABLE:
     29 #...
     30 0+80 g       \.tdata	0+4 x
     31 #...
     32 0+8c g       \.tdata	0+4 x2
     33 #...
     34 0+84 g       \.tdata	0+4 z
     35 #...
     36 0+88 g       \.tdata	0+4 x1
     37 #...
     38 Contents of section \.text:
     39 #...
     40 Contents of section \.got:
     41  82144 0+ 0+ 0+ 010+  .*
     42  82154 80+ 010+ 840+   .*
     43 
     44 Disassembly of section \.text:
     45 
     46 00080094 <_start>:
     47    80094:	41b2                	moveq 1,\$r11
     48 #...
     49 00080098 <tlsfn13>:
     50    80098:	6fae f8ff ffff      	move.d 0xfffffff8,\$r10
     51    8009e:	6fae fcff ffff      	move.d 0xfffffffc,\$r10
     52 
     53 000800a4 <tlsfn>:
     54    800a4:	6fae 5021 0800      	move.d 82150 <_GLOBAL_OFFSET_TABLE_\+0xc>,\$r10
     55 #...
     56 
     57 000800ac <tlsfn16>:
     58    800ac:	6fae 5821 0800      	move.d 82158 <_GLOBAL_OFFSET_TABLE_\+0x14>,\$r10
     59 #...
     60