Home | History | Annotate | Download | only in COFF
      1 // RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -s -sr | FileCheck %s
      2 
      3 // check that we produce the correct relocation for .secidx
      4 
      5 Lfoo:
      6 	.secidx	Lfoo
      7 	.short  0
      8 	.secidx	Lbar
      9 	.short  0
     10 
     11 .section spam
     12 Lbar:
     13 	ret
     14 
     15 // CHECK:       Relocations [
     16 // CHECK-NEXT:    0x0 IMAGE_REL_I386_SECTION .text
     17 // CHECK-NEXT:    0x4 IMAGE_REL_I386_SECTION spam
     18 // CHECK-NEXT:  ]
     19