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 : {
bss_begin = .; bss_begin = .;
*(COMMON)
*(.bss .bss.*) *(.bss .bss.*)
*(COMMON)
bss_end = .; bss_end = .;
data_end = .; data_end = .;
} :data_s3 } :data_s3

View File

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

View File

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