From 2bb7f226af18c537af299bd04a7fa57b31b0b2c7 Mon Sep 17 00:00:00 2001 From: Alexander Shaposhnikov Date: Tue, 18 Jan 2022 02:31:08 +0000 Subject: [PATCH] [lld] Fix typo. NFC --- lld/ELF/Arch/AArch64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/Arch/AArch64.cpp b/lld/ELF/Arch/AArch64.cpp index 96e16f760a82..784d578312d7 100644 --- a/lld/ELF/Arch/AArch64.cpp +++ b/lld/ELF/Arch/AArch64.cpp @@ -616,7 +616,7 @@ bool AArch64Relaxer::tryRelaxAdrpLdr(const Relocation &adrpRel, if (!adrpRel.sym || adrpRel.sym != ldrRel.sym || !adrpRel.sym->isDefined() || adrpRel.sym->isPreemptible || adrpRel.sym->isGnuIFunc()) return false; - // Check if the addends of the both instructions are zero. + // Check if the addends of the both relocations are zero. if (adrpRel.addend != 0 || ldrRel.addend != 0) return false; uint32_t adrpInstr = read32le(buf + adrpRel.offset);