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 | |
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')
-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; |