summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile14
-rw-r--r--asm/MSL_C/MSL_Common/ansi_files.s (renamed from asm/libstdc++/ansi_files.s)0
-rw-r--r--asm/MSL_C/MSL_Common/arith.s (renamed from asm/libstdc++/arith.s)0
-rw-r--r--asm/MSL_C/MSL_Common/buffer_io.s (renamed from asm/libstdc++/buffer_io.s)0
-rw-r--r--asm/MSL_C/MSL_Common/direct_io.s (renamed from asm/libstdc++/direct_io.s)0
-rw-r--r--asm/MSL_C/MSL_Common/extras.s (renamed from asm/libstdc++/extras.s)0
-rw-r--r--asm/MSL_C/MSL_Common/file_io.s (renamed from asm/libstdc++/file_io.s)0
-rw-r--r--asm/MSL_C/MSL_Common/file_pos.s (renamed from asm/libstdc++/FILE_POS.s)0
-rw-r--r--asm/MSL_C/MSL_Common/math_api.s (renamed from asm/libstdc++/math_api.s)0
-rw-r--r--asm/MSL_C/MSL_Common/mbstring.s (renamed from asm/libstdc++/mbstring.s)0
-rw-r--r--asm/MSL_C/MSL_Common/mem.s (renamed from asm/libstdc++/mem.s)0
-rw-r--r--asm/MSL_C/MSL_Common/mem_funcs.s (renamed from asm/libstdc++/mem_funcs.s)0
-rw-r--r--asm/MSL_C/MSL_Common/misc_io.s (renamed from asm/libstdc++/misc_io.s)0
-rw-r--r--asm/MSL_C/MSL_Common/printf.s (renamed from asm/libstdc++/printf.s)0
-rw-r--r--asm/MSL_C/MSL_Common/qsort.s (renamed from asm/libstdc++/qsort.s)0
-rw-r--r--asm/MSL_C/MSL_Common/rand.s (renamed from asm/libstdc++/rand.s)0
-rw-r--r--asm/MSL_C/MSL_Common/scanf.s (renamed from asm/libstdc++/scanf.s)0
-rw-r--r--asm/MSL_C/MSL_Common/string.s (renamed from asm/libstdc++/string.s)0
-rw-r--r--asm/MSL_C/MSL_Common/strtold.s (renamed from asm/libstdc++/strtold.s)0
-rw-r--r--asm/MSL_C/MSL_Common/strtoul.s (renamed from asm/libstdc++/strtoul.s)0
-rw-r--r--asm/MSL_C/MSL_Common/wchar_io.s (renamed from asm/libstdc++/wchar_io.s)0
-rw-r--r--asm/MSL_C/MSL_Common/wstring.s (renamed from asm/libstdc++/wstring.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/e_acos.s (renamed from asm/libstdc++/e_acos.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/e_asin.s (renamed from asm/libstdc++/e_asin.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/e_atan2.s (renamed from asm/libstdc++/e_atan2.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/e_fmod.s (renamed from asm/libstdc++/e_fmod.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/e_pow.s (renamed from asm/libstdc++/e_pow.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/e_rem_pio2.s (renamed from asm/libstdc++/e_rem_pio2.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/e_sqrt.s (renamed from asm/libstdc++/e_sqrt.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/k_cos.s (renamed from asm/libstdc++/k_cos.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/k_rem_pio2.s (renamed from asm/libstdc++/k_rem_pio2.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/k_sin.s (renamed from asm/libstdc++/k_sin.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/k_tan.s (renamed from asm/libstdc++/k_tan.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/s_atan.s (renamed from asm/libstdc++/s_atan.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/s_copysign.s (renamed from asm/libstdc++/s_copysign.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/s_cos.s (renamed from asm/libstdc++/s_cos.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/s_floor.s (renamed from asm/libstdc++/s_floor.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/s_frexp.s (renamed from asm/libstdc++/s_frexp.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/s_ldexp.s (renamed from asm/libstdc++/s_ldexp.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/s_sin.s (renamed from asm/libstdc++/s_sin.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/s_tan.s (renamed from asm/libstdc++/s_tan.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/w_acos.s (renamed from asm/libstdc++/w_acos.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/w_asin.s (renamed from asm/libstdc++/w_asin.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/w_atan2.s (renamed from asm/libstdc++/w_atan2.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/w_fmod.s (renamed from asm/libstdc++/w_fmod.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/w_pow.s (renamed from asm/libstdc++/w_pow.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/Math/w_sqrt.s (renamed from asm/libstdc++/w_sqrt.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/ansi_fp.s (renamed from asm/libstdc++/ansi_fp.s)0
-rw-r--r--asm/MSL_C/MSL_Common_Embedded/math_sun.s (renamed from asm/libstdc++/math_sun.s)0
-rw-r--r--asm/MSL_C/PPC_EABI/math_ppc.s (renamed from asm/libstdc++/math_ppc.s)0
-rw-r--r--asm/MSL_C/PPC_EABI/uart_console_io_gcn.s (renamed from asm/libstdc++/uart_console_io_gcn.s)0
-rw-r--r--asm/Runtime/Gecko_ExceptionPPC.s (renamed from asm/libstdc++/Gecko_ExceptionPPC.s)0
-rw-r--r--asm/Runtime/NMWException.s (renamed from asm/libstdc++/NMWException.s)0
-rw-r--r--asm/Runtime/__init_cpp_exceptions.s (renamed from asm/libstdc++/__init_cpp_exceptions.s)0
-rw-r--r--asm/Runtime/__mem.s (renamed from asm/libstdc++/__mem.s)0
-rw-r--r--asm/Runtime/__va_arg.s (renamed from asm/libstdc++/__va_arg.s)0
-rw-r--r--asm/Runtime/global_destructor_chain.s (renamed from asm/libstdc++/global_destructor_chain.s)0
-rw-r--r--asm/Runtime/runtime.s (renamed from asm/libstdc++/runtime.s)0
-rw-r--r--obj_files.mk116
-rw-r--r--src/Runtime/ptmf.c (renamed from src/libstdc++/ptmf.c)0
60 files changed, 66 insertions, 64 deletions
diff --git a/Makefile b/Makefile
index 4bade59..65b13d5 100644
--- a/Makefile
+++ b/Makefile
@@ -28,12 +28,14 @@ TARGET := pbr_pal
BUILD_DIR := build/$(TARGET)
-SRC_DIRS := src src/SDK/OS src/libstdc++ src/MetroTRK src/GameSpy \
- src/nw4r/ut src/nw4r/snd src/nw4r/ut/detail src/nw4r/snd/detail \
- src/nw4r/math src/nw4r/lyt src/nw4r/lyt/detail
-ASM_DIRS := asm asm/SDK/OS asm/libstdc++ asm/MetroTRK asm/GameSpy \
- asm/nw4r/ut asm/nw4r/snd asm/nw4r/ut/detail asm/nw4r/snd/detail \
- asm/nw4r/math asm/nw4r/lyt asm/nw4r/lyt/detail
+SRC_DIRS := src src/SDK/OS src/MSL_C/MSL_Common src/MSL_C/MSL_Common_Embedded \
+ src/MSL_C/MSL_Common_Embedded/Math src/MSL_C/PPC_EABI src/Runtime \
+ src/MetroTRK src/GameSpy src/nw4r/ut src/nw4r/snd src/nw4r/ut/detail \
+ src/nw4r/snd/detail src/nw4r/math src/nw4r/lyt src/nw4r/lyt/detail
+ASM_DIRS := asm asm/SDK/OS asm/MSL_C/MSL_Common asm/MSL_C/MSL_Common_Embedded \
+ asm/MSL_C/MSL_Common_Embedded/Math asm/MSL_C/PPC_EABI asm/Runtime \
+ asm/MetroTRK asm/GameSpy asm/nw4r/ut asm/nw4r/snd asm/nw4r/ut/detail \
+ asm/nw4r/snd/detail asm/nw4r/math asm/nw4r/lyt asm/nw4r/lyt/detail
# Inputs
S_FILES := $(wildcard asm/*.s)
diff --git a/asm/libstdc++/ansi_files.s b/asm/MSL_C/MSL_Common/ansi_files.s
index 52c4156..52c4156 100644
--- a/asm/libstdc++/ansi_files.s
+++ b/asm/MSL_C/MSL_Common/ansi_files.s
diff --git a/asm/libstdc++/arith.s b/asm/MSL_C/MSL_Common/arith.s
index eac01ad..eac01ad 100644
--- a/asm/libstdc++/arith.s
+++ b/asm/MSL_C/MSL_Common/arith.s
diff --git a/asm/libstdc++/buffer_io.s b/asm/MSL_C/MSL_Common/buffer_io.s
index 2ee6618..2ee6618 100644
--- a/asm/libstdc++/buffer_io.s
+++ b/asm/MSL_C/MSL_Common/buffer_io.s
diff --git a/asm/libstdc++/direct_io.s b/asm/MSL_C/MSL_Common/direct_io.s
index ed81bcc..ed81bcc 100644
--- a/asm/libstdc++/direct_io.s
+++ b/asm/MSL_C/MSL_Common/direct_io.s
diff --git a/asm/libstdc++/extras.s b/asm/MSL_C/MSL_Common/extras.s
index ba07203..ba07203 100644
--- a/asm/libstdc++/extras.s
+++ b/asm/MSL_C/MSL_Common/extras.s
diff --git a/asm/libstdc++/file_io.s b/asm/MSL_C/MSL_Common/file_io.s
index be053b1..be053b1 100644
--- a/asm/libstdc++/file_io.s
+++ b/asm/MSL_C/MSL_Common/file_io.s
diff --git a/asm/libstdc++/FILE_POS.s b/asm/MSL_C/MSL_Common/file_pos.s
index 0aa63a2..0aa63a2 100644
--- a/asm/libstdc++/FILE_POS.s
+++ b/asm/MSL_C/MSL_Common/file_pos.s
diff --git a/asm/libstdc++/math_api.s b/asm/MSL_C/MSL_Common/math_api.s
index 847341c..847341c 100644
--- a/asm/libstdc++/math_api.s
+++ b/asm/MSL_C/MSL_Common/math_api.s
diff --git a/asm/libstdc++/mbstring.s b/asm/MSL_C/MSL_Common/mbstring.s
index 559037d..559037d 100644
--- a/asm/libstdc++/mbstring.s
+++ b/asm/MSL_C/MSL_Common/mbstring.s
diff --git a/asm/libstdc++/mem.s b/asm/MSL_C/MSL_Common/mem.s
index 4d333ae..4d333ae 100644
--- a/asm/libstdc++/mem.s
+++ b/asm/MSL_C/MSL_Common/mem.s
diff --git a/asm/libstdc++/mem_funcs.s b/asm/MSL_C/MSL_Common/mem_funcs.s
index 426d2cb..426d2cb 100644
--- a/asm/libstdc++/mem_funcs.s
+++ b/asm/MSL_C/MSL_Common/mem_funcs.s
diff --git a/asm/libstdc++/misc_io.s b/asm/MSL_C/MSL_Common/misc_io.s
index 1ccfb0c..1ccfb0c 100644
--- a/asm/libstdc++/misc_io.s
+++ b/asm/MSL_C/MSL_Common/misc_io.s
diff --git a/asm/libstdc++/printf.s b/asm/MSL_C/MSL_Common/printf.s
index f437ec1..f437ec1 100644
--- a/asm/libstdc++/printf.s
+++ b/asm/MSL_C/MSL_Common/printf.s
diff --git a/asm/libstdc++/qsort.s b/asm/MSL_C/MSL_Common/qsort.s
index 1107bbd..1107bbd 100644
--- a/asm/libstdc++/qsort.s
+++ b/asm/MSL_C/MSL_Common/qsort.s
diff --git a/asm/libstdc++/rand.s b/asm/MSL_C/MSL_Common/rand.s
index 1f21acb..1f21acb 100644
--- a/asm/libstdc++/rand.s
+++ b/asm/MSL_C/MSL_Common/rand.s
diff --git a/asm/libstdc++/scanf.s b/asm/MSL_C/MSL_Common/scanf.s
index 655314f..655314f 100644
--- a/asm/libstdc++/scanf.s
+++ b/asm/MSL_C/MSL_Common/scanf.s
diff --git a/asm/libstdc++/string.s b/asm/MSL_C/MSL_Common/string.s
index 311ea67..311ea67 100644
--- a/asm/libstdc++/string.s
+++ b/asm/MSL_C/MSL_Common/string.s
diff --git a/asm/libstdc++/strtold.s b/asm/MSL_C/MSL_Common/strtold.s
index c7bcf1a..c7bcf1a 100644
--- a/asm/libstdc++/strtold.s
+++ b/asm/MSL_C/MSL_Common/strtold.s
diff --git a/asm/libstdc++/strtoul.s b/asm/MSL_C/MSL_Common/strtoul.s
index c6e412c..c6e412c 100644
--- a/asm/libstdc++/strtoul.s
+++ b/asm/MSL_C/MSL_Common/strtoul.s
diff --git a/asm/libstdc++/wchar_io.s b/asm/MSL_C/MSL_Common/wchar_io.s
index 8864676..8864676 100644
--- a/asm/libstdc++/wchar_io.s
+++ b/asm/MSL_C/MSL_Common/wchar_io.s
diff --git a/asm/libstdc++/wstring.s b/asm/MSL_C/MSL_Common/wstring.s
index 74bbfe8..74bbfe8 100644
--- a/asm/libstdc++/wstring.s
+++ b/asm/MSL_C/MSL_Common/wstring.s
diff --git a/asm/libstdc++/e_acos.s b/asm/MSL_C/MSL_Common_Embedded/Math/e_acos.s
index a7aa083..a7aa083 100644
--- a/asm/libstdc++/e_acos.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/e_acos.s
diff --git a/asm/libstdc++/e_asin.s b/asm/MSL_C/MSL_Common_Embedded/Math/e_asin.s
index 9737cd4..9737cd4 100644
--- a/asm/libstdc++/e_asin.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/e_asin.s
diff --git a/asm/libstdc++/e_atan2.s b/asm/MSL_C/MSL_Common_Embedded/Math/e_atan2.s
index 817db98..817db98 100644
--- a/asm/libstdc++/e_atan2.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/e_atan2.s
diff --git a/asm/libstdc++/e_fmod.s b/asm/MSL_C/MSL_Common_Embedded/Math/e_fmod.s
index 7b25558..7b25558 100644
--- a/asm/libstdc++/e_fmod.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/e_fmod.s
diff --git a/asm/libstdc++/e_pow.s b/asm/MSL_C/MSL_Common_Embedded/Math/e_pow.s
index 0e021ff..0e021ff 100644
--- a/asm/libstdc++/e_pow.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/e_pow.s
diff --git a/asm/libstdc++/e_rem_pio2.s b/asm/MSL_C/MSL_Common_Embedded/Math/e_rem_pio2.s
index 0ee9c7c..0ee9c7c 100644
--- a/asm/libstdc++/e_rem_pio2.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/e_rem_pio2.s
diff --git a/asm/libstdc++/e_sqrt.s b/asm/MSL_C/MSL_Common_Embedded/Math/e_sqrt.s
index d86b67f..d86b67f 100644
--- a/asm/libstdc++/e_sqrt.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/e_sqrt.s
diff --git a/asm/libstdc++/k_cos.s b/asm/MSL_C/MSL_Common_Embedded/Math/k_cos.s
index 72b5f0b..72b5f0b 100644
--- a/asm/libstdc++/k_cos.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/k_cos.s
diff --git a/asm/libstdc++/k_rem_pio2.s b/asm/MSL_C/MSL_Common_Embedded/Math/k_rem_pio2.s
index 6a91b78..6a91b78 100644
--- a/asm/libstdc++/k_rem_pio2.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/k_rem_pio2.s
diff --git a/asm/libstdc++/k_sin.s b/asm/MSL_C/MSL_Common_Embedded/Math/k_sin.s
index 8f1e58a..8f1e58a 100644
--- a/asm/libstdc++/k_sin.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/k_sin.s
diff --git a/asm/libstdc++/k_tan.s b/asm/MSL_C/MSL_Common_Embedded/Math/k_tan.s
index b410c78..b410c78 100644
--- a/asm/libstdc++/k_tan.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/k_tan.s
diff --git a/asm/libstdc++/s_atan.s b/asm/MSL_C/MSL_Common_Embedded/Math/s_atan.s
index 15a3fe0..15a3fe0 100644
--- a/asm/libstdc++/s_atan.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/s_atan.s
diff --git a/asm/libstdc++/s_copysign.s b/asm/MSL_C/MSL_Common_Embedded/Math/s_copysign.s
index 8e53a18..8e53a18 100644
--- a/asm/libstdc++/s_copysign.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/s_copysign.s
diff --git a/asm/libstdc++/s_cos.s b/asm/MSL_C/MSL_Common_Embedded/Math/s_cos.s
index 5f733c3..5f733c3 100644
--- a/asm/libstdc++/s_cos.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/s_cos.s
diff --git a/asm/libstdc++/s_floor.s b/asm/MSL_C/MSL_Common_Embedded/Math/s_floor.s
index aed6568..aed6568 100644
--- a/asm/libstdc++/s_floor.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/s_floor.s
diff --git a/asm/libstdc++/s_frexp.s b/asm/MSL_C/MSL_Common_Embedded/Math/s_frexp.s
index 44e4b71..44e4b71 100644
--- a/asm/libstdc++/s_frexp.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/s_frexp.s
diff --git a/asm/libstdc++/s_ldexp.s b/asm/MSL_C/MSL_Common_Embedded/Math/s_ldexp.s
index 8d0c624..8d0c624 100644
--- a/asm/libstdc++/s_ldexp.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/s_ldexp.s
diff --git a/asm/libstdc++/s_sin.s b/asm/MSL_C/MSL_Common_Embedded/Math/s_sin.s
index 082eba7..082eba7 100644
--- a/asm/libstdc++/s_sin.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/s_sin.s
diff --git a/asm/libstdc++/s_tan.s b/asm/MSL_C/MSL_Common_Embedded/Math/s_tan.s
index e7443cd..e7443cd 100644
--- a/asm/libstdc++/s_tan.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/s_tan.s
diff --git a/asm/libstdc++/w_acos.s b/asm/MSL_C/MSL_Common_Embedded/Math/w_acos.s
index cd1f558..cd1f558 100644
--- a/asm/libstdc++/w_acos.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/w_acos.s
diff --git a/asm/libstdc++/w_asin.s b/asm/MSL_C/MSL_Common_Embedded/Math/w_asin.s
index d9aff7a..d9aff7a 100644
--- a/asm/libstdc++/w_asin.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/w_asin.s
diff --git a/asm/libstdc++/w_atan2.s b/asm/MSL_C/MSL_Common_Embedded/Math/w_atan2.s
index f729248..f729248 100644
--- a/asm/libstdc++/w_atan2.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/w_atan2.s
diff --git a/asm/libstdc++/w_fmod.s b/asm/MSL_C/MSL_Common_Embedded/Math/w_fmod.s
index abaa3fb..abaa3fb 100644
--- a/asm/libstdc++/w_fmod.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/w_fmod.s
diff --git a/asm/libstdc++/w_pow.s b/asm/MSL_C/MSL_Common_Embedded/Math/w_pow.s
index cd9f837..cd9f837 100644
--- a/asm/libstdc++/w_pow.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/w_pow.s
diff --git a/asm/libstdc++/w_sqrt.s b/asm/MSL_C/MSL_Common_Embedded/Math/w_sqrt.s
index 6ad6bf8..6ad6bf8 100644
--- a/asm/libstdc++/w_sqrt.s
+++ b/asm/MSL_C/MSL_Common_Embedded/Math/w_sqrt.s
diff --git a/asm/libstdc++/ansi_fp.s b/asm/MSL_C/MSL_Common_Embedded/ansi_fp.s
index 9104000..9104000 100644
--- a/asm/libstdc++/ansi_fp.s
+++ b/asm/MSL_C/MSL_Common_Embedded/ansi_fp.s
diff --git a/asm/libstdc++/math_sun.s b/asm/MSL_C/MSL_Common_Embedded/math_sun.s
index ce06b2a..ce06b2a 100644
--- a/asm/libstdc++/math_sun.s
+++ b/asm/MSL_C/MSL_Common_Embedded/math_sun.s
diff --git a/asm/libstdc++/math_ppc.s b/asm/MSL_C/PPC_EABI/math_ppc.s
index 14ca2da..14ca2da 100644
--- a/asm/libstdc++/math_ppc.s
+++ b/asm/MSL_C/PPC_EABI/math_ppc.s
diff --git a/asm/libstdc++/uart_console_io_gcn.s b/asm/MSL_C/PPC_EABI/uart_console_io_gcn.s
index eeda9eb..eeda9eb 100644
--- a/asm/libstdc++/uart_console_io_gcn.s
+++ b/asm/MSL_C/PPC_EABI/uart_console_io_gcn.s
diff --git a/asm/libstdc++/Gecko_ExceptionPPC.s b/asm/Runtime/Gecko_ExceptionPPC.s
index 0291da9..0291da9 100644
--- a/asm/libstdc++/Gecko_ExceptionPPC.s
+++ b/asm/Runtime/Gecko_ExceptionPPC.s
diff --git a/asm/libstdc++/NMWException.s b/asm/Runtime/NMWException.s
index 697ecdd..697ecdd 100644
--- a/asm/libstdc++/NMWException.s
+++ b/asm/Runtime/NMWException.s
diff --git a/asm/libstdc++/__init_cpp_exceptions.s b/asm/Runtime/__init_cpp_exceptions.s
index 7e12b85..7e12b85 100644
--- a/asm/libstdc++/__init_cpp_exceptions.s
+++ b/asm/Runtime/__init_cpp_exceptions.s
diff --git a/asm/libstdc++/__mem.s b/asm/Runtime/__mem.s
index c138a48..c138a48 100644
--- a/asm/libstdc++/__mem.s
+++ b/asm/Runtime/__mem.s
diff --git a/asm/libstdc++/__va_arg.s b/asm/Runtime/__va_arg.s
index 9fa03cd..9fa03cd 100644
--- a/asm/libstdc++/__va_arg.s
+++ b/asm/Runtime/__va_arg.s
diff --git a/asm/libstdc++/global_destructor_chain.s b/asm/Runtime/global_destructor_chain.s
index 1b2cfba..1b2cfba 100644
--- a/asm/libstdc++/global_destructor_chain.s
+++ b/asm/Runtime/global_destructor_chain.s
diff --git a/asm/libstdc++/runtime.s b/asm/Runtime/runtime.s
index a747bc7..a747bc7 100644
--- a/asm/libstdc++/runtime.s
+++ b/asm/Runtime/runtime.s
diff --git a/obj_files.mk b/obj_files.mk
index 94c0f88..80a2230 100644
--- a/obj_files.mk
+++ b/obj_files.mk
@@ -12,64 +12,64 @@ TEXT_O_FILES := \
$(BUILD_DIR)/asm/text_3.o \
$(BUILD_DIR)/asm/text_4.o \
$(BUILD_DIR)/asm/text_5.o \
- $(BUILD_DIR)/asm/libstdc++/__mem.o \
- $(BUILD_DIR)/asm/libstdc++/__va_arg.o \
- $(BUILD_DIR)/asm/libstdc++/global_destructor_chain.o \
- $(BUILD_DIR)/asm/libstdc++/NMWException.o \
- $(BUILD_DIR)/src/libstdc++/ptmf.o \
- $(BUILD_DIR)/asm/libstdc++/runtime.o \
- $(BUILD_DIR)/asm/libstdc++/__init_cpp_exceptions.o \
- $(BUILD_DIR)/asm/libstdc++/Gecko_ExceptionPPC.o \
- $(BUILD_DIR)/asm/libstdc++/ansi_files.o \
- $(BUILD_DIR)/asm/libstdc++/ansi_fp.o \
- $(BUILD_DIR)/asm/libstdc++/arith.o \
- $(BUILD_DIR)/asm/libstdc++/buffer_io.o \
- $(BUILD_DIR)/asm/libstdc++/direct_io.o \
- $(BUILD_DIR)/asm/libstdc++/file_io.o \
- $(BUILD_DIR)/asm/libstdc++/FILE_POS.o \
- $(BUILD_DIR)/asm/libstdc++/mbstring.o \
- $(BUILD_DIR)/asm/libstdc++/mem.o \
- $(BUILD_DIR)/asm/libstdc++/mem_funcs.o \
- $(BUILD_DIR)/asm/libstdc++/math_api.o \
- $(BUILD_DIR)/asm/libstdc++/misc_io.o \
- $(BUILD_DIR)/asm/libstdc++/printf.o \
- $(BUILD_DIR)/asm/libstdc++/qsort.o \
- $(BUILD_DIR)/asm/libstdc++/rand.o \
- $(BUILD_DIR)/asm/libstdc++/scanf.o \
- $(BUILD_DIR)/asm/libstdc++/string.o \
- $(BUILD_DIR)/asm/libstdc++/strtold.o \
- $(BUILD_DIR)/asm/libstdc++/strtoul.o \
- $(BUILD_DIR)/asm/libstdc++/wstring.o \
- $(BUILD_DIR)/asm/libstdc++/wchar_io.o \
- $(BUILD_DIR)/asm/libstdc++/uart_console_io_gcn.o \
- $(BUILD_DIR)/asm/libstdc++/math_sun.o \
- $(BUILD_DIR)/asm/libstdc++/extras.o \
- $(BUILD_DIR)/asm/libstdc++/e_acos.o \
- $(BUILD_DIR)/asm/libstdc++/e_asin.o \
- $(BUILD_DIR)/asm/libstdc++/e_atan2.o \
- $(BUILD_DIR)/asm/libstdc++/e_fmod.o \
- $(BUILD_DIR)/asm/libstdc++/e_pow.o \
- $(BUILD_DIR)/asm/libstdc++/e_rem_pio2.o \
- $(BUILD_DIR)/asm/libstdc++/k_cos.o \
- $(BUILD_DIR)/asm/libstdc++/k_rem_pio2.o \
- $(BUILD_DIR)/asm/libstdc++/k_sin.o \
- $(BUILD_DIR)/asm/libstdc++/k_tan.o \
- $(BUILD_DIR)/asm/libstdc++/s_atan.o \
- $(BUILD_DIR)/asm/libstdc++/s_copysign.o \
- $(BUILD_DIR)/asm/libstdc++/s_cos.o \
- $(BUILD_DIR)/asm/libstdc++/s_floor.o \
- $(BUILD_DIR)/asm/libstdc++/s_frexp.o \
- $(BUILD_DIR)/asm/libstdc++/s_ldexp.o \
- $(BUILD_DIR)/asm/libstdc++/s_sin.o \
- $(BUILD_DIR)/asm/libstdc++/s_tan.o \
- $(BUILD_DIR)/asm/libstdc++/w_acos.o \
- $(BUILD_DIR)/asm/libstdc++/w_asin.o \
- $(BUILD_DIR)/asm/libstdc++/w_atan2.o \
- $(BUILD_DIR)/asm/libstdc++/w_fmod.o \
- $(BUILD_DIR)/asm/libstdc++/w_pow.o \
- $(BUILD_DIR)/asm/libstdc++/e_sqrt.o \
- $(BUILD_DIR)/asm/libstdc++/math_ppc.o \
- $(BUILD_DIR)/asm/libstdc++/w_sqrt.o \
+ $(BUILD_DIR)/asm/Runtime/__mem.o \
+ $(BUILD_DIR)/asm/Runtime/__va_arg.o \
+ $(BUILD_DIR)/asm/Runtime/global_destructor_chain.o \
+ $(BUILD_DIR)/asm/Runtime/NMWException.o \
+ $(BUILD_DIR)/src/Runtime/ptmf.o \
+ $(BUILD_DIR)/asm/Runtime/runtime.o \
+ $(BUILD_DIR)/asm/Runtime/__init_cpp_exceptions.o \
+ $(BUILD_DIR)/asm/Runtime/Gecko_ExceptionPPC.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/ansi_files.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/ansi_fp.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/arith.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/buffer_io.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/direct_io.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/file_io.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/file_pos.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/mbstring.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/mem.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/mem_funcs.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/math_api.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/misc_io.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/printf.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/qsort.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/rand.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/scanf.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/string.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/strtold.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/strtoul.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/wstring.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/wchar_io.o \
+ $(BUILD_DIR)/asm/MSL_C/PPC_EABI/uart_console_io_gcn.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/math_sun.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common/extras.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/e_acos.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/e_asin.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/e_atan2.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/e_fmod.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/e_pow.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/e_rem_pio2.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/k_cos.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/k_rem_pio2.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/k_sin.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/k_tan.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/s_atan.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/s_copysign.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/s_cos.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/s_floor.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/s_frexp.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/s_ldexp.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/s_sin.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/s_tan.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/w_acos.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/w_asin.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/w_atan2.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/w_fmod.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/w_pow.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/e_sqrt.o \
+ $(BUILD_DIR)/asm/MSL_C/PPC_EABI/math_ppc.o \
+ $(BUILD_DIR)/asm/MSL_C/MSL_Common_Embedded/Math/w_sqrt.o \
$(BUILD_DIR)/asm/MetroTRK/mainloop.o \
$(BUILD_DIR)/asm/text_6.o \
$(BUILD_DIR)/asm/MetroTRK/mem_TRK.o \
diff --git a/src/libstdc++/ptmf.c b/src/Runtime/ptmf.c
index 297039c..297039c 100644
--- a/src/libstdc++/ptmf.c
+++ b/src/Runtime/ptmf.c