[ELF] Fix a common-page-size typo
authorFangrui Song <maskray@google.com>
Thu, 12 Sep 2019 08:59:17 +0000 (08:59 +0000)
committerFangrui Song <maskray@google.com>
Thu, 12 Sep 2019 08:59:17 +0000 (08:59 +0000)
llvm-svn: 371716

lld/ELF/Driver.cpp

index 5022c81..0bc40f0 100644 (file)
@@ -387,7 +387,7 @@ static bool isKnownZFlag(StringRef s) {
          s == "norelro" || s == "noseparate-code" || s == "notext" ||
          s == "now" || s == "origin" || s == "relro" || s == "retpolineplt" ||
          s == "rodynamic" || s == "text" || s == "undefs" || s == "wxneeded" ||
-         s.startswith("common-page-size") || s.startswith("max-page-size=") ||
+         s.startswith("common-page-size=") || s.startswith("max-page-size=") ||
          s.startswith("stack-size=");
 }