The Plt relative relocations are R_PPC64_JMP_SLOT in the V2 abi, and we only reserve 2 double words instead of 3 at the start of the array of PLT entries for lazy linking.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rL LLVM
 
Paths 
  |  Differential  D44951  
[PPC64LE] Minor changes for Plt relocations. ClosedPublic Authored by sfertile on Mar 27 2018, 1:20 PM. 
Details Summary The Plt relative relocations are R_PPC64_JMP_SLOT in the V2 abi, and we only reserve 2 double words instead of 3 at the start of the array of PLT entries for lazy linking. 
Diff Detail 
 Event TimelineHerald added subscribers: kbarton, arichardson, nemanjai, emaste.  ·  View Herald TranscriptMar 27 2018, 1:20 PM This revision is now accepted and ready to land.Mar 27 2018, 1:49 PM Closed by commit rL329006: [PPC64] Minor changes for Plt relocations. (authored by sfertile).  ·  Explain WhyApr 2 2018, 12:50 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 140676 lld/trunk/ELF/Arch/PPC64.cpp
 lld/trunk/test/ELF/ppc64le-dynamic-relocations.s
 lld/trunk/test/ELF/ppc64le-plt-stub.s
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||