home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 186 / DPCS0803.ISO / Café / Dev-C++ / devcpp4980.exe / $INSTDIR / mingw32 / lib / ldscripts / i386pe.xr < prev    next >
Encoding:
Text File  |  2003-05-15  |  1.3 KB  |  80 lines

  1. /* Script for ld -r: link without relocation */
  2. OUTPUT_FORMAT(pe-i386)
  3. SEARCH_DIR("/mingw/mingw32/lib"); SEARCH_DIR("/mingw/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
  4. ENTRY(_mainCRTStartup)
  5. SECTIONS
  6. {
  7.   .text  :
  8.   {
  9.     *(.text)
  10.     *(.glue_7t)
  11.     *(.glue_7)
  12.     /* ??? Why is .gcc_exc here?  */
  13.     *(.gcc_except_table)
  14.   }
  15.   /* The Cygwin32 library uses a section to avoid copying certain data
  16.      on fork.  This used to be named ".data".  The linker used
  17.      to include this between __data_start__ and __data_end__, but that
  18.      breaks building the cygwin32 dll.  Instead, we name the section
  19.      ".data_cygwin_nocopy" and explictly include it after __data_end__. */
  20.   .data  :
  21.   {
  22.     *(.data)
  23.     *(.data2)
  24.   }
  25.   .rdata  :
  26.   {
  27.     *(.rdata)
  28.     *(.eh_frame)
  29.     *(.rdata_runtime_pseudo_reloc)
  30.   }
  31.   .pdata  :
  32.   {
  33.     *(.pdata)
  34.   }
  35.   .bss  :
  36.   {
  37.     *(.bss)
  38.     *(COMMON)
  39.   }
  40.   .edata  :
  41.   {
  42.     *(.edata)
  43.   }
  44.   /DISCARD/ :
  45.   {
  46.     *(.debug$S)
  47.     *(.debug$T)
  48.     *(.debug$F)
  49.     *(.drectve)
  50.   }
  51.   .idata  :
  52.   {
  53.     /* This cannot currently be handled with grouped sections.
  54.     See pe.em:sort_sections.  */
  55.   }
  56.   .CRT  :
  57.   {
  58.   }
  59.   .endjunk  :
  60.   {
  61.     /* end is deprecated, don't use it */
  62.   }
  63.   .rsrc  :
  64.   {
  65.     *(.rsrc)
  66.   }
  67.   .reloc  :
  68.   {
  69.     *(.reloc)
  70.   }
  71.   .stab   :
  72.   {
  73.     [ .stab ]
  74.   }
  75.   .stabstr   :
  76.   {
  77.     [ .stabstr ]
  78.   }
  79. }
  80.