BUG in 'ld': a proof

ian@cygnus.com ian@cygnus.com
Wed Jul 16 14:37:00 GMT 1997


>You can see that between the idata and the next section, the stab section,
>there is a gap of 16K, but the idata section makes only for 3584 bytes,
>i.e. only one page (4096) bytes.

Sure, you just need to put 

.rsrc : { *(.rsrc) }

in the appropriate place in the linker script.  You can see the
default linker script by running ld --verbose.  To fix it without
using a new linker script, edit ld/scripttempl/pe.sc, and rebuild the
linker.

Ian
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list