[llvm] [PAC][MC][AArch64] Fix error message for AUTH_ABS64 reloc with ILP32 (PR #89563)
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Mon May 5 19:30:07 PDT 2025
================
@@ -211,18 +211,18 @@ unsigned AArch64ELFObjectWriter::getRelocType(MCContext &Ctx,
Target.getAccessVariant() == MCSymbolRefExpr::VK_GOTPCREL)
? ELF::R_AARCH64_GOTPCREL32
: R_CLS(ABS32);
- case FK_Data_8:
+ case FK_Data_8: {
+ bool IsAuth = (RefKind == AArch64MCExpr::VK_AUTH ||
+ RefKind == AArch64MCExpr::VK_AUTHADDR);
if (IsILP32) {
Ctx.reportError(Fixup.getLoc(),
- "ILP32 8 byte absolute data "
- "relocation not supported (LP64 eqv: ABS64)");
+ Twine("ILP32 8 byte absolute data "
----------------
pcc wrote:
#138625
https://github.com/llvm/llvm-project/pull/89563
More information about the llvm-commits
mailing list