On Apr 15 05:14, Yaakov (Cygwin/X) wrote: > On 2013-04-15 04: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. > > The reason being, on x86_64, .xa is used only if pseudo-reloc v1 is > specified (the default is v2), where on ix86 it is used for all > non-mingw* targets OR on mingw* with v1. > > >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. > > Patch attached.
That looks right to me. We're using v2 as well, so we should also use the .xa file only when generating v1 pseudo-relocs. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat