1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-windows-msvc < %s | llvm-readobj -r | FileCheck %s 2 3// CHECK: Relocations [ 4// CHECK-NEXT: Section {{.*}} .text { 5// CHECK-NEXT: 0x3 IMAGE_REL_AMD64_REL32 zed 6// CHECK-NEXT: 0xA IMAGE_REL_AMD64_REL32 zed2 7// CHECK-NEXT: } 8// CHECK-NEXT: ] 9 10foo: 11 leaq zed(%rip), %rax 12 leaq zed2(%rip), %rax 13 retq 14 15 .section .rdata,"dr",discard,zed 16Lbar: 17 .zero 2 18 19 .globl zed 20zed = Lbar+1 21 22 .globl zed2 23zed2 = Lbar 24