Added new linker symbol pointing to end of read-only data
This commit is contained in:
1
src/x86/linker.ld
Executable file → Normal file
1
src/x86/linker.ld
Executable file → Normal file
@@ -37,6 +37,7 @@ SECTIONS
|
||||
_kernel_pstart = PHYSICAL_BASE;
|
||||
_kernel_pend = PHYSICAL_BASE + (4096 * IMAGE_SIZE);
|
||||
_kernel_start = VIRTUAL_BASE;
|
||||
_kernel_tend = VIRTUAL_BASE + SIZEOF(.text) + SIZEOF(.rodata);
|
||||
_kernel_end = VIRTUAL_BASE + (4096 * IMAGE_SIZE);
|
||||
_entry_paddr = _start - _kernel_start + _kernel_pstart;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user