misc: Minor updates to linker scripts

This commit is contained in:
mintsuki 2023-07-15 01:10:06 +02:00
parent 871a8053c2
commit f365a46617
3 changed files with 4 additions and 7 deletions

View File

@ -85,8 +85,8 @@ SECTIONS
.bss : {
bss_begin = .;
*(COMMON)
*(.bss .bss.*)
*(COMMON)
bss_end = .;
data_end = .;
} :data_s3

View File

@ -18,14 +18,14 @@ SECTIONS
} :text
.data : {
*(.rodata .rodata.*)
*(.data .data.*)
*(.rodata .rodata.*)
} :data
.bss : {
bss_begin = .;
*(COMMON)
*(.bss .bss.*)
*(COMMON)
bss_end = .;
} :data

View File

@ -32,8 +32,6 @@ SECTIONS
.data : {
*(.data .data.*)
__global_pointer$ = . + 0x800;
*(.sdata .sdata.*)
} :data
.dynamic : {
@ -41,8 +39,7 @@ SECTIONS
} :data :dynamic
.bss : {
*(COMMON)
*(.sbss .sbss.*)
*(.bss .bss.*)
*(COMMON)
} :data
}