From 6a84436d513f65c8995bd60ada2e7ad57919c85f Mon Sep 17 00:00:00 2001 From: "Arnaud A. de Grandmaison" Date: Tue, 28 Jun 2016 08:12:09 +0000 Subject: [PATCH] [gold] Really fix test to run on non x86 platforms. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tools/gold/X86/relax-relocs.ll b/test/tools/gold/X86/relax-relocs.ll index bc13c300155..13a813fad08 100644 --- a/test/tools/gold/X86/relax-relocs.ll +++ b/test/tools/gold/X86/relax-relocs.ll @@ -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