diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-06-17 17:53:57 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-06-17 17:53:57 +0000 |
| commit | aee1a0e4074ce592b04100fd88c41ba6813c9ffc (patch) | |
| tree | 95fc230f1051f0cd5013487709bc8f0e2286fd5e /llvm | |
| parent | d0680ad717973e837eab2e84e2c1649853ea8ea5 (diff) | |
| download | bcm5719-llvm-aee1a0e4074ce592b04100fd88c41ba6813c9ffc.tar.gz bcm5719-llvm-aee1a0e4074ce592b04100fd88c41ba6813c9ffc.zip | |
Don't use the new x86 relax relocations on the gold plugin.
Should bring back the bots with old versions.
llvm-svn: 273022
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/tools/gold/gold-plugin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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(); } |

