Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1.  
  2. OUTPUT_FORMAT(pei-i386)
  3.  
  4. ENTRY("_crt_startup")
  5.  
  6. SECTIONS
  7. {
  8.  
  9.   . = SIZEOF_HEADERS;
  10.   . = ALIGN(__section_alignment__);
  11.  
  12.   .text  __image_base__ + . :
  13.   {
  14.     *(.text) *(.rdata)
  15.     . = ALIGN(16);
  16.     ___RUNTIME_PSEUDO_RELOC_LIST__ = .;
  17.     __RUNTIME_PSEUDO_RELOC_LIST__ = .;
  18.     *(.rdata_runtime_pseudo_reloc)
  19.     ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
  20.     __RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
  21.     __pei386_runtime_relocator = .;
  22.   }
  23.  
  24.   .data ALIGN(__section_alignment__):
  25.   {
  26.      PROVIDE ( __data_start__ = .) ;
  27.     *(.data)
  28.         *(.data2)
  29.         *(SORT(.data$*))
  30.         *(.jcr)
  31.        PROVIDE ( __data_end__ = .) ;
  32.         *(.data_cygwin_nocopy)
  33.   }
  34.  
  35.   .bss ALIGN(__section_alignment__):
  36.   {
  37.     *(.bss)
  38.     *(COMMON)
  39.   }
  40.  
  41.   .edata ALIGN(__section_alignment__):
  42.   {
  43.     *(.edata)
  44.   }
  45.  
  46.   /DISCARD/ :
  47.   {
  48.     *(.debug$S)
  49.     *(.debug$T)
  50.     *(.debug$F)
  51.     *(.drectve)
  52.     *(.note.GNU-stack)
  53.     *(.comment)
  54.     *(.debug_abbrev)
  55.     *(.debug_info)
  56.     *(.debug_line)
  57.     *(.debug_frame)
  58.     *(.debug_loc)
  59.     *(.debug_pubnames)
  60.     *(.debug_aranges)
  61.     *(.debug_ranges)
  62.   }
  63.  
  64.   .idata ALIGN(__section_alignment__):
  65.   {
  66.     SORT(*)(.idata$2)
  67.     SORT(*)(.idata$3)
  68.     /* These zeroes mark the end of the import list. */
  69.     LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
  70.     SORT(*)(.idata$4)
  71.     SORT(*)(.idata$5)
  72.     SORT(*)(.idata$6)
  73.     SORT(*)(.idata$7)
  74.   }
  75.  
  76.   .reloc ALIGN(__section_alignment__) :
  77.   {
  78.     *(.reloc)
  79.   }
  80.  
  81. }
  82.  
  83.