* config/tc-sh.c (parse_at): Install the correct version of
2002-02-04's patch.
This commit is contained in:
parent
e93c640ed2
commit
6b32719e57
|
@ -1,5 +1,8 @@
|
||||||
2002-02-06 Alexandre Oliva <aoliva@redhat.com>
|
2002-02-06 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-sh.c (parse_at): Install the correct version of
|
||||||
|
2002-02-04's patch.
|
||||||
|
|
||||||
* config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
|
* config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
|
||||||
assume fixP->fx_subsy is non-NULL.
|
assume fixP->fx_subsy is non-NULL.
|
||||||
|
|
||||||
|
|
|
@ -981,15 +981,10 @@ parse_at (src, op)
|
||||||
}
|
}
|
||||||
else if (mode == A_PC)
|
else if (mode == A_PC)
|
||||||
{
|
{
|
||||||
/* Turn a plain @(4,pc) into @(.+4,pc). */
|
op->type = A_DISP_PC_ABS;
|
||||||
if (op->immediate.X_op == O_constant)
|
/* Such operands don't get corrected for PC==.+4, so
|
||||||
{
|
make the correction here. */
|
||||||
op->immediate.X_add_symbol = dot ();
|
op->immediate.X_add_number -= 4;
|
||||||
op->immediate.X_op = O_symbol;
|
|
||||||
op->type = A_DISP_PC;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
op->type = A_DISP_PC_ABS;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue