delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/16/18:45:15

From: ian AT cygnus DOT com
Subject: Re: BUG in 'ld': a proof
16 Jul 1997 18:45:15 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199707162137.RAA07735.cygnus.gnu-win32@tweedledumb.cygnus.com>
References: <m0woQY6-000AK2C AT jacob DOT remcomp DOT fr>
Original-To: root AT jacob DOT remcomp DOT fr
Original-CC: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

>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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019