1 // RUN: llvm-mc -triple=i686-pc-windows -filetype=obj -o %t %s 2 // RUN: llvm-objdump -d -r %t | FileCheck %s 3 4 .globl _main 5 _main: 6 // CHECK: 00 00 00 00 7 // CHECK-NEXT: 00000002: IMAGE_REL_I386_DIR32 .rdata 8 movb L_alias1(%eax), %al 9 // CHECK: 01 00 00 00 10 // CHECK-NEXT: 00000008: IMAGE_REL_I386_DIR32 .rdata 11 movb L_alias2(%eax), %al 12 retl 13 14 .section .rdata,"dr" 15 L_sym1: 16 .ascii "\001" 17 L_sym2: 18 .ascii "\002" 19 20 L_alias1 = L_sym1 21 L_alias2 = L_sym2 22