GCC4 status.

Charles Wilson cygwin@cwilson.fastmail.fm
Thu Feb 26 05:36:00 GMT 2009


Danny Smith wrote:
> Charles Wilson
>> It's already on by default. The variable
>> link_info.pei386_auto_import
>> is currently initialized to -1, which means "Do it, but complain".
>>
>> The only thing changing that initialization to "1" would do, 
>> would be to
>> stop complaining.
> 
> It also merges *all* .rdata variables into .data section. That's the pessimization.

But

(a) implicitly enabled auto-import (-1) *doesn't* merge .rdata into
.data?  That seems...unwise.  I thought that the only way to keep .rdata
separate and non-writable was to --disable-auto-import.

(b) However, I also thought with Kai's runtime-pseudo-reloc-v2 changes,
at least, it is no longer necessary for fixuped references to be in a
writable page, so they can stay in .rdata? True/False?  ('Course, even
if true, this requires --enable-runtime-psuedo-relocs-v2 because only
-v1 is now the default for 32bit pe. And cygwin's runtime .o's don't yet
support -v2).

--
Chuck



More information about the Cygwin-apps mailing list