summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/windows/386/rt0.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/windows/386/rt0.s')
-rw-r--r--src/pkg/runtime/windows/386/rt0.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/pkg/runtime/windows/386/rt0.s b/src/pkg/runtime/windows/386/rt0.s
new file mode 100644
index 000000000..3b023de2f
--- /dev/null
+++ b/src/pkg/runtime/windows/386/rt0.s
@@ -0,0 +1,14 @@
+// Copyright 2009 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+TEXT _rt0_386_windows(SB),7,$0
+ // Set up SEH frame for bootstrap m
+ PUSHL $runtime·sigtramp(SB)
+ PUSHL 0(FS)
+ MOVL SP, 0(FS)
+
+ JMP _rt0_386(SB)
+
+DATA runtime·iswindows(SB)/4, $1
+GLOBL runtime·iswindows(SB), $4