Subversion Repositories Kolibri OS

Rev

Rev 908 | Go to most recent revision | 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.   }
  29.  
  30.   .edata ALIGN(32):
  31.   {
  32.     *(.edata)
  33.     _code_end = .;
  34.     . = ALIGN(16);
  35.   }
  36.  
  37.   __edata = . - 0xE0000000;
  38.  
  39.   .bss  ALIGN(4096) :
  40.   {
  41.     *(.bss) *(COMMON)
  42.   }
  43.   __kernel_end = . - 0xE0000000;
  44.  
  45.  
  46.  
  47.   /DISCARD/ :
  48.   {
  49.     *(.debug$S)
  50.     *(.debug$T)
  51.     *(.debug$F)
  52.     *(.drectve)
  53.     *(.reloc)
  54.   }
  55. }
  56.  
  57.  
  58.