minimal testprog (not working)

This commit is contained in:
Christina Quast
2014-11-22 19:48:48 +01:00
commit 2d18f171c2
14 changed files with 10732 additions and 0 deletions

14
minimal/test.ld Normal file
View File

@@ -0,0 +1,14 @@
ENTRY(_Reset)
SECTIONS
{
. = 0x0;
.text : {
startup.o (INTERRUPT_VECTOR)
*(.text)
}
.data : { *(.data) }
.bss : { *(.bss COMMON) }
. = ALIGN(8);
. = . + 0x1000; /* 4kB of stack memory */
stack_top = .;
}