From 86c787320f37858e5681d205afdf9638e57a32b1 Mon Sep 17 00:00:00 2001 From: Leonid Pavel Date: Thu, 11 Jul 2024 21:02:58 +0000 Subject: [PATCH] linker: join all data sections into one This patch changes the linker script to tell the linker to join all sections starting with .data into one, except for .data.sce_process_param This fixes outputting data to stdout (with printf and all) with musl. --- link.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/link.x b/link.x index 5d56621d..e890368c 100644 --- a/link.x +++ b/link.x @@ -72,7 +72,7 @@ SECTIONS } .data : { - *(.data) + *(.data .data.*) } .bss : {