[rebase/patch] Support IMAGE_REL_BASED_DIR64 relocations

Jason Tishler jason@tishler.net
Wed Jan 16 01:09:00 GMT 2013


Corinna,

On Tue, Jan 15, 2013 at 01:37:10PM +0100, Corinna Vinschen wrote:
> While looking into Marco's rebase problem I noticed that 64 bit support
> in rebase was not complete.  64 bit uses IMAGE_REL_BASED_DIR64 relocation
> entries, which were simply ignored since only the 32 bit variation
> IMAGE_REL_BASED_HIGHLOW was supported at all.  Also, it would have been
> impossible to relocate 64 bit DLLs to addresses beyond the 4GB border
> since the offset difference was kept as an int value.  The below patch
> fixes both oversight.
> 
> Ok to apply?

Yes.  Let me know when you are ready and I will make a release.

Thanks,
Jason



More information about the Cygwin-apps mailing list