18 lines
299 B
Plaintext
18 lines
299 B
Plaintext
MEMORY
|
|
{
|
|
RAM (rwx) : ORIGIN = 0x00000000, LENGTH = 16K
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.text : {
|
|
*(.text)
|
|
*(.rodata)
|
|
} > RAM
|
|
|
|
.data : {
|
|
KEEP(*(.magic_number)) /* Ensure the magic number is kept */
|
|
LONG(ADDR(.text) + 4) /* Entry point */
|
|
*(.data)
|
|
} > RAM
|
|
} |