summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-28 03:44:24 -0400
committermidipix <writeonce@midipix.org>2016-06-28 03:44:24 -0400
commit6d8c0da7196187dabb45bb61b6098ee99177fede (patch)
tree39c94d1b6e69028fda25396b06e63d1dfe620311
parent5b39d1dceeb94c7622001caed536bf321d61036e (diff)
downloadmmglue-6d8c0da7196187dabb45bb61b6098ee99177fede.tar.bz2
mmglue-6d8c0da7196187dabb45bb61b6098ee99177fede.tar.xz
toolchain: moved ___chkstk_ms() to crtn.s.
-rw-r--r--arch/nt32/src/vtbl.c4
-rw-r--r--arch/nt64/src/vtbl.c4
-rw-r--r--crt/nt32/crtn.s5
-rw-r--r--crt/nt64/crtn.s5
4 files changed, 10 insertions, 8 deletions
diff --git a/arch/nt32/src/vtbl.c b/arch/nt32/src/vtbl.c
index 5336615..25225a6 100644
--- a/arch/nt32/src/vtbl.c
+++ b/arch/nt32/src/vtbl.c
@@ -7,10 +7,6 @@ struct __psx_vtbl * __psx_vtbl = 0;
unsigned long __teb_sys_idx = 0;
unsigned long __teb_libc_idx = 0;
-void __chkstk_ms(void)
-{
-}
-
long __syscall_alert(long n)
{
char __lmsg[] = "DING ALARM! UNIMPLEMENTED SYSCALL 000\n";
diff --git a/arch/nt64/src/vtbl.c b/arch/nt64/src/vtbl.c
index c89cf07..25225a6 100644
--- a/arch/nt64/src/vtbl.c
+++ b/arch/nt64/src/vtbl.c
@@ -7,10 +7,6 @@ struct __psx_vtbl * __psx_vtbl = 0;
unsigned long __teb_sys_idx = 0;
unsigned long __teb_libc_idx = 0;
-void ___chkstk_ms(void)
-{
-}
-
long __syscall_alert(long n)
{
char __lmsg[] = "DING ALARM! UNIMPLEMENTED SYSCALL 000\n";
diff --git a/crt/nt32/crtn.s b/crt/nt32/crtn.s
index d639992..752429b 100644
--- a/crt/nt32/crtn.s
+++ b/crt/nt32/crtn.s
@@ -1,4 +1,9 @@
.text
+
+.globl ___chkstk_ms
+___chkstk_ms:
+ ret
+
.globl __pei386_runtime_relocator
__pei386_runtime_relocator:
ret
diff --git a/crt/nt64/crtn.s b/crt/nt64/crtn.s
index 5259fd7..bb31c67 100644
--- a/crt/nt64/crtn.s
+++ b/crt/nt64/crtn.s
@@ -1,4 +1,9 @@
.text
+
+.globl ___chkstk_ms
+___chkstk_ms:
+ ret
+
.globl _pei386_runtime_relocator
_pei386_runtime_relocator:
ret