Displaying 1 result from an estimated 1 matches for "copyreloc".
Did you mean:
zcopyreloc
2018 Aug 21
7
[lld] avoid emitting PLT entries for ifuncs
...e to dynamically enable retpoline at boot time.
It could also be useful for implementing static DTrace trace points.
Thanks,
-Mark
diff --git a/ELF/Config.h b/ELF/Config.h
index 5dc7f5321..b5a3d3266 100644
--- a/ELF/Config.h
+++ b/ELF/Config.h
@@ -182,6 +182,7 @@ struct Configuration {
bool ZCopyreloc;
bool ZExecstack;
bool ZHazardplt;
+ bool ZIfuncnoplt;
bool ZInitfirst;
bool ZKeepTextSectionPrefix;
bool ZNodelete;
diff --git a/ELF/Driver.cpp b/ELF/Driver.cpp
index aced1edca..e7896cedf 100644
--- a/ELF/Driver.cpp
+++ b/ELF/Driver.cpp
@@ -340,7 +340,8 @@ static bool getZFlag(opt:...