shl.x revision 1.7
11.7Such/*	$NetBSD: shl.x,v 1.7 2002/04/25 17:02:41 uch Exp $	*/
21.6Such
31.7SuchOUTPUT_FORMAT("elf32-shl-nbsd")
41.1SmarcusOUTPUT_ARCH(sh)
51.6SuchENTRY(start)
61.6Such
71.1SmarcusMEMORY
81.1Smarcus{
91.6Such  ram : o = 0x8c001000, l = 16M
101.1Smarcus}
111.1SmarcusSECTIONS
121.1Smarcus{
131.1Smarcus  .text :
141.1Smarcus  {
151.6Such    ftext = . ;
161.1Smarcus    *(.text)
171.1Smarcus    *(.rodata)
181.1Smarcus    *(.strings)
191.1Smarcus  } > ram
201.6Such  etext = . ;
211.6Such  PROVIDE (etext = .);
221.6Such  . = ALIGN(8);
231.1Smarcus  .data :
241.1Smarcus  {
251.6Such    fdata = . ;
261.6Such    PROVIDE (fdata = .);
271.1Smarcus    *(.data)
281.6Such    CONSTRUCTORS
291.6Such  } > ram
301.6Such  edata = . ;
311.6Such  PROVIDE (edata = .);
321.6Such  . = ALIGN(8);
331.1Smarcus  .bss :
341.1Smarcus  {
351.6Such    fbss = . ;
361.6Such    PROVIDE (fbss = .);
371.1Smarcus    *(.bss)
381.1Smarcus    *(COMMON)
391.6Such  } > ram
401.6Such  . = ALIGN(4);
411.6Such  end = . ;
421.6Such  PROVIDE (end = .);
431.6Such
441.6Such  /* Stabs debugging sections.  */
451.6Such  .stab 0 : { *(.stab) }
461.6Such  .stabstr 0 : { *(.stabstr) }
471.6Such  .stab.excl 0 : { *(.stab.excl) }
481.6Such  .stab.exclstr 0 : { *(.stab.exclstr) }
491.6Such  .stab.index 0 : { *(.stab.index) }
501.6Such  .stab.indexstr 0 : { *(.stab.indexstr) }
511.6Such  .comment 0 : { *(.comment) }
521.6Such  /* DWARF debug sections.
531.6Such     Symbols in the DWARF debugging section are relative to the beginning
541.6Such     of the section so we begin .debug at 0.  */
551.6Such  /* DWARF 1 */
561.6Such  .debug          0 : { *(.debug) }
571.6Such  .line           0 : { *(.line) }
581.6Such  /* GNU DWARF 1 extensions */
591.6Such  .debug_srcinfo  0 : { *(.debug_srcinfo) }
601.6Such  .debug_sfnames  0 : { *(.debug_sfnames) }
611.6Such  /* DWARF 1.1 and DWARF 2 */
621.6Such  .debug_aranges  0 : { *(.debug_aranges) }
631.6Such  .debug_pubnames 0 : { *(.debug_pubnames) }
641.6Such  /* DWARF 2 */
651.6Such  .debug_info     0 : { *(.debug_info) }
661.6Such  .debug_abbrev   0 : { *(.debug_abbrev) }
671.6Such  .debug_line     0 : { *(.debug_line) }
681.6Such  .debug_frame    0 : { *(.debug_frame) }
691.6Such  .debug_str      0 : { *(.debug_str) }
701.6Such  .debug_loc      0 : { *(.debug_loc) }
711.6Such  .debug_macinfo  0 : { *(.debug_macinfo) }
721.6Such  /* SGI/MIPS DWARF 2 extensions */
731.6Such  .debug_weaknames 0 : { *(.debug_weaknames) }
741.6Such  .debug_funcnames 0 : { *(.debug_funcnames) }
751.6Such  .debug_typenames 0 : { *(.debug_typenames) }
761.6Such  .debug_varnames  0 : { *(.debug_varnames) }
771.6Such  /* These must appear regardless of  .  */
781.1Smarcus}
791.6Such
80