Skip to content

Commit 86c7873

Browse files
author
Leonid Pavel
committed
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.
1 parent 0445d4e commit 86c7873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

link.x

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ SECTIONS
7272
}
7373

7474
.data : {
75-
*(.data)
75+
*(.data .data.*)
7676
}
7777

7878
.bss : {

0 commit comments

Comments
 (0)