lcboot.ldscript revision 1.1
11.1SigyOUTPUT_FORMAT("elf32-littlemips")
21.1SigyOUTPUT_ARCH(mips)
31.1SigyENTRY(start)
41.1SigySECTIONS
51.1Sigy{
61.1Sigy  /*  Read-only sections, merged into text segment.  Assumes the
71.1Sigy      kernel Makefile sets the start address via -Ttext.  */
81.1Sigy  . = 0x80000000;
91.1Sigy  .text      :
101.1Sigy  {
111.1Sigy    _ftext = . ;
121.1Sigy    *(.text)
131.1Sigy    *(.gnu.warning)
141.1Sigy  } =0
151.1Sigy  _etext = .;
161.1Sigy  PROVIDE (etext = .);
171.1Sigy  .rodata    : { *(.rodata)  }
181.1Sigy  .data    :
191.1Sigy  {
201.1Sigy    _fdata = . ;
211.1Sigy    *(.data)
221.1Sigy    CONSTRUCTORS
231.1Sigy  }
241.1Sigy  _gp = ALIGN(16);
251.1Sigy  .lit8 : { *(.lit8) }
261.1Sigy  .lit4 : { *(.lit4) }
271.1Sigy  .sdata     : { *(.sdata) }
281.1Sigy  _edata  =  .;
291.1Sigy  PROVIDE (edata = .);
301.1Sigy  __bss_start = .;
311.1Sigy  _fbss = .;
321.1Sigy  .sbss      : { *(.sbss) *(.scommon) }
331.1Sigy  .bss       :
341.1Sigy  {
351.1Sigy   *(.bss)
361.1Sigy   *(COMMON)
371.1Sigy  }
381.1Sigy  _end = . ;
391.1Sigy  PROVIDE (end = .);
401.1Sigy  /* These are needed for ELF backends which have not yet been
411.1Sigy     converted to the new style linker.  */
421.1Sigy  .stab 0 : { *(.stab) }
431.1Sigy  .stabstr 0 : { *(.stabstr) }
441.1Sigy  /* These must appear regardless of  .  */
451.1Sigy  .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
461.1Sigy  .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
471.1Sigy}
48