From 2f8f8102ac0ea4403243e1bd4a6af750edb8f180 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Mon, 16 Dec 2024 15:17:16 -0500 Subject: gc sections from host builds --- libcr/coroutine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcr/coroutine.c') diff --git a/libcr/coroutine.c b/libcr/coroutine.c index 73460b7..708e2ea 100644 --- a/libcr/coroutine.c +++ b/libcr/coroutine.c @@ -647,7 +647,7 @@ void coroutine_main(void) { coroutine_running = 0; #if CONFIG_COROUTINE_GDB /* Some pointless call to prevent cr_gdb_readjmp() from - * getting pruned out of the firmware image. */ + * getting pruned out by `ld --gc-sections`. */ if (coroutine_table[0].state != CR_NONE) cr_gdb_readjmp(&coroutine_table[0].env); #endif -- cgit v1.2.3-2-g168b