[lld] [lld][AArch64] Fix handling of SHT_REL relocation addends. (PR #98291)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 17:51:17 PDT 2024
================
@@ -221,6 +221,7 @@ RelType AArch64::getDynRel(RelType type) const {
int64_t AArch64::getImplicitAddend(const uint8_t *buf, RelType type) const {
switch (type) {
+ // Relocation types that point at data.
----------------
MaskRay wrote:
I think this comment can be omitted. It might be useful to add a comment to state where code relocations start.
https://github.com/llvm/llvm-project/pull/98291
More information about the llvm-commits
mailing list