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. --- arch/nt32/psxglue.h | 2 +- arch/nt64/psxglue.h | 2 +- crt/crtdebug.c | 0 crt/crtdinga.c | 0 crt/nt32/crt1.c | 4 ++-- crt/nt32/crtdebug.c | 3 --- crt/nt32/crtdinga.c | 3 +++ crt/nt64/crt1.c | 4 ++-- crt/nt64/crtdebug.c | 3 --- crt/nt64/crtdinga.c | 3 +++ 10 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 crt/crtdebug.c create mode 100644 crt/crtdinga.c delete mode 100644 crt/nt32/crtdebug.c create mode 100644 crt/nt32/crtdinga.c delete mode 100644 crt/nt64/crtdebug.c create mode 100644 crt/nt64/crtdinga.c diff --git a/arch/nt32/psxglue.h b/arch/nt32/psxglue.h index b72a8d2..abe6365 100644 --- a/arch/nt32/psxglue.h +++ b/arch/nt32/psxglue.h @@ -3,7 +3,7 @@ #define __PSXOPT_NATIVE 0x0 #define __PSXOPT_POSIX 0x1 -#define __PSXOPT_DEBUG 0x2 +#define __PSXOPT_DINGA 0x2 #define __PSXOPT_LDSO 0x4 #define __PSXOPT_VRFS 0x8 diff --git a/arch/nt64/psxglue.h b/arch/nt64/psxglue.h index b72a8d2..abe6365 100644 --- a/arch/nt64/psxglue.h +++ b/arch/nt64/psxglue.h @@ -3,7 +3,7 @@ #define __PSXOPT_NATIVE 0x0 #define __PSXOPT_POSIX 0x1 -#define __PSXOPT_DEBUG 0x2 +#define __PSXOPT_DINGA 0x2 #define __PSXOPT_LDSO 0x4 #define __PSXOPT_VRFS 0x8 diff --git a/crt/crtdebug.c b/crt/crtdebug.c deleted file mode 100644 index e69de29..0000000 diff --git a/crt/crtdinga.c b/crt/crtdinga.c new file mode 100644 index 0000000..e69de29 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; diff --git a/crt/nt64/crt1.c b/crt/nt64/crt1.c index 539ddd2..6f08278 100644 --- a/crt/nt64/crt1.c +++ b/crt/nt64/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/nt64/crtdebug.c b/crt/nt64/crtdebug.c deleted file mode 100644 index 4f4f6d2..0000000 --- a/crt/nt64/crtdebug.c +++ /dev/null @@ -1,3 +0,0 @@ -#include "psxglue.h" - -const int __crtopt_debug = __PSXOPT_DEBUG; diff --git a/crt/nt64/crtdinga.c b/crt/nt64/crtdinga.c new file mode 100644 index 0000000..0ba2580 --- /dev/null +++ b/crt/nt64/crtdinga.c @@ -0,0 +1,3 @@ +#include "psxglue.h" + +const int __crtopt_dinga = __PSXOPT_DINGA; -- cgit v1.2.3