Initial commit. Next section 'Obtaining GRUB'

This commit is contained in:
2020-03-07 20:31:58 -06:00
commit cd7efed090
3 changed files with 45 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
ENTRY(loader)
SECTIONS {
. = 0x00100000; /* Load the code at 1 MB */
.text ALIGN (0x1000) :
{
*(.text)
}
.rodata ALIGN (0x1000) :
{
*(.rodata*)
}
.data ALIGN (0x1000) :
{
*(.data)
}
.bss ALIGN (0x1000) :
{
*(COMMON)
*(.bss)
}
}