From 3cf872b2308a739c34cd402e0f0bdeec51734f16 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 15 Oct 2017 10:44:35 -0400 Subject: psxglue.h: renamed __PSXOPT_DEBUG --> __PSXOPT_DINGA. --- crt/nt32/crt1.c | 4 ++-- crt/nt32/crtdebug.c | 3 --- crt/nt32/crtdinga.c | 3 +++ 3 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 crt/nt32/crtdebug.c create mode 100644 crt/nt32/crtdinga.c (limited to 'crt/nt32') diff --git a/crt/nt32/crt1.c b/crt/nt32/crt1.c index 13f3c9a..f58af6e 100644 --- a/crt/nt32/crt1.c +++ b/crt/nt32/crt1.c @@ -13,7 +13,7 @@ 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_dinga __attribute((weak,alias("__disabled"))); extern const int __crtopt_ldso __attribute((weak,alias("__disabled"))); extern const int __crtopt_vrfs __attribute((weak,alias("__disabled"))); @@ -30,6 +30,6 @@ void start(void) __libc_entry_routine( main, __psx_init, - __crtopt_posix | __crtopt_debug); + __crtopt_posix | __crtopt_dinga); } diff --git a/crt/nt32/crtdebug.c b/crt/nt32/crtdebug.c deleted file mode 100644 index 4f4f6d2..0000000 --- a/crt/nt32/crtdebug.c +++ /dev/null @@ -1,3 +0,0 @@ -#include "psxglue.h" - -const int __crtopt_debug = __PSXOPT_DEBUG; diff --git a/crt/nt32/crtdinga.c b/crt/nt32/crtdinga.c new file mode 100644 index 0000000..0ba2580 --- /dev/null +++ b/crt/nt32/crtdinga.c @@ -0,0 +1,3 @@ +#include "psxglue.h" + +const int __crtopt_dinga = __PSXOPT_DINGA; -- cgit v1.2.3