summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Driver.cpp')
-rw-r--r--lld/ELF/Driver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index deafb6a1b96..307bb08cb68 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -94,6 +94,9 @@ void LinkerDriver::link(ArrayRef<const char *> ArgsArr) {
if (Args.hasArg(OPT_export_dynamic))
Config->ExportDynamic = true;
+ if (Args.hasArg(OPT_noinhibit_exec))
+ Config->NoInhibitExec = true;
+
// Create a list of input files.
std::vector<MemoryBufferRef> Inputs;
OpenPOWER on IntegriCloud