[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / lld / test / MachO / tapi-framework.s
blob1cfc32b1f3b9a0fd31957b25d6d42a64072abcbb
1 # REQUIRES: x86
2 # RUN: mkdir -p %t
3 # RUN: llvm-mc -filetype obj -triple x86_64-apple-darwin %s -o %t/test.o
4 # RUN: %lld -o %t/test -framework CoreFoundation %t/test.o
6 # RUN: llvm-objdump --macho --dylibs-used %t/test | FileCheck %s
7 # CHECK: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
9 .section __TEXT,__text
10 .global _main
12 _main:
13 movq __CFBigNumGetInt128@GOTPCREL(%rip), %rax
14 ret