From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10324 invoked by alias); 9 Jan 2003 03:37:18 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 10316 invoked from network); 9 Jan 2003 03:37:17 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by 209.249.29.67 with SMTP; 9 Jan 2003 03:37:17 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h0939KB03660 for ; Wed, 8 Jan 2003 22:09:20 -0500 Received: from hypatia.brisbane.redhat.com (IDENT:root@hypatia.brisbane.redhat.com [172.16.5.3]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h093b4a31634 for ; Wed, 8 Jan 2003 22:37:05 -0500 Received: from scooby.brisbane.redhat.com (scooby.brisbane.redhat.com [172.16.5.228]) by hypatia.brisbane.redhat.com (8.11.6/8.11.6) with ESMTP id h093b2w15347 for ; Thu, 9 Jan 2003 13:37:03 +1000 Received: by scooby.brisbane.redhat.com (Postfix, from userid 500) id A36931BE0; Wed, 8 Jan 2003 22:37:01 -0500 (EST) To: cgen@sources.redhat.com Subject: [RFA] opc-asmdis.c patch From: Ben Elliston Date: Thu, 09 Jan 2003 03:37:00 -0000 Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q1/txt/msg00005.txt.bz2 One more latent patch. Okay to commit? Ben 2003-01-09 Graydon Hoare * opc-asmdis.scm (-gen-init-asm-fn): Add CGEN_ASM_INIT_HOOK, since asm-init-code hook isn't terribly easy to use from .opc file. Index: opc-asmdis.scm =================================================================== RCS file: /cvs/src/src/cgen/opc-asmdis.scm,v retrieving revision 1.3 diff -u -p -r1.3 opc-asmdis.scm --- opc-asmdis.scm 25 Nov 2001 23:18:15 -0000 1.3 +++ opc-asmdis.scm 9 Jan 2003 03:35:01 -0000 @@ -72,6 +72,9 @@ void @arch@_cgen_init_ibld_table (cd); cd->parse_handlers = & @arch@_cgen_parse_handlers[0]; cd->parse_operand = @arch@_cgen_parse_operand; +#ifdef CGEN_ASM_INIT_HOOK +CGEN_ASM_INIT_HOOK +#endif " -asm-init-code "}\n\n"