From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12181 invoked by alias); 28 Apr 2003 04:24:32 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 12174 invoked from network); 28 Apr 2003 04:24:32 -0000 Received: from unknown (HELO rwcrmhc53.attbi.com) (204.127.198.39) by sources.redhat.com with SMTP; 28 Apr 2003 04:24:32 -0000 Received: from lucon.org (12-234-88-5.client.attbi.com[12.234.88.5]) by rwcrmhc53.attbi.com (rwcrmhc53) with ESMTP id <20030428042431053001alk5e>; Mon, 28 Apr 2003 04:24:31 +0000 Received: by lucon.org (Postfix, from userid 1000) id 694E82C681; Sun, 27 Apr 2003 21:24:31 -0700 (PDT) Date: Mon, 28 Apr 2003 04:24:00 -0000 From: "H. J. Lu" To: Nick Clifton , binutils@sources.redhat.com Subject: Re: ppc-gas: Add '+' and '-' to symbol chars list Message-ID: <20030427212431.A21730@lucon.org> References: <20030427234406.GD933@bubble.sa.bigpond.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030427234406.GD933@bubble.sa.bigpond.net.au>; from amodra@bigpond.net.au on Mon, Apr 28, 2003 at 09:14:06AM +0930 X-SW-Source: 2003-04/txt/msg00571.txt.bz2 On Mon, Apr 28, 2003 at 09:14:06AM +0930, Alan Modra wrote: > On Thu, Apr 24, 2003 at 11:19:18AM +0100, Nick Clifton wrote: > > The recent patches to app.c have broken GAS for the PPC. This is > > It has also broken hppa. :-( > This seems to work for me. H.J. --- 2003-04-27 H.J. Lu * config/tc-hppa.c (hppa_symbol_chars): New. * config/tc-hppa.h (tc_symbol_chars): Likewise. --- gas/config/tc-hppa.c.symbol 2003-01-23 09:20:47.000000000 -0800 +++ gas/config/tc-hppa.c 2003-04-27 21:19:53.000000000 -0700 @@ -622,6 +622,9 @@ static struct call_desc last_call_desc; /* handle of the OPCODE hash table */ static struct hash_control *op_hash = NULL; +/* Those characters can be suffixes of opcode names. */ +const char hppa_symbol_chars[] = ",*!?=<>"; + /* Table of pseudo ops for the PA. FIXME -- how many of these are now redundant with the overall GAS and the object file dependent tables? */ --- gas/config/tc-hppa.h.symbol 2003-02-27 11:27:09.000000000 -0800 +++ gas/config/tc-hppa.h 2003-04-27 21:10:43.000000000 -0700 @@ -106,6 +106,9 @@ extern void pa_check_eof PARAMS ((void)) #define tc_frob_label(sym) pa_define_label (sym) +extern const char hppa_symbol_chars[]; +#define tc_symbol_chars hppa_symbol_chars + /* The PA does not need support for either of these. */ #define tc_crawl_symbol_chain(headers) {;} #define tc_headers_hook(headers) {;}