summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Target.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-09-29 23:23:53 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-09-29 23:23:53 +0000
commit9a0db7cbef819a6fada843b31720f20844a546f6 (patch)
treea5b0c70dade1789f151f14baced0dfd39270a99e /lld/ELF/Target.cpp
parent3ef3a4c9ff9e7905c7245bd96093cc39e21d2732 (diff)
downloadbcm5719-llvm-9a0db7cbef819a6fada843b31720f20844a546f6.tar.gz
bcm5719-llvm-9a0db7cbef819a6fada843b31720f20844a546f6.zip
Fix typo.
llvm-svn: 248855
Diffstat (limited to 'lld/ELF/Target.cpp')
-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 778bff19499..9aca4e6043d 100644
--- a/lld/ELF/Target.cpp
+++ b/lld/ELF/Target.cpp
@@ -132,7 +132,7 @@ bool X86_64TargetInfo::relocNeedsPlt(uint32_t Type, const SymbolBody &S) const {
// This relocation is defined to have a value of (S + A - P).
// The problems start when a non PIC program calls a function is a shared
// library.
- // In an idea world, we could just report an error saying the relocation
+ // In an ideal world, we could just report an error saying the relocation
// can overflow at runtime.
// In the real world, crt1.o has a R_X86_64_PC32 pointing to libc.so.
// The general idea is to create a PLT entry and use that as the function
OpenPOWER on IntegriCloud