mirror of
https://github.com/Plexi09/Nadir-Kernel.git
synced 2026-10-20 15:07:27 +02:00
link: add __kernel_start/__kernel_end symbols
This commit is contained in:
parent
51b654d5e3
commit
36fa8d7655
1 changed files with 4 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ SECTIONS
|
|||
{
|
||||
. = 0x10000;
|
||||
|
||||
__kernel_start = .;
|
||||
|
||||
.boot : {
|
||||
*(.boot32)
|
||||
}
|
||||
|
|
@ -40,6 +42,8 @@ SECTIONS
|
|||
__bss_end = .;
|
||||
}
|
||||
|
||||
__kernel_end = .;
|
||||
|
||||
/DISCARD/ : {
|
||||
*(.note*)
|
||||
*(.comment*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue