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
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Richard Sandiford <richards at transitive dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 2 Jun 2009 09:04:56 -0400
- Subject: Re: [4/8] Implement the ldopen() family of routines for cross collect2s
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.
Okay.
Thanks, David