This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: AIX collect2
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: AIX collect2
- From: Tom Rix <trix at redhat dot com>
- Date: Thu, 18 Oct 2001 16:57:15 -0500
- CC: gcc-patches at gcc dot gnu dot org
- References: <200110180513.BAA09278@makai.watson.ibm.com>
Wouldn't that break g++ on default builds?
A better approach would be to disable it if gcc was configured
--without-gnu-ld.
>From my tests, this emitted symbol did not confuse the native linker. I
suppose (did not test) since this symbol is unused in the relocation table
the native linker could garbage collect it away.
Tom.
David Edelsohn wrote:
> Can the __rtinit symbol needed by GNU ld be limited to the case
> when GCC is configured with --with-gnu-ld? It looks like the patch emits
> this symbol even with the native AIX linker which does not require
> collect2 to provide the definition.
>
> Thanks, David
--
Tom Rix
GCC Engineer
trix@redhat.com
256.704.9201