================
@@ -741,7 +741,7 @@ static void addRelativeReloc(Ctx &ctx, InputSectionBase 
&isec,
   // 
https://github.com/ARM-software/abi-aa/blob/main/memtagabielf64/memtagabielf64.rst#841extended-semantics-of-r_aarch64_relative
   if (sym.isTagged() && !isAArch64Auth &&
       (addend < 0 || static_cast<uint64_t>(addend) >= sym.getSize()))
-    isec.addReloc({expr, type, offsetInSec, addend, &sym});
+    isec.addReloc({R_ADDEND_NEG, type, offsetInSec, addend, &sym});
----------------
jrtc27 wrote:

But I'm deferring that until 
https://github.com/llvm/llvm-project/pull/171180/files#r2599706437 is resolved, 
since this gets rather uglier if `!isAArch64Auth` needs to stay

https://github.com/llvm/llvm-project/pull/171182
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to