1 ; RUN: llc -o - %s -relocation-model=pic | FileCheck %s
2 ; Check that we do not get GOT relocations with the x86_64-pc-windows-macho
4 target triple = "x86_64-pc-windows-macho"
6 @g = common global i32 0, align 4
11 ; CHECK: callq _extbar
12 ; CHECK: leaq _extbar(%rip),
16 ret i8* bitcast (i32 ()* @extbar to i8*)
21 ; CHECK: movl _g(%rip),
25 %gval = load i32, i32* @g, align 4