From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10821 invoked by alias); 11 Jan 2002 17:28:56 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10781 invoked from network); 11 Jan 2002 17:28:54 -0000 Received: from unknown (HELO dell-pe2450-3.cambridge.redhat.com) (195.224.55.225) by sources.redhat.com with SMTP; 11 Jan 2002 17:28:54 -0000 Received: from north-pole.nickc.cambridge.redhat.com (host217-35-40-66.in-addr.btopenworld.com [217.35.40.66]) by dell-pe2450-3.cambridge.redhat.com (Postfix) with ESMTP id 14A1B8423C; Fri, 11 Jan 2002 17:28:54 +0000 (GMT) Received: from north-pole.nickc.cambridge.redhat.com.nickc.cambridge.redhat.com (localhost [127.0.0.1]) by north-pole.nickc.cambridge.redhat.com (Postfix) with ESMTP id 49184111F9D; Fri, 11 Jan 2002 17:23:09 +0000 (GMT) To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: Multilib support in gdb.asm tests References: <3C3F05DE.8010007@cygnus.com> From: Nick Clifton Date: Fri, 11 Jan 2002 09:28:00 -0000 In-Reply-To: <3C3F05DE.8010007@cygnus.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-01/txt/msg00297.txt.bz2 Hi Andrew, > > + # FIXME: Invoking the assembler directly is incorrect. > > > Just FYI, this is wrong. These tests apply to targets that do not > have a C compiler so must be able to invoke the assembler directly. How about this alternative wording of the comment: # WARNING: Invoking the assembler directly is problematic. # For targets which support multilibs a compile time switch is used # to select the appropriate multilibs. This switch may not be same # as the switch that the compiler will pass on to the assembler. For # example if big-endian and little-endian multilibs are supported # the compiler options will probably be -mbig-endian and -mlittle-endian # but, for historical reasons, the assembler options are probably -EB # and -EL. # # Since these tests are supposed to be able to be run for targets for # which there is no compiler we cannot just invoke a compiler driver # program (eg 'gcc') to handle this translation for us. For now we # just hard code the endian translation and hope that there are no # others that are needed. Cheers Nick