From f0558f582a49c932533dba736175fc0699c6e455 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Mon, 25 Nov 2019 14:44:01 -0800 Subject: [PATCH] [ELF] Delete unused Configuration::zExecstack after D56554 --- lld/ELF/Config.h | 1 - lld/ELF/Driver.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/lld/ELF/Config.h b/lld/ELF/Config.h index ddc195b..d7e715e 100644 --- a/lld/ELF/Config.h +++ b/lld/ELF/Config.h @@ -202,7 +202,6 @@ struct Configuration { bool writeAddends; bool zCombreloc; bool zCopyreloc; - bool zExecstack; bool zGlobal; bool zHazardplt; bool zIfuncNoplt; diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp index ca1a9ed..b13bb5e 100644 --- a/lld/ELF/Driver.cpp +++ b/lld/ELF/Driver.cpp @@ -968,7 +968,6 @@ static void readConfigs(opt::InputArgList &args) { args.hasFlag(OPT_warn_symbol_ordering, OPT_no_warn_symbol_ordering, true); config->zCombreloc = getZFlag(args, "combreloc", "nocombreloc", true); config->zCopyreloc = getZFlag(args, "copyreloc", "nocopyreloc", true); - config->zExecstack = getZFlag(args, "execstack", "noexecstack", false); config->zGlobal = hasZOption(args, "global"); config->zGnustack = getZGnuStack(args); config->zHazardplt = hasZOption(args, "hazardplt"); -- 2.7.4