Rename ignoreInterpSection -> needsInterpSection.
This should improve consistency. Also added comment.
llvm-svn: 315169
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index 73d87e4..9288893 100644
--- a/lld/ELF/Writer.cpp
+++ b/lld/ELF/Writer.cpp
@@ -117,7 +117,7 @@
static bool needsInterpSection() {
return !SharedFiles.empty() && !Config->DynamicLinker.empty() &&
- !Script->ignoreInterpSection();
+ Script->needsInterpSection();
}
template <class ELFT> void elf::writeResult() { Writer<ELFT>().run(); }