From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 964 invoked by alias); 2 Jun 2009 14:28:56 -0000 Received: (qmail 952 invoked by uid 22791); 2 Jun 2009 14:28:55 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Jun 2009 14:28:49 +0000 Received: from zps36.corp.google.com (zps36.corp.google.com [172.25.146.36]) by smtp-out.google.com with ESMTP id n52ESkGb017841 for ; Tue, 2 Jun 2009 07:28:46 -0700 Received: from qyk38 (qyk38.prod.google.com [10.241.83.166]) by zps36.corp.google.com with ESMTP id n52ESSUb025652 for ; Tue, 2 Jun 2009 07:28:45 -0700 Received: by qyk38 with SMTP id 38so11297337qyk.9 for ; Tue, 02 Jun 2009 07:28:44 -0700 (PDT) Received: by 10.224.54.67 with SMTP id p3mr6932565qag.101.1243952924681; Tue, 02 Jun 2009 07:28:44 -0700 (PDT) Received: from localhost.localdomain.google.com ([67.218.105.233]) by mx.google.com with ESMTPS id 2sm116159qwi.43.2009.06.02.07.28.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Jun 2009 07:28:43 -0700 (PDT) To: gcc-patches@gcc.gnu.org Cc: richards@transitive.com Subject: Re: [4/8] Implement the ldopen() family of routines for cross collect2s References: From: Ian Lance Taylor Date: Tue, 02 Jun 2009 14:28:00 -0000 In-Reply-To: (Richard Sandiford's message of "Tue\, 02 Jun 2009 13\:19\:41 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00172.txt.bz2 Richard Sandiford 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