diff options
author | Sergey Belyashov <sergey.belyashov@gmail.com> | 2021-05-20 16:14:10 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-05-20 16:14:10 +0100 |
commit | 9a01ec4c0368048fb5ea1ba1b3af9afbd651b529 (patch) | |
tree | 03d54f33ce20121595129c3b59e1c9ef7aa0e238 /intl/Makefile.in | |
parent | ed3130b74053766de776a0d29176610c1bbbdc31 (diff) | |
download | gdb-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 'intl/Makefile.in')
0 files changed, 0 insertions, 0 deletions