From 186aea515dd773bb11464714886ca5203d2be2ab Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 13 Dec 2025 18:28:44 +0000 Subject: Use the correct rdata section name Saves 512 bytes of useless padding. Oops! --- src/con_.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/con_.c') diff --git a/src/con_.c b/src/con_.c index 23291d7..ff71383 100644 --- a/src/con_.c +++ b/src/con_.c @@ -99,7 +99,7 @@ asm_only void _con_colourmsg(void *dummy, const struct rgba *c, #ifdef _WIN32 // this function is defined as data because we'll be using it to self-modify the // main _con_colourmsg function! -__attribute((used, section("rdata"))) +__attribute((used, section(".rdata"))) asm_only static void _con_colourmsg_OE(void *dummy, const struct rgba *c, const char *fmt, ...) { // OE: it's a global function, with no this param, so we have to fix up the -- cgit v1.2.3-54-g00ecf