Lines Matching refs:ELFConfig
305 const ELFConfig &ELFConfig, Object &Obj) { in updateAndRemoveSymbols() argument
318 ((ELFConfig.LocalizeHidden && in updateAndRemoveSymbols()
323 for (auto &[Matcher, Visibility] : ELFConfig.SymbolsToSetVisibility) in updateAndRemoveSymbols()
378 (ELFConfig.KeepFileSymbols && Sym.Type == STT_FILE)) in updateAndRemoveSymbols()
417 const ELFConfig &ELFConfig, Object &Obj) { in replaceAndRemoveSections() argument
545 if ((!Config.SymbolsToKeep.empty() || ELFConfig.KeepFileSymbols) && in replaceAndRemoveSections()
554 if (Error E = Obj.removeSections(ELFConfig.AllowBrokenLinks, RemovePred)) in replaceAndRemoveSections()
681 static Error handleArgs(const CommonConfig &Config, const ELFConfig &ELFConfig, in handleArgs() argument
690 ELFConfig.AllowBrokenLinks, in handleArgs()
707 if (Error E = replaceAndRemoveSections(Config, ELFConfig, Obj)) in handleArgs()
710 if (Error E = updateAndRemoveSymbols(Config, ELFConfig, Obj)) in handleArgs()
763 if (ELFConfig.VerifyNoteSections) in handleArgs()
791 addSymbol(Obj, SI, ELFConfig.NewSymbolVisibility); in handleArgs()
874 if (ELFConfig.EntryExpr) in handleArgs()
875 Obj.Entry = ELFConfig.EntryExpr(Obj.Entry); in handleArgs()
889 const ELFConfig &ELFConfig, in executeObjcopyOnIHex() argument
898 if (Error E = handleArgs(Config, ELFConfig, OutputElfType, **Obj)) in executeObjcopyOnIHex()
904 const ELFConfig &ELFConfig, in executeObjcopyOnRawBinary() argument
907 BinaryReader Reader(&In, ELFConfig.NewSymbolVisibility); in executeObjcopyOnRawBinary()
916 if (Error E = handleArgs(Config, ELFConfig, OutputElfType, **Obj)) in executeObjcopyOnRawBinary()
922 const ELFConfig &ELFConfig, in executeObjcopyOnBinary() argument
935 if (Error E = handleArgs(Config, ELFConfig, OutputElfType, **Obj)) in executeObjcopyOnBinary()