Home | History | Annotate | Download | only in COFF
      1 // RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | coff-dump.py | FileCheck %s
      2 
      3 // check that we produce the correct relocation for .secrel32
      4 
      5 Lfoo:
      6 	.secrel32	Lfoo
      7 
      8 // CHECK:       Relocations              = [
      9 // CHECK-NEXT:    0 = {
     10 // CHECK-NEXT:       VirtualAddress           = 0x0
     11 // CHECK-NEXT:       SymbolTableIndex         = 0
     12 // CHECK-NEXT:       Type                     = IMAGE_REL_I386_SECREL (11)
     13 // CHECK-NEXT:       SymbolName               = .text
     14 // CHECK-NEXT:     }
     15