
MEMORY {
	low_mem : origin=0x6810,  length = 0x7f0
	db_mem  : origin=0xE000,  length=0x1ff0
	db_mem2 : origin=0x10010, length=0xff00
}	

SECTIONS {
	.data BIND(0x6810)  : { *(.data) *(.static) }
	.bss  BIND(NEXT(4)) : { *(.bss) }
	.mod  BIND(0xE000)  : { *(.mod) }
	.text BIND(0x10010) : { *(.text) *(.link) }
}


 
_etext = ADDR(.text) + SIZEOF(.text);
etext  = ADDR(.text) + SIZEOF(.text);
_edata = ADDR(.data) + SIZEOF(.data);
edata  = ADDR(.data) + SIZEOF(.data);
_end   = HIGHMEMADDR;
end    = HIGHMEMADDR;


_START_DATA__ = addr(.data);
_END_DATA__ = addr(.data) + sizeof(.data);
_START_BSS__ = addr(.bss);
_END_BSS__ = addr(.bss) + sizeof(.bss);
_START_TXT__ = addr(.text);
_END_TXT__ = addr(.text) + sizeof(.text);

