Subversion Repositories Kolibri OS

Rev

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

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