From: Arnaud A. de Grandmaison Date: Mon, 27 Jun 2016 09:13:03 +0000 (+0000) Subject: [gold] Fix test to not assume it runs on x86 hardware. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ca89ec4a83b3f76d8bca2f940f515f1c2a9661e;p=llvm [gold] Fix test to not assume it runs on x86 hardware. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273854 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/gold/X86/relax-relocs.ll b/test/tools/gold/X86/relax-relocs.ll index 24fdf9b0868..bc13c300155 100644 --- a/test/tools/gold/X86/relax-relocs.ll +++ b/test/tools/gold/X86/relax-relocs.ll @@ -7,6 +7,8 @@ ; Test that we produce R_X86_64_GOTPCREL instead of R_X86_64_GOTPCRELX ; CHECK: R_X86_64_GOTPCREL foo +target triple = "x86_64-unknown-linux-gnu" + @foo = external global i32 define i32 @bar() { %t = load i32, i32* @foo