summaryrefslogtreecommitdiffhomepage
path: root/crt/nt64
diff options
context:
space:
mode:
Diffstat (limited to 'crt/nt64')
-rw-r--r--crt/nt64/crt1.c2
-rw-r--r--crt/nt64/crtldso.c3
-rw-r--r--crt/nt64/crtvrfs.c3
3 files changed, 8 insertions, 0 deletions
diff --git a/crt/nt64/crt1.c b/crt/nt64/crt1.c
index 8c1f838..539ddd2 100644
--- a/crt/nt64/crt1.c
+++ b/crt/nt64/crt1.c
@@ -14,6 +14,8 @@
static const int __disabled = 0;
extern const int __crtopt_posix __attribute((weak,alias("__disabled")));
extern const int __crtopt_debug __attribute((weak,alias("__disabled")));
+extern const int __crtopt_ldso __attribute((weak,alias("__disabled")));
+extern const int __crtopt_vrfs __attribute((weak,alias("__disabled")));
int main();
diff --git a/crt/nt64/crtldso.c b/crt/nt64/crtldso.c
new file mode 100644
index 0000000..c3130b8
--- /dev/null
+++ b/crt/nt64/crtldso.c
@@ -0,0 +1,3 @@
+#include "psxglue.h"
+
+const int __crtopt_ldso = __PSXOPT_LDSO;
diff --git a/crt/nt64/crtvrfs.c b/crt/nt64/crtvrfs.c
new file mode 100644
index 0000000..d22d444
--- /dev/null
+++ b/crt/nt64/crtvrfs.c
@@ -0,0 +1,3 @@
+#include "psxglue.h"
+
+const int __crtopt_vrfs = __PSXOPT_VRFS;