OUTPUT_FORMAT("elf32-spu", "elf32-spu", "elf32-spu")
OUTPUT_ARCH(spu)
ENTRY(main)

SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
SECTIONS
{
	PROVIDE( kernel_service = 0x80 );

  .text 0x00000080: { *(.text) }

  .text :
  {
    *(.text .stub .text.* .gnu.linkonce.t.*)
    /* .gnu.warning sections are handled specially by elf32.em.  */
    *(.gnu.warning)
  } =0
 
   .rodata	: 
  { 
	  *(.rodata .rodata.* .gnu.linkonce.r.*) 
  }
  
  /* Adjust the address for the data segment.  We want to adjust up to
     the same address within the page on the next page up.  */
  . = ALIGN(0x80);

  .data 	: 
  { 
	  *(.data .data.* .gnu.linkonce.r.*) 
  }
  
  .bss		:
  {
   *(.dynbss)
   *(.bss .bss.* .gnu.linkonce.b.*)
   *(COMMON)
   . = ALIGN(16);
  }
  
  . = ALIGN(16);
  _end = .;

  /DISCARD/ : { *(.note.GNU-stack) }
}
