summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-02-09 10:09:40 +0000
committerFangrui Song <maskray@google.com>2019-02-09 10:09:40 +0000
commit283d103bde5bfdd59d9836e0c72ca7258df6cdd7 (patch)
tree393cecdada1fe80cd7e4f4df9b5963a281372a80
parent2abcb30f8ca962b33332de8725ce074442001e68 (diff)
downloadbcm5719-llvm-283d103bde5bfdd59d9836e0c72ca7258df6cdd7.tar.gz
bcm5719-llvm-283d103bde5bfdd59d9836e0c72ca7258df6cdd7.zip
[ELF] Delete a comment that is no longer correct. Fix a typo. NFC
llvm-svn: 353605
-rw-r--r--lld/ELF/Relocations.cpp2
-rw-r--r--lld/test/ELF/allow-shlib-undefined.s1
2 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
index ee4f4769ff7..70aa7ba5594 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/ELF/Relocations.cpp
@@ -1003,7 +1003,7 @@ static void scanReloc(InputSectionBase &Sec, OffsetGetter &GetOffset, RelTy *&I,
if (Config->EMachine == EM_PPC64 && isPPC64SmallCodeModelReloc(Type))
Sec.File->PPC64SmallCodeModelRelocs = true;
- // Strenghten or relax relocations.
+ // Strengthen or relax relocations.
//
// GNU ifunc symbols must be accessed via PLT because their addresses
// are determined by runtime.
diff --git a/lld/test/ELF/allow-shlib-undefined.s b/lld/test/ELF/allow-shlib-undefined.s
index c96261fc400..5b09681f2e9 100644
--- a/lld/test/ELF/allow-shlib-undefined.s
+++ b/lld/test/ELF/allow-shlib-undefined.s
@@ -1,5 +1,4 @@
# REQUIRES: x86
-# --allow-shlib-undefined is set by default
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux \
OpenPOWER on IntegriCloud