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-ie-9.s --pic
      5 #source: tls-x1x2.s
      6 #as: --no-underscore --em=criself
      7 #ld: -m crislinux
      8 #objdump: -d -s -h -t -r -p
      9 
     10 # Check that we have proper NPTL/TLS markings and GOT for an
     11 # executable with two R_CRIS_16_TPREL and two R_CRIS_16_GOT_TPREL, no
     12 # same reloc to same symbol; two different symbols.
     13 
     14 .*:     file format elf32-cris
     15 
     16 Program Header:
     17 #...
     18      TLS off    0x0+a8 vaddr 0x0+820a8 paddr 0x0+820a8 align 2\*\*2
     19          filesz 0x0+88 memsz 0x0+88 flags r--
     20 private flags = 0:
     21 #...
     22   2 .got .*
     23                   CONTENTS.*
     24 SYMBOL TABLE:
     25 #...
     26 0+84 g       \.tdata	0+4 x2
     27 #...
     28 0+80 g       \.tdata	0+4 x1
     29 #...
     30 Contents of section \.text:
     31 #...
     32 Contents of section \.got:
     33  82130 0+ 0+ 0+ fcffffff  .*
     34  82140 f8ffffff  .*
     35 
     36 Disassembly of section \.text:
     37 
     38 00080094 <_start>:
     39    80094:	41b2                	moveq 1,\$r11
     40 #...
     41 00080098 <tlsfn13>:
     42    80098:	5fae f8ff           	move.w 0xfff8,\$r10
     43    8009c:	5fae fcff           	move.w 0xfffc,\$r10
     44 
     45 000800a0 <tlsdsofn9>:
     46    800a0:	5fae 1000           	move.w 0x10,\$r10
     47    800a4:	5fbe 0c00           	move.w 0xc,\$r11
     48