From 049072db824b7eeb4246fd75fa82b2837c00f9d3 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 5 Nov 2010 18:45:06 -0700 Subject: Update lltrans to also emit WinMain@16 on windows. --- src/boot/llvm/llasm.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/boot/llvm/llasm.ml') diff --git a/src/boot/llvm/llasm.ml b/src/boot/llvm/llasm.ml index 071e0bd6..67f02517 100644 --- a/src/boot/llvm/llasm.ml +++ b/src/boot/llvm/llasm.ml @@ -26,7 +26,7 @@ let x86_glue let (prefix,align) = match sess.Session.sess_targ with Linux_x86_elf - | Win32_x86_pe -> ("",4) + | Win32_x86_pe -> ("_",4) | MacOS_x86_macho -> ("_", 16) in let save_callee_saves = -- cgit v1.2.3