diff options
author | midipix <writeonce@midipix.org> | 2017-10-15 09:52:25 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-10-15 09:52:25 -0400 |
commit | dd061506b1fd6a6d57f0967896d65ad3a817f69e (patch) | |
tree | 5760b76577702c970ad3611b9799c7cae77e2a94 /crt/nt64 | |
parent | 96b093b6a66f87a5e5ed576e3db73e0df245a13a (diff) | |
download | mmglue-dd061506b1fd6a6d57f0967896d65ad3a817f69e.tar.bz2 mmglue-dd061506b1fd6a6d57f0967896d65ad3a817f69e.tar.xz |
toolchain build-time options: added __crtopt_ldso and __crtopt_vrfs.
Diffstat (limited to 'crt/nt64')
-rw-r--r-- | crt/nt64/crt1.c | 2 | ||||
-rw-r--r-- | crt/nt64/crtldso.c | 3 | ||||
-rw-r--r-- | crt/nt64/crtvrfs.c | 3 |
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; |