Subversion Repositories Kolibri OS

Rev

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

  1.  
  2. OUTPUT_FORMAT(pei-i386)
  3.  
  4. SECTIONS
  5. {
  6.  
  7.   . = SIZEOF_HEADERS;
  8.   . = ALIGN(__section_alignment__);
  9.  
  10.   .text  __image_base__ + . :
  11.   {
  12.          *(.text)
  13.          *(SORT(.text$*))
  14.          *(.text.*)
  15.          *(.gnu.linkonce.t.*)
  16.          *(.glue_7t)
  17.          *(.glue_7)
  18.          ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
  19.                         LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*));  LONG (0);
  20.          ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
  21.                         LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*));  LONG (0);
  22.          *(.fini)
  23.  
  24.          . = ALIGN(16) ;
  25.          ___crt_xc_start__ = . ;
  26.          *(SORT(.CRT$XC*))  /* C initialization */
  27.          ___crt_xc_end__ = . ;
  28.          ___crt_xi_start__ = . ;
  29.          *(SORT(.CRT$XI*))  /* C++ initialization */
  30.          ___crt_xi_end__ = . ;
  31.          ___crt_xl_start__ = . ;
  32.          *(SORT(.CRT$XL*))  /* TLS callbacks */
  33.     /* ___crt_xl_end__ is defined in the TLS Directory support code */
  34.          ___crt_xp_start__ = . ;
  35.          *(SORT(.CRT$XP*))  /* Pre-termination */
  36.          ___crt_xp_end__ = . ;
  37.          ___crt_xt_start__ = . ;
  38.          *(SORT(.CRT$XT*))  /* Termination */
  39.          ___crt_xt_end__ = . ;
  40.  
  41.          . = ALIGN(16) ;
  42.  
  43.          *(.rdata)
  44.          *(SORT(.rdata$*))
  45.          __rt_psrelocs_start = .;
  46.          *(.rdata_runtime_pseudo_reloc)
  47.          __rt_psrelocs_end = .;
  48.   }
  49.   __rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;
  50.   ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
  51.   __RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
  52.   ___RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size;
  53.   __RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size;
  54.  
  55.   .data ALIGN(__section_alignment__):
  56.   {
  57.      PROVIDE ( __data_start__ = .) ;
  58.      *(.data)
  59.      *(.data2)
  60.      *(SORT(.data$*))
  61.      *(.jcr)
  62.      __CRT_MT = .;
  63.      LONG(0);
  64.      PROVIDE ( __data_end__ = .) ;
  65.      *(.data_cygwin_nocopy)
  66.   }
  67.  
  68.   .bss ALIGN(__section_alignment__):
  69.   {
  70.     __bss_start__ = . ;
  71.     *(.bss)
  72.     *(COMMON)
  73.     __bss_end__ = . ;
  74.   }
  75.  
  76.   .edata ALIGN(__section_alignment__):
  77.   {
  78.     *(.edata)
  79.   }
  80.  
  81.   /DISCARD/ :
  82.   {
  83.     *(.debug$S)
  84.     *(.debug$T)
  85.     *(.debug$F)
  86.     *(.drectve)
  87.     *(.note.GNU-stack)
  88.     *(.eh_frame)
  89.     *(.comment)
  90.     *(.debug_abbrev)
  91.     *(.debug_info)
  92.     *(.debug_line)
  93.     *(.debug_frame)
  94.     *(.debug_loc)
  95.     *(.debug_pubnames)
  96.     *(.debug_aranges)
  97.     *(.debug_ranges)
  98.   }
  99.  
  100.   .idata ALIGN(__section_alignment__):
  101.   {
  102.     SORT(*)(.idata$2)
  103.     SORT(*)(.idata$3)
  104.     /* These zeroes mark the end of the import list. */
  105.     LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
  106.     SORT(*)(.idata$4)
  107.     SORT(*)(.idata$5)
  108.     SORT(*)(.idata$6)
  109.     SORT(*)(.idata$7)
  110.   }
  111.  
  112.   .reloc ALIGN(__section_alignment__) :
  113.   {
  114.     *(.reloc)
  115.   }
  116.  
  117. }
  118.  
  119.