Home | History | Annotate | Download | only in ld-cris
      1 #source: start1.s
      2 #source: tls128.s
      3 #source: tls-le-13s.s
      4 #source: tls-x1x2.s
      5 #as: --no-underscore --em=criself -I$srcdir/$subdir
      6 #ld: -m crislinux
      7 #objdump: -d -s -t -r -p -h
      8 
      9 # Check that we have proper NPTL/TLS markings and GOT for an
     10 # executable with two R_CRIS_16_TPREL, different symbols.
     11 
     12 .*:     file format elf32-cris
     13 
     14 Program Header:
     15 #...
     16      TLS off    0x0+a0 vaddr 0x0+820a0 paddr 0x0+820a0 align 2\*\*2
     17          filesz 0x0+88 memsz 0x0+88 flags r--
     18 private flags = 0:
     19 #...
     20   1 .tdata .*
     21                   CONTENTS.*
     22 SYMBOL TABLE:
     23 #...
     24 0+84 g       \.tdata	0+4 x2
     25 #...
     26 0+80 g       \.tdata	0+4 x1
     27 #...
     28 Contents of section \.text:
     29 #...
     30 Contents of section \.tdata:
     31 #...
     32 
     33 Disassembly of section \.text:
     34 
     35 00080094 <_start>:
     36    80094:	41b2                	moveq 1,\$r11
     37 #...
     38 00080098 <tlsfn13>:
     39    80098:	5fae f8ff           	move\.w 0xfff8,\$r10
     40    8009c:	5fae fcff           	move\.w 0xfffc,\$r10
     41