home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / src / binutils.2 / ld / m88kbcs.sc- < prev    next >
Encoding:
Text File  |  1993-05-30  |  1002 b   |  42 lines

  1. cat <<EOF
  2. TARGET(m88kbcs)
  3. OUTPUT_FORMAT(m88kbcs)
  4. OUTPUT_ARCH(${arch})
  5. ENTRY(__start)
  6. ${RELOCATING+${LIB_SEARCH_DIRS}}
  7.  
  8. SECTIONS                 
  9. {                     
  10.   .text ${RELOCATING+ 0x10000 + SIZEOF_HEADERS} :
  11.     {
  12.       CREATE_OBJECT_SYMBOLS
  13.       ${RELOCATING+ __.text.start = .};
  14.       ${RELOCATING+ __.init.start = .};
  15.       ${RELOCATING+ LONG(0xf400c001)}
  16.       ${RELOCATING+ __.init.end = .};
  17.       *(.text)                 
  18.       ${RELOCATING+ __.tdesc_start = .};
  19.       ${RELOCATING+ *(.tdesc)}
  20.       ${RELOCATING+ __.text_end = .}    ;
  21.       ${RELOCATING+ __.initp.start = .};
  22.       ${RELOCATING+ __.initp.end =.};
  23.  
  24.       ${RELOCATING+_etext =.};
  25.     }                      
  26.   .data ${RELOCATING+ SIZEOF(.text) + ADDR(.text) + 0x400000} :
  27.     {                     
  28.       *(.data)
  29.       ${CONSTRUCTING+CONSTRUCTORS}
  30.       *(.comment)
  31.       ${RELOCATING+_edata  =  .};
  32.     }                      
  33.   .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
  34.     {         
  35.       *(.bss)    
  36.       *(COMMON)     
  37.       ${RELOCATING+ _end = .};
  38.       ${RELOCATING+ __end = .};
  39.     }                     
  40. }
  41. EOF
  42.