This commit is contained in:
2025-02-17 09:09:14 +00:00
commit d112eeac26
7 changed files with 97 additions and 0 deletions

18
libpqscheme.ld Normal file
View File

@@ -0,0 +1,18 @@
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
}