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: 64bit: cygstdc++-6.dll


On Apr 15 12:10, Peter Rosin wrote:
> On 2013-04-15 11:48, Corinna Vinschen wrote:
> > On 32 bit, the .xa script is used, but has no influence, apparently.
> > On 64 bit, the .x script is used, even with --enable-auto-import.
> > Both versions work as expected:
> > 
> >   $ ./x
> >   optind: 1,0x611821e4
> > 
> >   $ ./x
> >   optind: 1,0x1801c37bc
> > 
> > To me this means, we should not use the .xa file on 32 bit either.
> > It moves all .rdata data to the .data section for no good reason,
> > thus adding unnecessary pressure to the pagefile.
> > 
> > Does that make sense or did I miss something?
> 
> IIRC it was more problematic with complex data structures and needing
> more than one relocation for a "single lookup". Like importing a const
> that is used as offset in an imported const array, or something like
> that. Or, I'm completely off base and that was a totally different
> problem, sorry for the noise in that case.

I don't know about that, but given Yaakov's finding that mingw can live
without the .xa file for auto-import and v2 pseudo-relocs, and given
that x86_64 can do so, too, I don't see why this should be different for
Cygwin.  Everything points to an old requirement when using v1
pseudo-relocs here.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 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]