/* Script for ld -Ur: link w/out relocation, do create constructors */
OUTPUT_FORMAT("coff-sparc")
SEARCH_DIR("/usr/pkg/cross/i386-linux/lib");
ENTRY(_start)
SECTIONS
{
  .text  : {
    *(.init)
    *(.text)
     ___CTOR_LIST__ = .;
     LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)
     *(.ctors)
     LONG(0)
     ___CTOR_END__ = .;
     ___DTOR_LIST__ = .;
     LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2)
     *(.dtors)
     LONG(0)
     ___DTOR_END__ = .;
    *(.fini)
    ;
  }
  .data  : {
    *(.data)
    ;
  }
  .bss  :
  {
    *(.bss)
    *(COMMON)
    ;
  }
  .stab  0  :
  {
    [ .stab ]
  }
  .stabstr  0  :
  {
    [ .stabstr ]
  }
}
