We found that we need R_X86_64_PC8 and R_X86_64_PC16, so is the patch.
They are defined by the x86-64 ELF ABI standard.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with a nit.
lld/test/ELF/x86-64-pcrel.s | ||
---|---|---|
8 ↗ | (On Diff #185456) | You want to use llvm-objdump, not GNU objdump. |