[PATCH]: Fix typo in new gas v850 code

Nick Clifton nickc@redhat.com
Sun May 22 10:14:00 GMT 2005


Hi Guys,

  My recent fix for the v850 assembler contained a silly typo.  I am
  applying the patch below to fix this.

Cheers
  Nick

gas/ChangeLog
2005-05-22  Nick Clifton  <nickc@redhat.com>

	* config/tc-v850.c (md_apply_fix3): Pass the address of the
	message buffer when invoking the insert function.

Index: gas/config/tc-v850.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-v850.c,v
retrieving revision 1.47
diff -c -3 -p -r1.47 tc-v850.c
*** gas/config/tc-v850.c        18 May 2005 09:42:13 -0000      1.47
--- gas/config/tc-v850.c        22 May 2005 05:52:54 -0000
*************** md_apply_fix3 (fixS *fixP, valueT *value
*** 2341,2347 ****
  
          /* Use the operand's insertion procedure, if present, in order to
             make sure that the value is correctly stored in the insn.  */
!         insn = operand->insert (insn, (offsetT) value, message);
          /* Ignore message even if it is set.  */
  
          bfd_putl32 ((bfd_vma) insn, (unsigned char *) where);
--- 2341,2347 ----
  
          /* Use the operand's insertion procedure, if present, in order to
             make sure that the value is correctly stored in the insn.  */
!         insn = operand->insert (insn, (offsetT) value, & message);
          /* Ignore message even if it is set.  */
  
          bfd_putl32 ((bfd_vma) insn, (unsigned char *) where);




More information about the Binutils mailing list