This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem compiling ia64-gen.c with current tree


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],

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]