From aee1a0e4074ce592b04100fd88c41ba6813c9ffc Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 17 Jun 2016 17:53:57 +0000 Subject: Don't use the new x86 relax relocations on the gold plugin. Should bring back the bots with old versions. llvm-svn: 273022 --- llvm/tools/gold/gold-plugin.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/tools') diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index 105fef9a2d7..cd4e39cb81c 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -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(); } -- cgit v1.2.3