This is the mail archive of the cygwin 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: gcc4: goodbye const struct problems?


Yaakov (Cygwin/X) wrote:
> With 1.7, gcc4, and the same binutils, I no longer see the const struct
> .rdata issues that we had with some packages with 1.5 and gcc3.  Is that
> to be expected, what changed to cause this to occur, and can I rely on
> this for the future?

See full explanation here:
http://sourceware.org/ml/binutils/2009-02/msg00341.html

short version: we now use the "alternative" linker script (which merges
.rdata into .data unconditionally) by default. Later plan is to
incorporate Kai Teitz's pseudo-reloc v2 support. But in either case, the
const struct stuff should no longer cause any heartburn.

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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