This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: problem compiling ia64-gen.c with current tree
- From: Nick Clifton <nickc at redhat dot com>
- To: Doug Evans <dje at sebabeach dot org>
- Cc: binutils at sourceware dot org
- Date: Fri, 14 Oct 2005 14:46:27 +0100
- Subject: Re: problem compiling ia64-gen.c with current tree
- References: <20051014123912.C91E97147@sebabeach.org>
Hi Doug,
/home/dje/gnu/src/opcodes/ia64-gen.c:2704: warning: long unsigned int format, different type arg (arg 3)
/home/dje/gnu/src/opcodes/ia64-gen.c:2706: warning: long unsigned int format, different type arg (arg 3)
Does this patch work for you ?
Cheers
Nick
Index: opcodes/ia64-gen.c
===================================================================
RCS file: /cvs/src/src/opcodes/ia64-gen.c,v
retrieving revision 1.16
diff -c -3 -p -r1.16 ia64-gen.c
*** opcodes/ia64-gen.c 7 Jul 2005 19:27:50 -0000 1.16
--- opcodes/ia64-gen.c 14 Oct 2005 13:44:46 -0000
*************** print_main_table (void)
*** 2701,2709 ****
ptr->name->num,
ptr->opcode->type,
ptr->opcode->num_outputs);
! fprintf_vma (stdout, ptr->opcode->opcode);
printf ("ull, 0x");
! fprintf_vma (stdout, ptr->opcode->mask);
printf ("ull, { %d, %d, %d, %d, %d }, 0x%x, %d, },\n",
ptr->opcode->operands[0],
ptr->opcode->operands[1],
--- 2701,2709 ----
ptr->name->num,
ptr->opcode->type,
ptr->opcode->num_outputs);
! fprintf (stdout, "%016ux", ptr->opcode->opcode);
printf ("ull, 0x");
! fprintf (stdout, "%016ux", ptr->opcode->mask);
printf ("ull, { %d, %d, %d, %d, %d }, 0x%x, %d, },\n",
ptr->opcode->operands[0],
ptr->opcode->operands[1],