Init
This commit is contained in:
18
libpqscheme.ld
Normal file
18
libpqscheme.ld
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user