[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / MachO / darwin-x86_64-diff-reloc-assign-2.s
blobd076c9eebdf5a83726da63421c20e68f7f08a2b3
1 // RUN: llvm-mc -triple x86_64-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs - | FileCheck %s
3 .data
4 L_var1:
5 L_var2:
6 .long L_var2 - L_var1
7 .set L_var3, .
8 .set L_var4, .
9 .long L_var4 - L_var3
11 // CHECK: Relocations [
12 // CHECK-NEXT: ]