summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-01-03 16:54:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-01-03 16:54:18 +0000
commit7137b8c2984df9325dc2094e780aeaf7cc9c65d1 (patch)
tree7e36f390d2001abc654f810f8f9b5d49243d5de9
parent49422f341aabe2e519da58d24009ebeface93415 (diff)
downloadbcm5719-llvm-7137b8c2984df9325dc2094e780aeaf7cc9c65d1.tar.gz
bcm5719-llvm-7137b8c2984df9325dc2094e780aeaf7cc9c65d1.zip
Update code as this also handles GOT relocations.
llvm-svn: 321738
-rw-r--r--lld/ELF/Relocations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
index 6eaab623077..15403c9c442 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/ELF/Relocations.cpp
@@ -908,7 +908,7 @@ static void scanRelocs(InputSectionBase &Sec, ArrayRef<RelTy> Rels) {
bool Preemptible = Sym.IsPreemptible;
- // Strenghten or relax a PLT access.
+ // Strenghten or relax relocations.
//
// GNU ifunc symbols must be accessed via PLT because their addresses
// are determined by runtime.
OpenPOWER on IntegriCloud