home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / src / binutils.2 / ld / scripts / isc-sysv.sc
Encoding:
Text File  |  1993-05-30  |  540 b   |  37 lines

  1. /* 
  2. Script by mohring@informatik.tu-muenchen.de
  3. for ISC SYSV 3.2/386 
  4. */
  5. TARGET("coff-i386")
  6. OUTPUT_FORMAT("coff-i386")
  7. OUTPUT_ARCH(i386)
  8. SEARCH_DIR(/lib)
  9. SEARCH_DIR(/usr/lib)
  10. SEARCH_DIR(/usr/local/lib)
  11. SEARCH_DIR(/usr2/lib)
  12. ENTRY(_start)
  13.  
  14. SECTIONS {
  15.     .text SIZEOF_HEADERS :
  16.         {
  17.         CREATE_OBJECT_SYMBOLS
  18.         *(.init);
  19.         *(.text);
  20.         *(.fini);
  21.         etext = . ;
  22.         }
  23.  
  24.     .data NEXT(0x400000) + (SIZEOF(.text) + ADDR(.text)) % 0x2000:
  25.         {
  26.         *(.data);
  27.         edata = . ;
  28.         }
  29.  
  30.       .bss SIZEOF(.data) + ADDR(.data) :
  31.         { 
  32.         *(.bss);
  33.         [COMMON]
  34.         end = . ;
  35.         }
  36. }
  37.