From 548c8b2ba71f5c93035028a32a596cca37c9b7cf Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 31 Aug 2020 16:30:45 +0930 Subject: PR26495 UBSAN: tc-score.c, tc-score7.c left shift of negative value PR 26495 * config/tc-score.c (s3_apply_fix): Use unsigned variables. * config/tc-score7.c (s7_apply_fix): Likewise. --- gas/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gas/ChangeLog') diff --git a/gas/ChangeLog b/gas/ChangeLog index 791a1f1..0d55433 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,11 @@ 2020-08-31 Alan Modra + PR 26495 + * config/tc-score.c (s3_apply_fix): Use unsigned variables. + * config/tc-score7.c (s7_apply_fix): Likewise. + +2020-08-31 Alan Modra + PR 26480 * config/tc-nios2.c (nios2_parse_reglist): Shift 1UL left. -- cgit v1.1