This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: PPC XCOFF gas 2.11.2 will not parse gcc2.95.2 .stabx ___CTOR_LIST__


On 2002-01-10 14:33:37 -0500, David Edelsohn wrote:
> 
> 	gcc-2.95 does not support AIX 5L.  Neither GNU as nor AIX as will
> accept that line, but GCC probably is only generating that line because it
> is confused by the configuration.
> 
> 	The AIX assembler and linker are recommended for use with GCC.
> Using GNU ld will not change collect2's behavior of pulling in all objects
> because it has to assume that symbols may be garbage collected before it
> finds constructors and destructors.
> 
> 	GCC 3.0 in CVS, which eventually will be released as GCC 3.0.4,
> should work with AIX 5L, if an AIX assembler patch is installed.
> 
> David

Thanks for the info. I was about to send you email after seeing your entry
in the gcc faq-o-matic.

Can -bnogc be used to avoid this behavior in collect2?

I'll peek at the 3.0 source and see how it marks ctors for gas on AIX.

-Len


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