From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24465 invoked by alias); 19 Nov 2004 12:15:45 -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 24430 invoked from network); 19 Nov 2004 12:15:37 -0000 Received: from unknown (HELO gizmo06bw.bigpond.com) (144.140.70.41) by sourceware.org with SMTP; 19 Nov 2004 12:15:37 -0000 Received: (qmail 23955 invoked from network); 19 Nov 2004 12:15:36 -0000 Received: from unknown (HELO bwmam12.bigpond.com) (144.135.24.103) by gizmo06bw.bigpond.com with SMTP; 19 Nov 2004 12:15:36 -0000 Received: from cpe-144-136-221-26.sa.bigpond.net.au ([144.136.221.26]) by bwmam12.bigpond.com(MAM REL_3_4_2a 189/11246761) with SMTP id 11246761; Fri, 19 Nov 2004 22:15:36 +1000 Received: by bubble.modra.org (Postfix, from userid 500) id BD66913EA08; Fri, 19 Nov 2004 22:45:35 +1030 Date: Fri, 19 Nov 2004 12:15:00 -0000 From: Alan Modra To: binutils@sources.redhat.com, cgen@sources.redhat.com Cc: Nick Clifton Subject: iq2000 warning fix Message-ID: <20041119121535.GB7749@bubble.modra.org> Mail-Followup-To: binutils@sources.redhat.com, cgen@sources.redhat.com, Nick Clifton Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-q4/txt/msg00012.txt.bz2 This is an obvious patch to fix a warning, and of course needs applying to the /src/cpu/ dir as well. It seems like /src/cpu/ is now supposed to be the master, but I see the /src/cgen/cpu/ "copy" differs quite a bit.. What's the story? * cpu/iq2000.opc (parse_jtargq10): Change type of valuep to bfd_vma *. Index: cgen/cpu/iq2000.opc =================================================================== RCS file: /cvs/src/src/cgen/cpu/iq2000.opc,v retrieving revision 1.2 diff -u -p -r1.2 iq2000.opc --- cgen/cpu/iq2000.opc 14 Apr 2004 21:29:33 -0000 1.2 +++ cgen/cpu/iq2000.opc 19 Nov 2004 11:03:23 -0000 @@ -39,7 +39,7 @@ extern int iq2000_cgen_insn_supported (C #include "safe-ctype.h" static int iq2000_cgen_isa_register PARAMS ((const char **)); -static const char * parse_jtargq10 PARAMS ((CGEN_CPU_DESC, const char **, int, int, enum cgen_parse_operand_result *, unsigned long *)); +static const char * parse_jtargq10 PARAMS ((CGEN_CPU_DESC, const char **, int, int, enum cgen_parse_operand_result *, bfd_vma *)); static const char * parse_mimm PARAMS ((CGEN_CPU_DESC, const char **, int, long *)); static const char * parse_imm PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *)); static const char * parse_hi16 PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *)); @@ -156,7 +156,7 @@ parse_jtargq10 (cd, strp, opindex, reloc int opindex; int reloc ATTRIBUTE_UNUSED; enum cgen_parse_operand_result *type_addr ATTRIBUTE_UNUSED; - unsigned long *valuep; + bfd_vma *valuep; { const char *errmsg; bfd_vma value; -- Alan Modra IBM OzLabs - Linux Technology Centre