This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rebase/patch] Support IMAGE_REL_BASED_DIR64 relocations


On Jan 15 20:08, Jason Tishler wrote:
> 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.

Done.  The actual problem Marco is encountering is a binutils problem,
apparently.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]