AIX collect2

Tom Rix trix@redhat.com
Thu Oct 18 14:56:00 GMT 2001


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





More information about the Gcc-patches mailing list