forked from OSchip/llvm-project
Fix ac1d23ed7d interaction with gold plugin
Correctly set RelocationModel, thanks @modocache for spotting this. Related to differential revision: https://reviews.llvm.org/D75579
This commit is contained in:
parent
cda2b0769f
commit
8d019cda85
|
|
@ -869,7 +869,7 @@ static std::unique_ptr<LTO> createLTO(IndexWriteCallback OnIndexWrite,
|
|||
Conf.Options.DataSections = SplitSections;
|
||||
|
||||
Conf.MAttrs = codegen::getMAttrs();
|
||||
Conf.RelocModel = codegen::getExplicitRelocModel();
|
||||
Conf.RelocModel = RelocationModel;
|
||||
Conf.CodeModel = codegen::getExplicitCodeModel();
|
||||
Conf.CGOptLevel = getCGOptLevel();
|
||||
Conf.DisableVerify = options::DisableVerify;
|
||||
|
|
|
|||
Loading…
Reference in New Issue