The relocation R_PPC64_REL32 should return R_PC for getRelExpr since it computes S + A - P.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D46586
[ELF][PPC64] Fix getRelExpr for R_PPC64_REL32 ClosedPublic Authored by syzaara on May 8 2018, 9:56 AM.
Details Summary The relocation R_PPC64_REL32 should return R_PC for getRelExpr since it computes S + A - P.
Diff Detail Event TimelineThis revision is now accepted and ready to land.May 8 2018, 10:04 AM Closed by commit rLLD332252: [ELF][PPC64] Fix getRelExpr for R_PPC64_REL32 (authored by syzaara). · Explain WhyMay 14 2018, 8:32 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 145713 lld/ELF/Arch/PPC64.cpp
lld/test/ELF/ppc64-relocs.s
|