Merge commit '4a41e734'

This commit is contained in:
fslongjin
2022-04-25 19:28:25 +08:00
2 changed files with 9 additions and 4 deletions

View File

@ -20,15 +20,17 @@ SECTIONS
}
. += KERNEL_VMA;
. = ALIGN(32768);
text_start_pa = .;
.text (text_start_pa): AT(text_start_pa - KERNEL_VMA)
{
_text = .;
*(.text)
_etext = .;
}
. = ALIGN(8);
. = ALIGN(32768);
data_start_pa = .;
.data (data_start_pa): AT(data_start_pa - KERNEL_VMA)
{
@ -37,7 +39,9 @@ SECTIONS
_edata = .;
}
. = ALIGN(4096);
. = ALIGN(32768);
rodata_start_pa = .;
.rodata (rodata_start_pa): AT(rodata_start_pa - KERNEL_VMA)
{
@ -52,6 +56,7 @@ SECTIONS
.data.init_proc_union (init_proc_union_start_pa): AT(init_proc_union_start_pa - KERNEL_VMA)
{ *(.data.init_proc_union) }
. = ALIGN(32768);
bss_start_pa = .;
.bss (bss_start_pa): AT(bss_start_pa - KERNEL_VMA)
{