/*
*
*
*/
MEMORY
{
flash : ORIGIN = 0x00000000, LENGTH = 512k
sram : ORIGIN = 0x1FFF0000, LENGTH = 128k
}
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm","elf32-littlearm")
OUTPUT_ARCH(arm)
SEARCH_DIR(.)
GROUP(-lgcc -lc -lm -lcs3 -lcs3unhosted)
ENTRY(system_start)
/* These force the linker to search for particular symbols from
* the start of the link process and thus ensure the user's
* overrides are picked up
*/
EXTERN(__cs3_start_c main __cs3_stack __cs3_heap_end)......
阅读全文