X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Sat, 28 Apr 2012 21:10:47 -0400 Message-Id: <201204290110.q3T1AlkQ030982@envy.delorie.com> From: DJ Delorie To: Juan Manuel Guerrero CC: djgpp AT delorie DOT com In-reply-to: <201204282247.47841.juan.guerrero@gmx.de> (message from Juan Manuel Guerrero on Sat, 28 Apr 2012 22:47:47 +0200) Subject: Re: DJGPP stub length and the value of COFF file header pointers of executable files. References: <201204282247 DOT 47841 DOT juan DOT guerrero AT gmx DOT de> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Right, all file offsets in the COFF portion of the file are relative to the start of the COFF portion of the file, not the start of the file. We just concatenate the stub and coff file, we don't edit the coff file when we do so.