diff options
Diffstat (limited to 'crt')
-rw-r--r-- | crt/crtldso.c | 0 | ||||
-rw-r--r-- | crt/crtvrfs.c | 0 | ||||
-rw-r--r-- | crt/nt32/crt1.c | 2 | ||||
-rw-r--r-- | crt/nt32/crtldso.c | 3 | ||||
-rw-r--r-- | crt/nt32/crtvrfs.c | 3 | ||||
-rw-r--r-- | crt/nt64/crt1.c | 2 | ||||
-rw-r--r-- | crt/nt64/crtldso.c | 3 | ||||
-rw-r--r-- | crt/nt64/crtvrfs.c | 3 |
8 files changed, 16 insertions, 0 deletions
diff --git a/crt/crtldso.c b/crt/crtldso.c new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/crt/crtldso.c diff --git a/crt/crtvrfs.c b/crt/crtvrfs.c new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/crt/crtvrfs.c diff --git a/crt/nt32/crt1.c b/crt/nt32/crt1.c index 6605bcb..13f3c9a 100644 --- a/crt/nt32/crt1.c +++ b/crt/nt32/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/nt32/crtldso.c b/crt/nt32/crtldso.c new file mode 100644 index 0000000..c3130b8 --- /dev/null +++ b/crt/nt32/crtldso.c @@ -0,0 +1,3 @@ +#include "psxglue.h" + +const int __crtopt_ldso = __PSXOPT_LDSO; diff --git a/crt/nt32/crtvrfs.c b/crt/nt32/crtvrfs.c new file mode 100644 index 0000000..d22d444 --- /dev/null +++ b/crt/nt32/crtvrfs.c @@ -0,0 +1,3 @@ +#include "psxglue.h" + +const int __crtopt_vrfs = __PSXOPT_VRFS; 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; |