Home | History | Annotate | Download | only in ld-cris
      1 #source: tls-gottprelm.s --defsym r=8189
      2 #as: --no-underscore --em=criself --pic
      3 #ld: --shared -m crislinux
      4 #objdump: -s -j .got -R
      5 
      6 # Check that a R_CRIS_16_DTPREL just below the theoretical limit
      7 # works.  Verify that the first and last R_CRIS_16_GOT_TPREL entries
      8 # are ok, in a DSO.  Beware, the order here is quite random,
      9 # supposedly depending on symbol hashes.
     10 
     11 .*:     file format elf32-cris
     12 
     13 DYNAMIC RELOCATION RECORDS
     14 OFFSET   TYPE              VALUE
     15 000b3870 R_CRIS_32_TPREL   x2814
     16 #...
     17 000b485c R_CRIS_32_TPREL   x8188
     18 #...
     19 000ba564 R_CRIS_32_TPREL   x0
     20 #...
     21 000bb860 R_CRIS_32_TPREL   x1345
     22 
     23 Contents of section .got:
     24  b3864 ec370b00 00000000 00000000 00000000  .*
     25  b3874 00000000 00000000 00000000 00000000  .*
     26 #...
     27  bb844 00000000 00000000 00000000 00000000  .*
     28  bb854 00000000 00000000 00000000 00000000  .*
     29