diff options
Diffstat (limited to 'kernel/arch/i386/linker.ld')
| -rw-r--r-- | kernel/arch/i386/linker.ld | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/arch/i386/linker.ld b/kernel/arch/i386/linker.ld index 24cfa84..bac95d2 100644 --- a/kernel/arch/i386/linker.ld +++ b/kernel/arch/i386/linker.ld @@ -5,6 +5,9 @@ SECTIONS {
. = 1M;
+ /* Used to get the beginning and end address of the kernel */
+ _begin = .;
+
/* code. multiboot header comes first */
.text BLOCK(4K) : ALIGN(4K)
{
@@ -30,4 +33,6 @@ SECTIONS *(COMMON)
*(.bss)
}
+
+ _end = .;
}
\ No newline at end of file |
