/* Script for ld -r: link without relocation */
OUTPUT_FORMAT("coff-maxq")
SEARCH_DIR("/usr/pkg/cross/i386-linux/lib");
ENTRY(_main)
MEMORY
  {
  rom (rx)  : ORIGIN = 0, LENGTH = 0x7FFE
  ram (!rx) : org = 0x0A000, l = 0x5FFF
  }
SECTIONS
{
	.text  :
	{
		*(.text)
	} >rom
	.data :
	{
		*(.data)
		*(.rodata)
		*(.bss)
		*(COMMON)
		;
	}>ram
/*	.bss   :
	{
		*(.bss)
		*(COMMON)
	}
*/
	.stab  0  :
	{
		[ .stab ]
	}
	.stabstr  0  :
	{
		[ .stabstr ]
	}
}
