adding two examples that are somewhat position independent, wherever the GPU places this code
it will work (so long as it is not too close to zero, and a 4 byte aligned address of course).
This commit is contained in:
13
zero_start/memmap
Normal file
13
zero_start/memmap
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
MEMORY
|
||||
{
|
||||
ram : ORIGIN = 0x0000, LENGTH = 0x1000
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.text : { *(.text*) } > ram
|
||||
text_size = SIZEOF(.text);
|
||||
.bss : { *(.bss*) } > ram
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user