summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2015-10-02 22:17:09 +0000
committerDavide Italiano <davide@freebsd.org>2015-10-02 22:17:09 +0000
commitd9b5be4c83394fbc1ed568b9b4df09adef24a975 (patch)
treec74ae4f6a3f46bf5c35a2a641ba059ab5b22ead0
parent5713b8d0db0a2baaa4b285bae619bf2a9be94f3f (diff)
downloadbcm5719-llvm-d9b5be4c83394fbc1ed568b9b4df09adef24a975.tar.gz
bcm5719-llvm-d9b5be4c83394fbc1ed568b9b4df09adef24a975.zip
[ELF/AArch64] Fix a couple of typos. My bad, sorry.
llvm-svn: 249201
-rw-r--r--lld/ELF/Target.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Target.cpp b/lld/ELF/Target.cpp
index 1bca36fae96..09f3b235aaf 100644
--- a/lld/ELF/Target.cpp
+++ b/lld/ELF/Target.cpp
@@ -262,7 +262,7 @@ static void AArch64UpdateAdr(uint8_t *Location, uint64_t Imm) {
// Page(Expr) is the page address of the expression Expr, defined
// as (Expr & ~0xFFF). (This applies even if the machine page size
-// supported by the platform has a differen value).
+// supported by the platform has a different value.)
static uint64_t AArch64GetPage(uint64_t Expr) {
return Expr & (~static_cast<uint64_t>(0xFFF));
}
OpenPOWER on IntegriCloud