]> granicus.if.org Git - llvm/commitdiff
[gold] Fix test to not assume it runs on x86 hardware.
authorArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Mon, 27 Jun 2016 09:13:03 +0000 (09:13 +0000)
committerArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Mon, 27 Jun 2016 09:13:03 +0000 (09:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273854 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 24fdf9b0868ebd6317d04dbe3c449ee67d4f86e0..bc13c300155e6e329f6af56ae55fc7f1ecd4b635 100644 (file)
@@ -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