home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / binutils-2.7-src.tgz / tar.out / fsf / binutils / ld / scripttempl / i960.sc < prev    next >
Text File  |  1996-09-28  |  421b  |  26 lines

  1. cat <<EOF
  2. SECTIONS
  3.     .text : 
  4.     { 
  5.     ${GLD_STYLE+ CREATE_OBJECT_SYMBOLS}
  6.     *(.text) 
  7.     ${RELOCATING+ _etext = .};
  8.     ${CONSTRUCTING+${COFF_CTORS}}
  9.     }  
  10.     .data SIZEOF(.text) + ADDR(.text):
  11.     { 
  12.      *(.data) 
  13.     ${CONSTRUCTING+CONSTRUCTORS}
  14.     ${RELOCATING+ _edata = .};
  15.     }  
  16.     .bss SIZEOF(.data) + ADDR(.data):
  17.     { 
  18.     ${RELOCATING+ _bss_start = .};
  19.     *(.bss)     
  20.     *(COMMON) 
  21.     ${RELOCATING+ _end = .};
  22.     } 
  23. EOF
  24.