This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PPC XCOFF gas 2.11.2 will not parse gcc2.95.2 .stabx ___CTOR_LIST__
- From: Len_Lattanzi at StanfordAlumni dot org
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 10 Jan 2002 11:48:21 -0800
- Subject: Re: PPC XCOFF gas 2.11.2 will not parse gcc2.95.2 .stabx ___CTOR_LIST__
- References: <20011219080258.GA749@mss.migration.com> <200201101933.OAA27688@makai.watson.ibm.com>
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