mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-24 01:51:54 +08:00
Fix thinko in previous change.
This commit is contained in:
@ -925,7 +925,7 @@ md_apply_fix (fixP, val)
|
|||||||
md_number_to_chars (dest, (valueT) val, 4);
|
md_number_to_chars (dest, (valueT) val, 4);
|
||||||
break;
|
break;
|
||||||
case R_MPPCR:
|
case R_MPPCR:
|
||||||
overflow = (val < 0) ? !(val & 0x8000) : (val & 0x8000);
|
overflow = (val < -65536) || (val > 65532);
|
||||||
if (overflow)
|
if (overflow)
|
||||||
{
|
{
|
||||||
as_bad_where (fixP -> fx_file, fixP -> fx_line, "PC relative target out of range");
|
as_bad_where (fixP -> fx_file, fixP -> fx_line, "PC relative target out of range");
|
||||||
|
Reference in New Issue
Block a user