mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-28 00:14:14 +01:00
fixed bootloader issues
This commit is contained in:
parent
3050dfa116
commit
29ba0c6c7f
@ -1,7 +1,5 @@
|
|||||||
MEMORY {
|
MEMORY {
|
||||||
exception (rx) : org = 0x80000000, len = 0x400
|
ram (rwx) : org = 0x80000000, len = 2M
|
||||||
ram (rwx) : org = 0x80000400, len = 1M
|
|
||||||
framebuffer (rw) : org = 0x8016A000, len = 600k
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ENTRY(entry_handler)
|
ENTRY(entry_handler)
|
||||||
@ -10,11 +8,8 @@ __exception_stack_size = 8k;
|
|||||||
__stack_size = 16k;
|
__stack_size = 16k;
|
||||||
|
|
||||||
SECTIONS {
|
SECTIONS {
|
||||||
.exception : {
|
|
||||||
KEEP(*(.text.exception_vector));
|
|
||||||
} > exception
|
|
||||||
|
|
||||||
.text : SUBALIGN(8) {
|
.text : SUBALIGN(8) {
|
||||||
|
KEEP(*(.text.exception_vector));
|
||||||
*(.text.entry_handler)
|
*(.text.entry_handler)
|
||||||
*(.text .text.* .gnu.linkonce.t.*)
|
*(.text .text.* .gnu.linkonce.t.*)
|
||||||
*(.assets .assets.*)
|
*(.assets .assets.*)
|
||||||
@ -32,6 +27,8 @@ SECTIONS {
|
|||||||
*(.scommon .scommon.*)
|
*(.scommon .scommon.*)
|
||||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
|
. = ALIGN(64);
|
||||||
|
*(.framebuffer)
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
@ -45,10 +42,6 @@ SECTIONS {
|
|||||||
. += __stack_size;
|
. += __stack_size;
|
||||||
_sp = .;
|
_sp = .;
|
||||||
|
|
||||||
.framebuffer (NOLOAD) : SUBALIGN(64) {
|
|
||||||
*(.framebuffer .framebuffer.*)
|
|
||||||
} > framebuffer
|
|
||||||
|
|
||||||
/DISCARD/ : {
|
/DISCARD/ : {
|
||||||
*(.MIPS.*)
|
*(.MIPS.*)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user