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:
Rafael Espindola 2016-06-17 17:53:57 +00:00
parent d0680ad717
commit aee1a0e407
1 changed files with 4 additions and 0 deletions

View File

@ -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();
}