* config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups

only for V850_OPERAND_DISP operands.
This commit is contained in:
Alan Modra
2003-07-15 04:04:18 +00:00
parent e85ca5bb79
commit ec178e1bbb
2 changed files with 59 additions and 55 deletions

View File

@ -1,3 +1,8 @@
2003-07-15 Alan Modra <amodra@bigpond.net.au>
* config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups
only for V850_OPERAND_DISP operands.
2003-07-15 Alan Modra <amodra@bigpond.net.au>
* frags.c (frag_more): Move segment checks to..

View File

@ -1158,7 +1158,6 @@ md_show_usage (stream)
fprintf (stream, _(" -mv850e The code is targeted at the v850e\n"));
fprintf (stream, _(" -mv850any The code is generic, despite any processor specific instructions\n"));
fprintf (stream, _(" -mrelax Enable relaxation\n"));
}
int
@ -2216,7 +2215,7 @@ md_assemble (str)
fix_new_exp (frag_now,
f - frag_now->fr_literal, 4,
& fixups[i].exp,
1 /* FIXME: V850_OPERAND_RELATIVE ??? */,
(operand->flags & V850_OPERAND_DISP) != 0,
(bfd_reloc_code_real_type) (fixups[i].opindex
+ (int) BFD_RELOC_UNUSED));
}