Home | History | Annotate | Download | only in ld-cris
      1 #source: tls128.s
      2 #source: tls-ld-5.s
      3 #source: tls-gd-1.s
      4 #source: tls-ldgd-14.s
      5 #source: tls-hx1x2.s
      6 #as: --pic --no-underscore --em=criself
      7 #ld: --shared -m crislinux tmpdir/tls-dso-xz-1.so
      8 #objdump: -s -h -t -T -R -r -p
      9 
     10 # Check that we have proper NPTL/TLS markings and GOT for two
     11 # R_CRIS_16_GOT_GD and two R_CRIS_16_DTPRELs against different
     12 # variables in a DSO, GD symbols defined elsewhere.
     13 
     14 .*:     file format elf32-cris
     15 
     16 Program Header:
     17 #...
     18      TLS off .*
     19          filesz 0x0+88 memsz 0x0+88 flags r--
     20 
     21 Dynamic Section:
     22   NEEDED               tmpdir/tls-dso-xz-1.so
     23 #...
     24 private flags = 0:
     25 #...
     26   7 .got .*
     27                   CONTENTS.*
     28 SYMBOL TABLE:
     29 #...
     30 0+         \*UND\*	0+ x
     31 #...
     32 0+         \*UND\*	0+ z
     33 #...
     34 DYNAMIC SYMBOL TABLE:
     35 #...
     36 0+      D  \*UND\*	0+ x
     37 #...
     38 0+      D  \*UND\*	0+ z
     39 #...
     40 DYNAMIC RELOCATION RECORDS
     41 OFFSET   TYPE              VALUE
     42 00002338 R_CRIS_DTPMOD     \*ABS\*
     43 00002340 R_CRIS_DTP        x
     44 00002348 R_CRIS_DTP        z
     45 
     46 Contents of section \.hash:
     47 #...
     48 Contents of section \.text:
     49  021c 5fae8000 5fbe8400 5fae1400 5fae1c00  .*
     50 Contents of section .tdata:
     51 #...
     52 Contents of section \.got:
     53  232c b4220+ 0+ 0+ 0+  .*
     54  233c 0+ 0+ 0+ 0+  .*
     55  234c 0+                             .*
     56