1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-25 09:26: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);
sbss = .;
*(.bss .bss.*)
*(.sbss .sbss.*)
*(COMMON)
. = ALIGN(4K);
ebss = .;

View File

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

View File

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

View File

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

View File

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

View File

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