aboutsummaryrefslogtreecommitdiff
path: root/core/runtime/procs_windows_amd64.asm
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-11-24 18:32:27 +0000
committergingerBill <bill@gingerbill.org>2021-11-24 18:32:27 +0000
commit07ec93bfeb628f19d545d7bc8758ffd8163e431b (patch)
treebe8509f42eca5281c8971dc328c2a37691779fe8 /core/runtime/procs_windows_amd64.asm
parent994ee5a559819d982083dd88eaaa5fd8e3bbee3d (diff)
Add `procs_windows_amd64.asm` for use with `-no-crt`
Diffstat (limited to 'core/runtime/procs_windows_amd64.asm')
-rw-r--r--core/runtime/procs_windows_amd64.asm13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/runtime/procs_windows_amd64.asm b/core/runtime/procs_windows_amd64.asm
new file mode 100644
index 000000000..660f8982a
--- /dev/null
+++ b/core/runtime/procs_windows_amd64.asm
@@ -0,0 +1,13 @@
+global __chkstk
+global _tls_index
+global _fltused
+
+section .data
+ _tls_index: dd 0
+ _fltused: dd 0x9875
+
+
+section .text
+__chkstk: ; proc "c" (rawptr)
+ ; TODO implement correctly
+ ret \ No newline at end of file