summaryrefslogtreecommitdiffhomepage
path: root/crt
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-15 10:44:35 -0400
committermidipix <writeonce@midipix.org>2017-10-15 10:47:47 -0400
commit3cf872b2308a739c34cd402e0f0bdeec51734f16 (patch)
tree298f72ef33b6782f9ec0b0048479b703dd5ed70b /crt
parentee93f3978c3c1cb13186ac84faad97970c656a1e (diff)
downloadmmglue-3cf872b2308a739c34cd402e0f0bdeec51734f16.tar.bz2
mmglue-3cf872b2308a739c34cd402e0f0bdeec51734f16.tar.xz
psxglue.h: renamed __PSXOPT_DEBUG --> __PSXOPT_DINGA.
Diffstat (limited to 'crt')
-rw-r--r--crt/crtdinga.c (renamed from crt/crtdebug.c)0
-rw-r--r--crt/nt32/crt1.c4
-rw-r--r--crt/nt32/crtdebug.c3
-rw-r--r--crt/nt32/crtdinga.c3
-rw-r--r--crt/nt64/crt1.c4
-rw-r--r--crt/nt64/crtdebug.c3
-rw-r--r--crt/nt64/crtdinga.c3
7 files changed, 10 insertions, 10 deletions
diff --git a/crt/crtdebug.c b/crt/crtdinga.c
index e69de29..e69de29 100644
--- a/crt/crtdebug.c
+++ b/crt/crtdinga.c
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;