diff options
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-csky.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index dd19f3e..098353a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/tc-csky.c b/gas/config/tc-csky.c index 35a7252..e0133c3 100644 --- a/gas/config/tc-csky.c +++ b/gas/config/tc-csky.c @@ -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; } |