mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-23 22:29:15 +01:00
24 lines
447 B
Plaintext
24 lines
447 B
Plaintext
|
MEMORY
|
||
|
{
|
||
|
ram (rwx) : org = 0x00000000, len = 24k
|
||
|
}
|
||
|
|
||
|
__stack_pointer = ORIGIN(ram) + LENGTH(ram) - 16;
|
||
|
|
||
|
ENTRY(reset_handler)
|
||
|
|
||
|
SECTIONS
|
||
|
{
|
||
|
.memory :
|
||
|
{
|
||
|
. = ALIGN(4);
|
||
|
*(.reset);
|
||
|
. = ALIGN(4);
|
||
|
*(.text .text* .rodata .rodata* .srodata .srodata*);
|
||
|
. = ALIGN(4);
|
||
|
*(.bss .bss.* .sbss .sbss.*);
|
||
|
. = ALIGN(4);
|
||
|
*(.data .data.* .sdata .stada.*);
|
||
|
} > ram
|
||
|
}
|