3 ## Check that we perform relaxation for GOT_LOAD relocations to defined symbols.
4 ## Note: GOT_LOAD relocations to dylib symbols are already tested in dylink.s.
6 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
8 # RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn %t | FileCheck %s
9 # CHECK: leaq [[#]](%rip), %rax ## {{.*}} <_foo>
14 movq _foo@GOTPCREL
(%rip
), %rax