summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2017-11-06 10:36:18 +0000
committerPeter Smith <peter.smith@linaro.org>2017-11-06 10:36:18 +0000
commita2db4349d592a30d241acd0237481a2878edc959 (patch)
treee0ffc035af154a29f13f38f1e22b0ace4c0028e2
parent8de900ae1f84b0e8a0d2daa228ab2348b51f7c39 (diff)
downloadbcm5719-llvm-a2db4349d592a30d241acd0237481a2878edc959.tar.gz
bcm5719-llvm-a2db4349d592a30d241acd0237481a2878edc959.zip
[ELF] Fix typo in comment for getISDThunkSec [NFC]
The ISR in the comment should read ISD for InputSectionDescription. The use of ISR (InputSectionRange) was from the original implementation that did not use the sections from InputSectionDescription directly. llvm-svn: 317469
-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 f157b3ae267..93f5ee8eaa2 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/ELF/Relocations.cpp
@@ -1184,7 +1184,7 @@ void ThunkCreator::mergeThunks(ArrayRef<OutputSection *> OutputSections) {
}
// Find or create a ThunkSection within the InputSectionDescription (ISD) that
-// is in range of Src. An ISR maps to a range of InputSections described by a
+// is in range of Src. An ISD maps to a range of InputSections described by a
// linker script section pattern such as { .text .text.* }.
ThunkSection *ThunkCreator::getISDThunkSec(OutputSection *OS, InputSection *IS,
InputSectionDescription *ISD,
OpenPOWER on IntegriCloud