Mail Archives: cygwin-developers/1998/06/24/13:16:45
   From: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
   Date: Wed, 24 Jun 1998 23:47:11 +0400
   Mumit Khan wrote:
   > A while back Stan Cox I believe had asked why cygwin32 port of gcc doesn't
   > used these sections, and I don't see any followups in the mailing list.
   > Has anybody tried?
   > 
   If objects contains some sections not defined in linker's script, ld generates invalid executable :-(
This can be fixed for particular sections in ld/scripttempl/pe.sc.  It
can be fixed in general in ld/emultempl/pe.em in the function
gld_${EMULATION_NAME}_place_orphan.  That function can arrange for the
section to be properly aligned, or whatever.
Ian
- Raw text -