summaryrefslogtreecommitdiffhomepage
path: root/crt/nt64/crtidata.c
diff options
context:
space:
mode:
Diffstat (limited to 'crt/nt64/crtidata.c')
-rw-r--r--crt/nt64/crtidata.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/crt/nt64/crtidata.c b/crt/nt64/crtidata.c
new file mode 100644
index 0000000..6037c25
--- /dev/null
+++ b/crt/nt64/crtidata.c
@@ -0,0 +1,16 @@
+/****************************************/
+/* dynamically linked applications only */
+/* see also: Scrt1.c */
+/****************************************/
+
+#include "psxglue.h"
+
+#define __external_routine __attribute__((dllimport))
+
+__external_routine
+__psx_init_routine __psx_init;
+
+__psx_init_routine * __psx_init_fn(void)
+{
+ return __psx_init;
+}