Subversion Repositories Kolibri OS

Rev

Rev 6536 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. OUTPUT_FORMAT(pei-i386)
  2.  
  3. ENTRY("_libc_crt_startup")
  4.  
  5. SECTIONS
  6. {
  7.  
  8.   . = SIZEOF_HEADERS;
  9.   . = ALIGN(__section_alignment__);
  10.  
  11.   .text  __image_base__ + . :
  12.   {
  13.     *(.text)
  14.     *(SORT(.text$*))
  15.     *(.text.*)
  16.      *(.gnu.linkonce.t.*)
  17.         *(.glue_7t)
  18.         *(.glue_7)
  19.         ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
  20.                         LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*));  LONG (0);
  21.         ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
  22.                         LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*));  LONG (0);
  23.         *(.fini)
  24.     *(.rdata)
  25.     *(SORT(.rdata$*))
  26.     __rt_psrelocs_start = .;
  27.     *(.rdata_runtime_pseudo_reloc)
  28.     __rt_psrelocs_end = .;
  29.     __rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;
  30.     ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
  31.     __RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
  32.     ___RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size;
  33.     __RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size;
  34.   }
  35.  
  36.   .data ALIGN(__section_alignment__):
  37.   {
  38.      PROVIDE ( __data_start__ = .) ;
  39.     *(.data)
  40.         *(.data2)
  41.         *(SORT(.data$*))
  42.         *(.jcr)
  43.      __CRT_MT = .;
  44.      LONG(0);
  45.        PROVIDE ( __data_end__ = .) ;
  46.         *(.data_cygwin_nocopy)
  47.   }
  48.  
  49.   .bss ALIGN(__section_alignment__):
  50.   {
  51.     __bss_start__ = . ;
  52.     *(.bss)
  53.     *(COMMON)
  54.     __bss_end__ = . ;
  55.   }
  56.  
  57.   .edata ALIGN(__section_alignment__):
  58.   {
  59.     *(.edata)
  60.   }
  61.  
  62.   /DISCARD/ :
  63.   {
  64.     *(.debug$S)
  65.     *(.debug$T)
  66.     *(.debug$F)
  67.     *(.drectve)
  68.     *(.note.GNU-stack)
  69.     *(.eh_frame)
  70.     *(.comment)
  71.     *(.debug_abbrev)
  72.     *(.debug_info)
  73.     *(.debug_line)
  74.     *(.debug_frame)
  75.     *(.debug_loc)
  76.     *(.debug_pubnames)
  77.     *(.debug_aranges)
  78.     *(.debug_ranges)
  79.   }
  80.  
  81.   .reloc ALIGN(__section_alignment__) :
  82.   {
  83.     *(.reloc)
  84.   }
  85.  
  86. }
  87.  
  88.