/*	File        : LINK.CMD
 *	Version 	: 1.0
 *  Description : Link map
 *  Author      : Thomas Cheng
 *  Date 		: 20 March, 1998
 */

OUTPUT_FORMAT("ecoff-littlemips")
ENTRY(appstart)

MEMORY
{
	FLASH   : org = 0x9FC10000, l = 1M
	RAM		: org = 0x80003000, l = 1M
}

SECTIONS
{
	.text :
	{
    	_ftext = . ;
    		*(.text)
    	etext = . ;
	} > FLASH
	.data	:
	{
		_fdata = . ;
			*(.data)
			*(.rdata)
		edata   = . ;
	} > RAM
	.bss	:
	{
		_fbss = . ;
			*(.bss)
			*(COMMON)
			*(.common)
			*(.scommon)
		ebss = .;
	} > RAM
}
