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:
David Welch
2012-07-06 02:36:01 -04:00
parent 1521436e4f
commit 11e7b38f4b
17 changed files with 1055 additions and 0 deletions

13
zero_start/memmap Normal file
View File

@@ -0,0 +1,13 @@
MEMORY
{
ram : ORIGIN = 0x0000, LENGTH = 0x1000
}
SECTIONS
{
.text : { *(.text*) } > ram
text_size = SIZEOF(.text);
.bss : { *(.bss*) } > ram
}