/* Script for -N: mix text and data on same page; don't align data */
OUTPUT_FORMAT("a.out-mips-little", "a.out-mips-big",
	      "a.out-mips-little")
OUTPUT_ARCH(mips)
SEARCH_DIR("/usr/pkg/cross/i386-linux/lib");
SECTIONS
{
  . = 0x1020;
  .text :
  {
    CREATE_OBJECT_SYMBOLS
    *(.text)
    etext = .;
  }
  . = .;
  .data :
  {
    *(.data)
    CONSTRUCTORS
    edata  =  .;
  }
  .bss :
  {
   *(.bss)
   *(COMMON)
   end = . ;
  }
}
