home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / src / binutils.2 / ld / sh.sc- < prev    next >
Encoding:
Text File  |  1993-05-30  |  518 b   |  40 lines

  1. cat <<EOF
  2. OUTPUT_FORMAT("${OUTPUT_FORMAT}")
  3. OUTPUT_ARCH(${ARCH})
  4.  
  5. MEMORY {
  6.     ram   : o = 0x1000, l = 512k
  7.     }
  8.  
  9. SECTIONS                 
  10. {                     
  11. .text :
  12.     {                     
  13.       *(.text)                 
  14.       *(.strings)
  15.         ${RELOCATING+ _etext = . ; }
  16.     } ${RELOCATING+ > ram}
  17. .data  :
  18.     {
  19.     *(.data)
  20.     ${RELOCATING+ _edata = . ; }
  21.     } ${RELOCATING+ > ram}
  22. .bss  :
  23.     {
  24.     ${RELOCATING+ _bss_start = . ;}
  25.     *(.bss)
  26.     *(COMMON)
  27.     ${RELOCATING+ _end = . ;  }
  28.     } ${RELOCATING+ >ram}
  29. .stack : 
  30.     {
  31.     ${RELOCATING+ _stack = . ; }
  32.     *(.stack)
  33.     } ${RELOCATING+ > ram}
  34. }
  35. EOF
  36.  
  37.  
  38.  
  39.  
  40.