summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2016-05-18 11:40:16 +0000
committerPeter Smith <peter.smith@linaro.org>2016-05-18 11:40:16 +0000
commit4df2e14dce298f0f3d5d00bd6e640c46f0b42b41 (patch)
treead97e757003e78e98c39c077cc2e9cc4baeebdec
parentf830f4baa5b3423aca8ef657c139bba8b7903a40 (diff)
downloadbcm5719-llvm-4df2e14dce298f0f3d5d00bd6e640c46f0b42b41.tar.gz
bcm5719-llvm-4df2e14dce298f0f3d5d00bd6e640c46f0b42b41.zip
Fix typo in comment aligment should be alignment. NFC.
llvm-svn: 269905
-rw-r--r--lld/ELF/InputFiles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp
index f1c0bb993a8..839e5be372c 100644
--- a/lld/ELF/InputFiles.cpp
+++ b/lld/ELF/InputFiles.cpp
@@ -170,7 +170,7 @@ template <class ELFT> static bool shouldMerge(const typename ELFT::Shdr &Sec) {
if (!EntSize || Sec.sh_size % EntSize)
fatal("SHF_MERGE section size must be a multiple of sh_entsize");
- // Don't try to merge if the aligment is larger than the sh_entsize and this
+ // Don't try to merge if the alignment is larger than the sh_entsize and this
// is not SHF_STRINGS.
//
// Since this is not a SHF_STRINGS, we would need to pad after every entity.
OpenPOWER on IntegriCloud