add .user segment in linker

This commit is contained in:
SKTT1Ryze 2021-03-31 22:55:02 +08:00
parent 5dd00a27ae
commit f5bb2fab4f
1 changed files with 12 additions and 0 deletions

View File

@ -55,6 +55,18 @@ SECTIONS
_eshared_text = .;
}
.user_data : ALIGN(4K) {
_suser_data = .;
*(.user_data .user_data.*)
_euser_data = .;
}
.user_text : ALIGN(4K) {
_suser_text = .;
*(.user_text .user_text.*)
_euser_text = .;
}
. = ALIGN(4K);
free_memory_start = .;