mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-02 08:22:22 -04:00
Use -str nopool to match GCN_mem_alloc
This commit is contained in:
+1
-1
@@ -1075,7 +1075,7 @@ config.libs = [
|
||||
Object(NonMatching, "Runtime.PPCEABI.H/runtime.c"),
|
||||
Object(Matching, "Runtime.PPCEABI.H/__init_cpp_exceptions.cpp"),
|
||||
Object(Matching, "Runtime.PPCEABI.H/Gecko_ExceptionPPC.cp"),
|
||||
Object(Matching, "Runtime.PPCEABI.H/GCN_mem_alloc.c"),
|
||||
Object(Matching, "Runtime.PPCEABI.H/GCN_mem_alloc.c", extra_cflags=["-str reuse,nopool,readonly"]),
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -6,11 +6,8 @@ inline static void InitDefaultHeap() {
|
||||
void* arenaLo;
|
||||
void* arenaHi;
|
||||
|
||||
// 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);
|
||||
OSReport("GCN_Mem_Alloc.c : InitDefaultHeap. No Heap Available\n");
|
||||
OSReport("Metrowerks CW runtime library initializing default heap\n");
|
||||
|
||||
arenaLo = OSGetArenaLo();
|
||||
arenaHi = OSGetArenaHi();
|
||||
|
||||
Reference in New Issue
Block a user