This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: COLLECT_EXPORT_LIST


On Sat, Mar 10, 2001 at 02:00:35PM -0800, Geoff Keating wrote:
> "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.

Oh, so that's why it's #ifndef CROSS_COMPILE.

Would it be appropriate to move it to rs6000/aix.h, then?

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]