Home | History | Annotate | Download | only in ld-cris
      1 #source: start1.s
      2 #source: tls128.s
      3 #source: tls-ld-7.s
      4 #source: tls-gd-2.s
      5 #source: tls-ldgd-15.s
      6 #source: tls-hx1x2.s
      7 #as: --pic --no-underscore --em=criself
      8 #ld: -m crislinux tmpdir/tls-dso-xz-1.so
      9 #objdump: -s -h -t -T -R -r -p
     10 
     11 # Check that we have proper NPTL/TLS markings and GOT for two
     12 # R_CRIS_32_GOT_GD and two R_CRIS_32_DTPRELs against different
     13 # variables, for an executable, GD symbols defined elsewhere.
     14 
     15 .*:     file format elf32-cris
     16 
     17 Program Header:
     18 #...
     19      TLS off  .*
     20          filesz 0x0+88 memsz 0x0+88 flags r--
     21 
     22 Dynamic Section:
     23   NEEDED               tmpdir/tls-dso-xz-1.so
     24 #...
     25 private flags = 0:
     26 #...
     27   8 .got .*
     28                   CONTENTS.*
     29 SYMBOL TABLE:
     30 #...
     31 0+         \*UND\*	0+ x
     32 #...
     33 0+         \*UND\*	0+ z
     34 #...
     35 DYNAMIC SYMBOL TABLE:
     36 0+      D  \*UND\*	0+ x
     37 0+      D  \*UND\*	0+ z
     38 #...
     39 DYNAMIC RELOCATION RECORDS
     40 OFFSET   TYPE              VALUE
     41 00082318 R_CRIS_DTP        x
     42 00082320 R_CRIS_DTP        z
     43 
     44 Contents of section \.interp:
     45 #...
     46 Contents of section \.text:
     47  801dc 41b20000 6fae8000 00006fbe 84000000  .*
     48  801ec 6fae1400 00000000 6fae1c00 00000000  .*
     49 Contents of section \.tdata:
     50 #...
     51 Contents of section \.got:
     52  82304 84220800 0+ 0+ 010+  .*
     53  82314 0+ 0+ 0+ 0+  .*
     54  82324 0+                             .*
     55