summaryrefslogtreecommitdiff
path: root/ELF/Driver.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-02-02 17:08:29 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-02-02 17:08:29 +0000
commit168413e17e6af13d756e080b505d1a668f48c0fb (patch)
tree7c78408cc37b3dc898c17adb68fc1d2d9ff9f185 /ELF/Driver.cpp
parenta8506ab674665a803928fc4b5c9d723993244fe2 (diff)
Notes
Diffstat (limited to 'ELF/Driver.cpp')
-rw-r--r--ELF/Driver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ELF/Driver.cpp b/ELF/Driver.cpp
index b159fe63eb181..326c7bca71220 100644
--- a/ELF/Driver.cpp
+++ b/ELF/Driver.cpp
@@ -674,6 +674,7 @@ void LinkerDriver::readConfigs(opt::InputArgList &Args) {
Config->ZNow = hasZOption(Args, "now");
Config->ZOrigin = hasZOption(Args, "origin");
Config->ZRelro = !hasZOption(Args, "norelro");
+ Config->ZRetpolineplt = hasZOption(Args, "retpolineplt");
Config->ZRodynamic = hasZOption(Args, "rodynamic");
Config->ZStackSize = args::getZOptionValue(Args, OPT_z, "stack-size", 0);
Config->ZText = !hasZOption(Args, "notext");