diff --git a/src/link.ld b/src/link.ld index 4fca7c4..b136163 100644 --- a/src/link.ld +++ b/src/link.ld @@ -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"); \ No newline at end of file