19 lines · plain
1// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -S --sr - | FileCheck %s2 3// check that we produce the correct relocation for .secidx4 5Lfoo:6 .secidx Lfoo7 .short 08 .secidx Lbar9 .short 010 11.section spam12Lbar:13 ret14 15// CHECK: Relocations [16// CHECK-NEXT: 0x0 IMAGE_REL_I386_SECTION .text17// CHECK-NEXT: 0x4 IMAGE_REL_I386_SECTION spam18// CHECK-NEXT: ]19