emcyfra/libpqscheme.ld
2025-02-17 09:09:14 +00:00

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
}