The variables in BTF DataSec type encode in-section offset.
R_BPF_NONE should be generated instead of R_BPF_64_32.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D62460
[BPF] generate R_BPF_NONE relocation for BTF DataSec variables ClosedPublic Authored by yonghong-song on May 25 2019, 10:45 PM.
Details Summary The variables in BTF DataSec type encode in-section offset.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 26 2019, 7:53 AM Closed by commit rL361742: [BPF] generate R_BPF_NONE relocation for BTF DataSec variables (authored by yhs). · Explain WhyMay 26 2019, 2:25 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 201435 lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
test/CodeGen/BPF/reloc-btf-2.ll
|