Compatibility checking for PPC64PltCallStub and PPC64PCRelPLTStub are needed to avoid incompatible thunk/stub re-using.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM.
lld/ELF/Thunks.cpp | ||
---|---|---|
872 | Would it be better to explicitly check for R_PPC64_REL24 and R_PPC64_REL14? |
Comment Actions
Addressed the comment to check R_PPC64_REL24 and R_PPC64_REL14 for PPC64PltCallStub compatibility check.
lld/ELF/Thunks.cpp | ||
---|---|---|
872 | Good catch! Updated. |
Would it be better to explicitly check for R_PPC64_REL24 and R_PPC64_REL14?