Subversion Repositories Kolibri OS

Rev

Rev 928 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1.  
  2. ENTRY(__start)
  3.  
  4. OUTPUT_FORMAT(pei-i386)
  5.  
  6. SECTIONS
  7. {
  8.  
  9.   . = SIZEOF_HEADERS;
  10.   . = ALIGN(32);
  11.  
  12.   .boot . + __image_base__ :
  13.   {
  14.      *(.boot)
  15.      *(.start)
  16.      . = ALIGN(4096);
  17.   }
  18.  
  19.   .text . + 0xDFC00000:
  20.   {
  21.      *(.text) *(.rdata)
  22.      . = ALIGN(4096);
  23.   }
  24.  
  25.   .flat . + 0x00400000:
  26.   {
  27.      *(.flat)  *(.data)
  28.      . = ALIGN(4096);
  29.   }
  30.  
  31.   .edata :
  32.   {
  33.     *(.edata)
  34.     _code_end = .;
  35.     . = ALIGN(16);
  36.   }
  37.  
  38.   __edata = . - 0xE0000000;
  39.  
  40.   .bss  ALIGN(4096) :
  41.   {
  42.     *(.bss) *(COMMON)
  43.   }
  44.   __kernel_end = . - 0xE0000000;
  45.  
  46.  
  47.  
  48.   /DISCARD/ :
  49.   {
  50.     *(.debug$S)
  51.     *(.debug$T)
  52.     *(.debug$F)
  53.     *(.drectve)
  54.     *(.reloc)
  55.   }
  56. }
  57.  
  58.  
  59.