summaryrefslogtreecommitdiffhomepage
path: root/crt/nt64/Scrt1.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-15 15:08:48 -0400
committermidipix <writeonce@midipix.org>2017-10-15 18:11:08 -0400
commit4ab9c5092cb1fa7d8a0ead655c02d74b81e54011 (patch)
tree7e52c88266dd8d347199ff4d6c38a43f4230c773 /crt/nt64/Scrt1.c
parent3cf872b2308a739c34cd402e0f0bdeec51734f16 (diff)
downloadmmglue-4ab9c5092cb1fa7d8a0ead655c02d74b81e54011.tar.bz2
mmglue-4ab9c5092cb1fa7d8a0ead655c02d74b81e54011.tar.xz
ldso preparation: added crtidata.c for exe's not using the framework loader.
Diffstat (limited to 'crt/nt64/Scrt1.c')
-rw-r--r--crt/nt64/Scrt1.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/crt/nt64/Scrt1.c b/crt/nt64/Scrt1.c
index ff5789f..c635211 100644
--- a/crt/nt64/Scrt1.c
+++ b/crt/nt64/Scrt1.c
@@ -1,2 +1,11 @@
+#include "psxglue.h"
+
+__psx_init_routine __psx_init;
+
+__psx_init_routine * __psx_init_fn(void)
+{
+ return __psx_init;
+}
+
#define LIBC_STATIC
#include "crt1.c"