This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [4/8] Implement the ldopen() family of routines for cross collect2s
Richard Sandiford <richards@transitive.com> writes:
> gcc/
> * Makefile.in (COLLECT2_OBJS): Add collect2-aix.o.
> (collect2.o): Depend on collect2-aix.h.
> (collect2-aix.o): New rule.
> * collect2-aix.h: New file.
> * collect2-aix.c: Likewise.
> * collect2.c: Include collect-aix.h. Don't undefine OBJECT_FORMAT_COFF
> if CROSS_AIX_SUPPORT is defined. Guard native includes with
> #ifndef CROSS_DIRECTORY_STRUCTURE. Use TARGET_AIX_VERSION
> instead of _AIX51.
> * config/rs6000/aix43.h (TARGET_AIX_VERSION): Define.
> * config/rs6000/aix51.h (TARGET_AIX_VERSION): Likewise.
> * config/rs6000/aix52.h (TARGET_AIX_VERSION): Likewise.
> * config/rs6000/aix53.h (TARGET_AIX_VERSION): Likewise.
> * config/rs6000/aix61.h (TARGET_AIX_VERSION): Likewise.
Entry for collect2.c should say collect2-aix.h.
This is OK. Nice work.
Thanks.
Ian