Link to 0x00800000 instead of 0x00FD0000

This commit is contained in:
Maschell 2020-12-01 19:53:02 +01:00
parent 44d006fd3f
commit 5df4429561
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ SaveAndResetDataBATs_And_SRs_hook:
#define BAT_SET_NOP_ADDR_8 0xFFEE11C4
#define BAT_SET_NOP_ADDR_9 0xFFEE11C8
#define BAT_SETUP_HOOK_ENTRY 0x00FD0000
#define BAT_SETUP_HOOK_ENTRY 0x00800000
#define BAT4U_VAL 0x008000FF

View File

@ -3,7 +3,7 @@ OUTPUT(payload.elf);
ENTRY(_start);
SECTIONS {
. = 0x00FD0000;
. = 0x00800000;
.text : {
*(.kernel_code*);
*(.text*);
@ -23,4 +23,4 @@ SECTIONS {
}
}
ASSERT((SIZEOF(.text) + SIZEOF(.data)) < 0x30000, "elf is too big");
ASSERT((SIZEOF(.text) + SIZEOF(.data)) < 0x00800000, "elf is too big");