Fix v850 .offset pseudo-op
* config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix and frag_more.
This commit is contained in:
parent
afbcd36fc1
commit
825487fa2d
2 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-09-26 Jim Wilson <wilson@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
|
||||||
|
and frag_more.
|
||||||
|
|
||||||
2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
* config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
|
* config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
|
||||||
|
|
|
@ -193,12 +193,12 @@ static void
|
||||||
v850_offset (ignore)
|
v850_offset (ignore)
|
||||||
int ignore ATTRIBUTE_UNUSED;
|
int ignore ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
|
char *pfrag;
|
||||||
int temp = get_absolute_expression ();
|
int temp = get_absolute_expression ();
|
||||||
|
|
||||||
temp -= frag_now_fix ();
|
pfrag = frag_var (rs_org, 1, 1, (relax_substateT)0, (symbolS *)0,
|
||||||
|
(offsetT) temp, (char *) 0);
|
||||||
if (temp > 0)
|
*pfrag = 0;
|
||||||
(void) frag_more (temp);
|
|
||||||
|
|
||||||
demand_empty_rest_of_line ();
|
demand_empty_rest_of_line ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue