aboutsummaryrefslogtreecommitdiff
path: root/src/boot/llvm/llasm.ml
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-11-05 18:45:06 -0700
committerGraydon Hoare <[email protected]>2010-11-05 18:45:06 -0700
commit049072db824b7eeb4246fd75fa82b2837c00f9d3 (patch)
tree5561d47944e2a8178c3be429c0fed20c74f01e35 /src/boot/llvm/llasm.ml
parentTranslate ast.box unary expressions and support extraction of TypeRefs from A... (diff)
downloadrust-049072db824b7eeb4246fd75fa82b2837c00f9d3.tar.xz
rust-049072db824b7eeb4246fd75fa82b2837c00f9d3.zip
Update lltrans to also emit WinMain@16 on windows.
Diffstat (limited to 'src/boot/llvm/llasm.ml')
-rw-r--r--src/boot/llvm/llasm.ml2
1 files changed, 1 insertions, 1 deletions
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 =