Load the CustomRPXLoader into the start of the memory region, don't limit the size

This commit is contained in:
Maschell 2024-04-20 09:01:04 +02:00
parent c031887028
commit da383b0455

View File

@ -3,7 +3,7 @@ OUTPUT(payload.elf);
ENTRY(_start);
SECTIONS {
. = 0x00808000;
. = 0x00800000;
.text : {
*(.kernel_code*);
/* everything below this code may get overwritten at runtime */
@ -24,4 +24,4 @@ SECTIONS {
}
}
ASSERT((SIZEOF(.text) + SIZEOF(.data)) < (0x00900000 - 0x00808000), "elf is too big");
ASSERT((SIZEOF(.text) + SIZEOF(.data)) < (0x00FD0000 - 0x00800000), "elf is too big");