xref: /aosp_15_r20/external/llvm/test/MC/COFF/secrel32.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -s -sr | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker// check that we produce the correct relocation for .secrel32
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard WorkerLfoo:
6*9880d681SAndroid Build Coastguard Worker	.secrel32	Lfoo
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker// CHECK:       Relocations [
9*9880d681SAndroid Build Coastguard Worker// CHECK-NEXT:    0x0 IMAGE_REL_I386_SECREL .text
10*9880d681SAndroid Build Coastguard Worker// CHECK-NEXT:  ]
11