mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
Fix an internal error in the CSKY assembler when asked to resolve an overlarge constant.
PR 28215 * config/tc-csky.c (md_apply_fix): Correctly handle a fixup that involves an overlarge constant.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2021-08-11 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 28215
|
||||
* config/tc-csky.c (md_apply_fix): Correctly handle a fixup that
|
||||
involves an overlarge constant.
|
||||
|
||||
2021-08-11 Matt Jacobson <mhjacobson@me.com>
|
||||
|
||||
* config/tc-avr.c (enum options): Add option flag.
|
||||
|
@ -5476,7 +5476,8 @@ md_apply_fix (fixS *fixP,
|
||||
else if (fixP->fx_size == 1 && val >= -256 && val <= 255)
|
||||
;
|
||||
else
|
||||
abort ();
|
||||
break;
|
||||
|
||||
md_number_to_chars (buf, val, fixP->fx_size);
|
||||
fixP->fx_done = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user