We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a35203 commit 006c681Copy full SHA for 006c681
lld/ELF/Arch/BPF.cpp
@@ -72,6 +72,12 @@ RelType BPF::getDynRel(RelType type) const {
72
}
73
74
int64_t BPF::getImplicitAddend(const uint8_t *buf, RelType type) const {
75
+ switch (type) {
76
+ case R_BPF_64_ABS32:
77
+ return SignExtend64<32>(read32le(buf));
78
+ default:
79
+ return 0;
80
+ }
81
return 0;
82
83
lld/ELF/Arch/SBF.cpp
@@ -72,6 +72,12 @@ RelType SBF::getDynRel(RelType type) const {
int64_t SBF::getImplicitAddend(const uint8_t *buf, RelType type) const {
+ case R_SBF_64_ABS32:
0 commit comments