1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

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 388e5ba24b
commit 9e65ba4423

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