Runtime.PPCEABI.H all match

This commit is contained in:
LagoLunatic
2023-10-18 17:24:07 -04:00
parent b84d229c2f
commit c80fa3bba2
2 changed files with 10 additions and 8 deletions
+5 -5
View File
@@ -1065,16 +1065,16 @@ config.libs = [
"cflags": cflags_runtime,
"host": False,
"objects": [
Object(NonMatching, "Runtime.PPCEABI.H/__mem.c"),
Object(Matching, "Runtime.PPCEABI.H/__mem.c"),
Object(Matching, "Runtime.PPCEABI.H/__va_arg.c"),
Object(Matching, "Runtime.PPCEABI.H/global_destructor_chain.c"),
Object(Matching, "Runtime.PPCEABI.H/CPlusLibPPC.cp"),
Object(NonMatching, "Runtime.PPCEABI.H/NMWException.cp"),
Object(NonMatching, "Runtime.PPCEABI.H/ptmf.c"),
Object(NonMatching, "Runtime.PPCEABI.H/runtime.c"),
Object(Matching, "Runtime.PPCEABI.H/NMWException.cp"),
Object(Matching, "Runtime.PPCEABI.H/ptmf.c"),
Object(Matching, "Runtime.PPCEABI.H/runtime.c"),
Object(Matching, "Runtime.PPCEABI.H/__init_cpp_exceptions.cpp"),
Object(Matching, "Runtime.PPCEABI.H/Gecko_ExceptionPPC.cp"),
Object(NonMatching, "Runtime.PPCEABI.H/GCN_mem_alloc.c"),
Object(Matching, "Runtime.PPCEABI.H/GCN_mem_alloc.c"),
],
},
{
+5 -3
View File
@@ -6,9 +6,11 @@ inline static void InitDefaultHeap() {
void* arenaLo;
void* arenaHi;
/* NONMATCH: OSReport strings should be two separate rodata entries with padding */
OSReport("GCN_Mem_Alloc.c : InitDefaultHeap. No Heap Available\n");
OSReport("Metrowerks CW runtime library initializing default heap\n");
// This is to force the two strings be two separate rodata entries with padding instead of a single stringbase.
static const char dummy1[] = "GCN_Mem_Alloc.c : InitDefaultHeap. No Heap Available\n";
static const char dummy2[] = "Metrowerks CW runtime library initializing default heap\n";
OSReport(dummy1);
OSReport(dummy2);
arenaLo = OSGetArenaLo();
arenaHi = OSGetArenaHi();