Home | History | Annotate | Download | only in ld-cris
      1 #source: dsov32-1.s
      2 #source: tls-ld-4.s
      3 #source: dsov32-2.s
      4 #source: expdyn1.s
      5 #source: tls-hx.s
      6 #source: dso-1.s
      7 #as: --pic --no-underscore --em=criself --march=v32
      8 #ld: --shared -m crislinux
      9 #readelf: -a
     10 
     11 # DSO with a R_CRIS_16_DTPREL and a R_CRIS_32_PLT_PCREL.  The .got.plt
     12 # byte index (a) and .rela.plt item index (b) are in sync as b=a/4-3
     13 # *except* when there's a R_CRIS_DTPMOD, because while the relocated
     14 # contents goes in .got.plt, the relocation goes in .rela.got, not
     15 # .rela.plt.  And, it'd cover 8 bytes in .got.plt, not 4 bytes.
     16 # Making sure .rela.plt has the right contents; no R_CRIS_NONE entries.
     17 
     18 #...
     19   .* .got[ 	]+PROGBITS[ 	]+0+2348 0+348 0+20 04  WA  0   0  4
     20 #...
     21 Relocation section '\.rela\.dyn' at offset 0x20c contains 2 entries:
     22  Offset     Info    Type            Sym\.Value  Sym\. Name \+ Addend
     23 00002354  0000001e R_CRIS_DTPMOD +0
     24 00002364  0000050a R_CRIS_GLOB_DAT   00002368   expobj \+ 0
     25 
     26 Relocation section '\.rela\.plt' at offset 0x224 contains 2 entries:
     27  Offset     Info    Type            Sym\.Value  Sym\. Name \+ Addend
     28 0000235c  0000030b R_CRIS_JUMP_SLOT  00000296   dsofn4 \+ 0
     29 00002360  00000c0b R_CRIS_JUMP_SLOT  000002ae   dsofn \+ 0
     30 
     31 The decoding of unwind sections for machine type Axis Communications 32-bit embedded processor is not currently supported.
     32 #pass
     33