This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: COLLECT_EXPORT_LIST
- To: Geoff Keating <geoffk at geoffk dot org>
- Subject: Re: COLLECT_EXPORT_LIST
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Sun, 11 Mar 2001 16:01:28 -0500
- cc: "Zack Weinberg" <zackw at Stanford dot EDU>, gcc at gcc dot gnu dot org
COLLECT_EXPORT_LIST no longer protects code that only is
associated with export list issues specific to the AIX linker.
It serves basically three functions: working around AIX linkers
agressive garbage collection (which GNU ld targeted at AIX currently does
not have), protecting the AIX init/fini processing (which the new GNU ld
support now does have), and choosing AIX XCOFF processing of object files.
The #ifndef CROSS_COMPILE is no longer entirely correct.
At the time this infrastructure in collect2 was developed, the
macro TARGET_AIX was not defined in the configuration. It probably is the
right macro to use now.
David