mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-12-03 02:24:13 +01:00
30 lines
572 B
Plaintext
30 lines
572 B
Plaintext
MEMORY
|
|
{
|
|
ram (rwx) : org = 0x00000000, len = 16k
|
|
}
|
|
|
|
__ram_size = LENGTH(ram);
|
|
__stack_pointer = ORIGIN(ram) + LENGTH(ram) - 16;
|
|
|
|
ENTRY(reset_handler)
|
|
|
|
SECTIONS
|
|
{
|
|
.metadata :
|
|
{
|
|
KEEP(*(.rodata.metadata));
|
|
}
|
|
|
|
.ram ORIGIN(ram) :
|
|
{
|
|
. = ALIGN(4);
|
|
*(.text.startup);
|
|
. = ALIGN(4);
|
|
*(.text .text* .rodata .rodata* .srodata .srodata*);
|
|
. = ALIGN(4);
|
|
*(.bss .bss.* .sbss .sbss.*);
|
|
. = ALIGN(4);
|
|
*(.data .data.* .sdata .stada.*);
|
|
} > ram AT > ram
|
|
}
|