1// RUN: llvm-mc -filetype=obj -triple i686-pc-mingw32 %s | llvm-readobj -s -sr -sd | FileCheck %s 2 3 .def _foobar; 4 .scl 2; 5 .type 32; 6 .endef 7 .text 8 .long 0 9 .globl _foobar 10 .align 16, 0x90 11_foobar: # @foobar 12# BB#0: 13 ret 14 15 .data 16 .globl _rust_crate # @rust_crate 17 .align 4 18_rust_crate: 19 .long 0 20 .long _foobar 21 .long _foobar-_rust_crate 22 .long _foobar-_rust_crate 23 24// CHECK: Name: .data 25// CHECK: Relocations [ 26// CHECK-NEXT: 0x4 IMAGE_REL_I386_DIR32 _foobar 27// CHECK-NEXT: 0x8 IMAGE_REL_I386_REL32 .text 28// CHECK-NEXT: 0xC IMAGE_REL_I386_REL32 .text 29// CHECK-NEXT: ] 30// CHECK: SectionData ( 31// CHECK-NEXT: 0000: 00000000 00000000 1C000000 20000000 32// CHECK-NEXT: ) 33