search for: zifuncnoplt

Displaying 1 result from an estimated 1 matches for "zifuncnoplt".

2018 Aug 21
7
[lld] avoid emitting PLT entries for ifuncs
...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::InputArgList &Args, StringRef K1, StringRef K2, stati...