From c3faefc061b7bc57eae460deffd7d2d0ad7d3c0c Mon Sep 17 00:00:00 2001 From: cadmic Date: Mon, 26 Feb 2024 22:53:10 -0800 Subject: Fix some retail `boot` data (#1668) * Fix is_debug.c bss * Fix stackcheck.c rodata * Poke jenkins * Don't introduce new variable --- src/boot/stackcheck.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/boot/stackcheck.c') diff --git a/src/boot/stackcheck.c b/src/boot/stackcheck.c index f7eefad71..aa0972d2f 100644 --- a/src/boot/stackcheck.c +++ b/src/boot/stackcheck.c @@ -98,6 +98,11 @@ u32 StackCheck_GetState(StackEntry* entry) { ret = STACK_STATUS_OK; } +#if !OOT_DEBUG + // This string is still in .rodata for retail builds + (void)"(null)"; +#endif + PRINTF("head=%08x tail=%08x last=%08x used=%08x free=%08x [%s]\n", entry->head, entry->tail, last, used, free, entry->name != NULL ? entry->name : "(null)"); PRINTF(VT_RST); -- cgit v1.2.3