summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-06-21 05:09:39 +0000
committerRui Ueyama <ruiu@google.com>2016-06-21 05:09:39 +0000
commit73575c4d5ee20081768a0876f8bdfb922f09324f (patch)
tree7ecf3ae60f47dbc264e8de6bfd5956d7df8127a4
parent3f5dd1458e4c775e3c50dfa95c0523852ca2fcc3 (diff)
downloadbcm5719-llvm-73575c4d5ee20081768a0876f8bdfb922f09324f.tar.gz
bcm5719-llvm-73575c4d5ee20081768a0876f8bdfb922f09324f.zip
Fix typo in comment.
llvm-svn: 273243
-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 21c0440837a..3c3fcc370f2 100644
--- a/lld/ELF/Target.cpp
+++ b/lld/ELF/Target.cpp
@@ -681,7 +681,7 @@ void X86_64TargetInfo::relaxTlsIeToLe(uint8_t *Loc, uint32_t Type,
uint8_t Reg = Loc[-1] >> 3;
uint8_t *RegSlot = Loc - 1;
- // Note that LEA with RSP or R12 is converted to ADD instead of LEA
+ // Note that ADD with RSP or R12 is converted to ADD instead of LEA
// because LEA with these registers needs 4 bytes to encode and thus
// wouldn't fit the space.
OpenPOWER on IntegriCloud