Home | History | Annotate | Download | only in ld-cris
      1 #source: tls-local-59.s
      2 #as: --pic --no-underscore --em=criself -I$srcdir/$subdir
      3 #ld: -m crislinux --shared
      4 #objdump: -s -t -r -p -R -T
      5 
      6 # A DSO with a R_CRIS_32_GOT_GD, a R_CRIS_16_GOT_GD, a
      7 # R_CRIS_32_GOT_TPREL and a R_CRIS_16_GOT_TPREL against the same local
      8 # symbol.  Check that we have proper NPTL/TLS markings and GOT.
      9 
     10 .*:     file format elf32-cris
     11 
     12 Program Header:
     13 #...
     14      TLS off .*
     15          filesz 0x00000080 memsz 0x00000080 flags r--
     16 #...
     17   FLAGS                0x00000010
     18 #...
     19 DYNAMIC RELOCATION RECORDS
     20 OFFSET   TYPE              VALUE
     21 00002304 R_CRIS_32_TPREL   \*ABS\*
     22 00002308 R_CRIS_DTP        \*ABS\*
     23 
     24 Contents of section \.hash:
     25 #...
     26 Contents of section \.text:
     27  01ec 6fae1000 00006fae 0c000000 5fae1000  .*
     28  01fc 5fae0c00                             .*
     29 #...
     30 Contents of section \.got:
     31  22f8 80220+ 0+ 0+ 0+  .*
     32  2308 0+ 0+                    .*
     33