diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/bfin-lex.l | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index b7cc8cb..bcc56ca 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ 2020-09-02 Alan Modra <amodra@gmail.com> + * config/bfin-lex.l: Use an unsigned type for "value". + +2020-09-02 Alan Modra <amodra@gmail.com> + * config/tc-pdp11.c (md_number_to_chars): Condition nbytes=8 code on BFD64. diff --git a/gas/config/bfin-lex.l b/gas/config/bfin-lex.l index 6837f0d..d31ecc6 100644 --- a/gas/config/bfin-lex.l +++ b/gas/config/bfin-lex.l @@ -344,7 +344,7 @@ static long parse_int (char **end) int not_done = 1; int shiftvalue = 0; char * char_bag; - long value = 0; + unsigned long value = 0; char *arg = *end; while (*arg && *arg == ' ') |