1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 08:06:17 +04:00

Add sbss to bss sections

This commit is contained in:
jiegec 2021-03-06 22:50:54 +08:00
parent fe7fd0283a
commit e2ba52d3ec
6 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,7 @@ SECTIONS {
. = ALIGN(32); . = ALIGN(32);
sbss = .; sbss = .;
*(.bss .bss.*) *(.bss .bss.*)
*(.sbss .sbss.*)
*(COMMON) *(COMMON)
. = ALIGN(4K); . = ALIGN(4K);
ebss = .; ebss = .;

View File

@ -46,6 +46,7 @@ SECTIONS
.bss : { .bss : {
sbss = .; sbss = .;
*(.bss .bss.*) *(.bss .bss.*)
*(.sbss .sbss.*)
ebss = .; ebss = .;
} }

View File

@ -45,6 +45,7 @@ SECTIONS
.bss : { .bss : {
sbss = .; sbss = .;
*(.bss .bss.*) *(.bss .bss.*)
*(.sbss .sbss.*)
ebss = .; ebss = .;
} }

View File

@ -50,6 +50,7 @@ SECTIONS
.bss : { .bss : {
sbss = .; sbss = .;
*(.bss .bss.*) *(.bss .bss.*)
*(.sbss .sbss.*)
ebss = .; ebss = .;
} }

View File

@ -45,6 +45,7 @@ SECTIONS
.bss : { .bss : {
sbss = .; sbss = .;
*(.bss .bss.*) *(.bss .bss.*)
*(.sbss .sbss.*)
ebss = .; ebss = .;
} }

View File

@ -34,5 +34,6 @@ SECTIONS {
.bss ALIGN(4K): .bss ALIGN(4K):
{ {
*(.bss .bss.*) *(.bss .bss.*)
*(.sbss .sbss.*)
} }
} }