oops - omitted from previous delta

This commit is contained in:
Nick Clifton 2013-04-04 07:24:08 +00:00
parent 4bd05f2493
commit 86d27af662
1 changed files with 5 additions and 0 deletions

View File

@ -3459,6 +3459,11 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
else
insn = bfd_getl16 ((unsigned char *) where);
/* When inserting loop offets a backwards displacement
is encoded as a positive value. */
if (operand->flags & V850_INVERSE_PCREL)
value = - value;
insn = v850_insert_operand (insn, operand, (offsetT) value,
&errmsg);
if (errmsg)