mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 14:59:31 +08:00
* config/tc-sh.c (md_assemble): For branches, check & update
valid_arch here.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2003-07-30 J"orn Rennecke <joern.rennecke@superh.com>
|
||||||
|
|
||||||
|
* config/tc-sh.c (md_assemble): For branches, check & update
|
||||||
|
valid_arch here.
|
||||||
|
|
||||||
2003-07-30 Jason Eckhardt <jle@rice.edu>
|
2003-07-30 Jason Eckhardt <jle@rice.edu>
|
||||||
|
|
||||||
* config/tc-i860.c: Convert to ISO C90.
|
* config/tc-i860.c: Convert to ISO C90.
|
||||||
|
@ -2383,6 +2383,12 @@ md_assemble (str)
|
|||||||
if (opcode->arg[0] == A_BDISP12
|
if (opcode->arg[0] == A_BDISP12
|
||||||
|| opcode->arg[0] == A_BDISP8)
|
|| opcode->arg[0] == A_BDISP8)
|
||||||
{
|
{
|
||||||
|
/* Since we skip get_specific here, we have to check & update
|
||||||
|
valid_arch now. */
|
||||||
|
if (valid_arch & opcode->arch)
|
||||||
|
valid_arch &= opcode->arch;
|
||||||
|
else
|
||||||
|
as_bad (_("Delayed branches not available on SH1"));
|
||||||
parse_exp (op_end + 1, &operand[0]);
|
parse_exp (op_end + 1, &operand[0]);
|
||||||
build_relax (opcode, &operand[0]);
|
build_relax (opcode, &operand[0]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user