forked from OSchip/llvm-project
Don't use the new x86 relax relocations on the gold plugin.
Should bring back the bots with old versions. llvm-svn: 273022
This commit is contained in:
parent
d0680ad717
commit
aee1a0e407
|
@ -984,6 +984,10 @@ void CodeGen::initTargetMachine() {
|
|||
FeaturesString = Features.getString();
|
||||
Options = InitTargetOptionsFromCodeGenFlags();
|
||||
|
||||
// Disable the new X86 relax relocations since gold might not support them.
|
||||
// FIXME: Check the gold version or add a new option to enable them.
|
||||
Options.RelaxELFRelocations = false;
|
||||
|
||||
TM = createTargetMachine();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue