/* Script for -N: mix text and data on same page; don't align data */
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   0x0000:
	{
		*(.text)
	} >rom
	.data  :
	{
		*(.data)
		*(.rodata)
		*(.bss)
		*(COMMON)
		 edata  =  .;
	}>ram
/*	.bss  SIZEOF(.data) + 0x0000  :
	{
		*(.bss)
		*(COMMON)
	}
*/
	.stab  0 (NOLOAD) :
	{
		[ .stab ]
	}
	.stabstr  0 (NOLOAD) :
	{
		[ .stabstr ]
	}
}
