aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorSergey Belyashov <sergey.belyashov@gmail.com>2021-05-20 16:14:10 +0100
committerNick Clifton <nickc@redhat.com>2021-05-20 16:14:10 +0100
commit9a01ec4c0368048fb5ea1ba1b3af9afbd651b529 (patch)
tree03d54f33ce20121595129c3b59e1c9ef7aa0e238 /gas/ChangeLog
parented3130b74053766de776a0d29176610c1bbbdc31 (diff)
downloadgdb-9a01ec4c0368048fb5ea1ba1b3af9afbd651b529.zip
gdb-9a01ec4c0368048fb5ea1ba1b3af9afbd651b529.tar.gz
gdb-9a01ec4c0368048fb5ea1ba1b3af9afbd651b529.tar.bz2
Fix overflow detection in the Z80 assembler.
* config/tc-z80.c (emit_data_val): Warn on constant overflow. (signed_overflow): New function. (unsigned_overflow): New function. (is_overflow): Use new functions. (md_apply_fix): Use signed_overflow. * testsuite/gas/z80/ez80_adl_suf.d: Fix test. * testsuite/gas/z80/ez80_isuf.s: Likewise. * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 75eb501..b9a59b6 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,14 @@
+2021-05-20 Sergey Belyashov <sergey.belyashov@gmail.com>
+
+ * config/tc-z80.c (emit_data_val): Warn on constant overflow.
+ (signed_overflow): New function.
+ (unsigned_overflow): New function.
+ (is_overflow): Use new functions.
+ (md_apply_fix): Use signed_overflow.
+ * testsuite/gas/z80/ez80_adl_suf.d: Fix test.
+ * testsuite/gas/z80/ez80_isuf.s: Likewise.
+ * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
+
2021-05-20 Nicolas Boulenguez <nicolas@debian.org>
PR 27888