1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-25 09:26:17 +04:00

Add sdata to data section

This commit is contained in:
jiegec 2021-03-06 23:06:59 +08:00
parent e2ba52d3ec
commit f98a482a10
6 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,7 @@ SECTIONS {
.data : {
sdata = .;
*(.data .data.* .gnu.linkonce.d*)
*(.sdata .sdata.*)
. = ALIGN(4K);
edata = .;
}

View File

@ -36,6 +36,7 @@ SECTIONS
.data : {
sdata = .;
*(.data .data.*)
*(.sdata .sdata.*)
edata = .;
}

View File

@ -35,6 +35,7 @@ SECTIONS
.data : {
sdata = .;
*(.data .data.*)
*(.sdata .sdata.*)
edata = .;
}

View File

@ -40,6 +40,7 @@ SECTIONS
.data : {
sdata = .;
*(.data .data.*)
*(.sdata .sdata.*)
edata = .;
}

View File

@ -35,6 +35,7 @@ SECTIONS
.data : {
sdata = .;
*(.data .data.*)
*(.sdata .sdata.*)
edata = .;
}

View File

@ -24,6 +24,7 @@ SECTIONS {
.data ALIGN(4K):
{
*(.data .data.*)
*(.sdata .sdata.*)
}
.got ALIGN(4K):