This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: COLLECT_EXPORT_LIST
"Zack Weinberg" <zackw@Stanford.EDU> writes:
> On Sat, Mar 10, 2001 at 01:27:31AM -0500, David Edelsohn wrote:
> > COLLECT_EXPORT_LIST seems to have been defined in AIX host
> > configuration files, but it currently is used as a target macro in
> > collect2.c.
>
> Given that it describes the behavior of the host linker, I think host
> configuration is the proper place. xm-rs6000.h isn't, though. We
> want a rs6000/xm-aix.h; the only thing I'm not sure of is whether any
> of the other rs6000 hosts need the same treatment. Most of them are
> getting it, now.
I'm quite sure it's a target-linker macro. Consider building a cross-compiler
on an AIX system to some harmless ELF embedded target. collect2 should behave
in just the same way as it would on a non-AIX system.
--
- Geoffrey Keating <geoffk@geoffk.org>