mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 12:22:20 +08:00
* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
or bsr/bs.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2003-07-22 Alexandre Oliva <aoliva@redhat.com>
|
2003-07-22 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
|
||||||
|
or bsr/bs.
|
||||||
|
|
||||||
* config/tc-h8300.c (md_assemble): Make sure characters after
|
* config/tc-h8300.c (md_assemble): Make sure characters after
|
||||||
slash and dot are lower-case.
|
slash and dot are lower-case.
|
||||||
|
|
||||||
|
@ -1197,9 +1197,11 @@ get_specific (instruction, operands, size)
|
|||||||
}
|
}
|
||||||
else if (op_mode == PCREL && op_mode == x_mode)
|
else if (op_mode == PCREL && op_mode == x_mode)
|
||||||
{
|
{
|
||||||
/* movsd only comes in PCREL16 flavour:
|
/* movsd, bsr/bc and bsr/bs only come in PCREL16 flavour:
|
||||||
If x_size is L_8, promote it. */
|
If x_size is L_8, promote it. */
|
||||||
if (OP_KIND (this_try->opcode->how) == O_MOVSD)
|
if (OP_KIND (this_try->opcode->how) == O_MOVSD
|
||||||
|
|| OP_KIND (this_try->opcode->how) == O_BSRBC
|
||||||
|
|| OP_KIND (this_try->opcode->how) == O_BSRBS)
|
||||||
if (x_size == L_8)
|
if (x_size == L_8)
|
||||||
x_size = L_16;
|
x_size = L_16;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user