]> granicus.if.org Git - llvm/commitdiff
[gold] Really fix test to run on non x86 platforms.
authorArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Tue, 28 Jun 2016 08:12:09 +0000 (08:12 +0000)
committerArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Tue, 28 Jun 2016 08:12:09 +0000 (08:12 +0000)
Address post-commit comment from H.J. Lu.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274000 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/gold/X86/relax-relocs.ll

index bc13c300155e6e329f6af56ae55fc7f1ecd4b635..13a813fad08ccd3b4a9476768787d1daafcace9b 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as %s -o %t.o
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
+; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
 ; RUN:    --plugin-opt=save-temps \
 ; RUN:    -shared %t.o -o %t.so
 ; RUN: llvm-readobj -r %t.so.o | FileCheck %s