shl-elf.x revision 1.7
11.7Suwe/*	$NetBSD: shl-elf.x,v 1.7 2003/04/15 16:29:12 uwe Exp $	*/
21.1Such
31.6SuchOUTPUT_FORMAT("elf32-shl-nbsd")
41.1SuchOUTPUT_ARCH(sh)
51.4SuchENTRY(start)
61.1Such
71.1SuchMEMORY
81.1Such{
91.7Suwe  ram (a) : o = 0x8c001000, l = 16M
101.1Such}
111.1SuchSECTIONS
121.7Suwe
131.1Such{
141.1Such  .text :
151.1Such  {
161.2Such    ftext = . ;
171.1Such    *(.text)
181.1Such    *(.rodata)
191.1Such    *(.strings)
201.7Suwe  }
211.3Slukem  etext = . ;
221.2Such  PROVIDE (etext = .);
231.1Such  . = ALIGN(8);
241.1Such  .data :
251.1Such  {
261.2Such    fdata = . ;
271.2Such    PROVIDE (fdata = .);
281.1Such    *(.data)
291.1Such    CONSTRUCTORS
301.7Suwe  }
311.3Slukem  edata = . ;
321.2Such  PROVIDE (edata = .);
331.1Such  . = ALIGN(8);
341.1Such  .bss :
351.1Such  {
361.2Such    fbss = . ;
371.2Such    PROVIDE (fbss = .);
381.1Such    *(.bss)
391.1Such    *(COMMON)
401.7Suwe  }
411.1Such  . = ALIGN(4);
421.2Such  end = . ;
431.2Such  PROVIDE (end = .);
441.1Such
451.1Such  /* Stabs debugging sections.  */
461.1Such  .stab 0 : { *(.stab) }
471.1Such  .stabstr 0 : { *(.stabstr) }
481.5Such  .stab.excl 0 : { *(.stab.excl) }
491.5Such  .stab.exclstr 0 : { *(.stab.exclstr) }
501.5Such  .stab.index 0 : { *(.stab.index) }
511.5Such  .stab.indexstr 0 : { *(.stab.indexstr) }
521.5Such  .comment 0 : { *(.comment) }
531.5Such  /* DWARF debug sections.
541.5Such     Symbols in the DWARF debugging section are relative to the beginning
551.5Such     of the section so we begin .debug at 0.  */
561.5Such  /* DWARF 1 */
571.5Such  .debug          0 : { *(.debug) }
581.5Such  .line           0 : { *(.line) }
591.5Such  /* GNU DWARF 1 extensions */
601.5Such  .debug_srcinfo  0 : { *(.debug_srcinfo) }
611.5Such  .debug_sfnames  0 : { *(.debug_sfnames) }
621.5Such  /* DWARF 1.1 and DWARF 2 */
631.5Such  .debug_aranges  0 : { *(.debug_aranges) }
641.5Such  .debug_pubnames 0 : { *(.debug_pubnames) }
651.5Such  /* DWARF 2 */
661.5Such  .debug_info     0 : { *(.debug_info) }
671.5Such  .debug_abbrev   0 : { *(.debug_abbrev) }
681.5Such  .debug_line     0 : { *(.debug_line) }
691.5Such  .debug_frame    0 : { *(.debug_frame) }
701.5Such  .debug_str      0 : { *(.debug_str) }
711.5Such  .debug_loc      0 : { *(.debug_loc) }
721.5Such  .debug_macinfo  0 : { *(.debug_macinfo) }
731.5Such  /* SGI/MIPS DWARF 2 extensions */
741.5Such  .debug_weaknames 0 : { *(.debug_weaknames) }
751.5Such  .debug_funcnames 0 : { *(.debug_funcnames) }
761.5Such  .debug_typenames 0 : { *(.debug_typenames) }
771.5Such  .debug_varnames  0 : { *(.debug_varnames) }
781.5Such  /* These must appear regardless of  .  */
791.1Such}
801.1Such
81