Skip to content

Commit

Permalink
[gold] Fix test to not assume it runs on x86 hardware.
Browse files Browse the repository at this point in the history
llvm-svn: 273854
  • Loading branch information
Arnaud-de-Grandmaison-ARM committed Jun 27, 2016
1 parent 92423ce commit efb0b89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/test/tools/gold/X86/relax-relocs.ll
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efb0b89

Please sign in to comment.