commit 1c36ade022de9583af9a254169fe02861de130c4 Author: Ed Maste Date: Wed Dec 1 15:11:15 2021 -0500 lld: default to nostart-stop-gc This matches bfd ld, gold, and lld prior to 13.0. diff --git a/contrib/llvm-project/lld/ELF/Driver.cpp b/contrib/llvm-project/lld/ELF/Driver.cpp index 594c20016827..0edd2e17d6b7 100644 --- a/contrib/llvm-project/lld/ELF/Driver.cpp +++ b/contrib/llvm-project/lld/ELF/Driver.cpp @@ -1194,7 +1194,7 @@ static void readConfigs(opt::InputArgList &args) { config->zShstk = hasZOption(args, "shstk"); config->zStackSize = args::getZOptionValue(args, OPT_z, "stack-size", 0); config->zStartStopGC = - getZFlag(args, "start-stop-gc", "nostart-stop-gc", true); + getZFlag(args, "start-stop-gc", "nostart-stop-gc", false); config->zStartStopVisibility = getZStartStopVisibility(args); config->zText = getZFlag(args, "text", "notext", true); config->zWxneeded = hasZOption(args, "wxneeded");