diff options
author | John Darrington <john@darrington.wattle.id.au> | 2019-02-01 17:42:54 +0100 |
---|---|---|
committer | John Darrington <john@darrington.wattle.id.au> | 2019-02-01 18:08:06 +0100 |
commit | 91bae99160e9d81cfe340b937f9613d43dc90293 (patch) | |
tree | ea4ee1c0eb6208868c56ddf82965fdfbcf1a0887 /gas/ChangeLog | |
parent | 1d4d86699fcc9641c1f4dfb3a44a1588353c2137 (diff) | |
download | gdb-91bae99160e9d81cfe340b937f9613d43dc90293.zip gdb-91bae99160e9d81cfe340b937f9613d43dc90293.tar.gz gdb-91bae99160e9d81cfe340b937f9613d43dc90293.tar.bz2 |
S12Z: GAS: Fix incorrect range test for 16-bit PC relative offsets.
The limits for PC relative offsets were incorrect. This change fixes
them and adds some tests.
gas/
* config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
* testsuite/gas/s12z/pc-rel-bad.d: New file.
* testsuite/gas/s12z/pc-rel-bad.l: New file.
* testsuite/gas/s12z/pc-rel-bad.s: New file.
* testsuite/gas/s12z/pc-rel-good.d: New file.
* testsuite/gas/s12z/pc-rel-good.s: New file.
* testsuite/gas/s12z/s12z.exp: Add them.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e168d72..a02430d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,15 @@ 2019-01-31 John Darrington <john@darrington.wattle.id.au> + * config/tc-s12z.c (md_apply_fix): Fix incorrect limits. + * testsuite/gas/s12z/pc-rel-bad.d: New file. + * testsuite/gas/s12z/pc-rel-bad.l: New file. + * testsuite/gas/s12z/pc-rel-bad.s: New file. + * testsuite/gas/s12z/pc-rel-good.d: New file. + * testsuite/gas/s12z/pc-rel-good.s: New file. + * testsuite/gas/s12z/s12z.exp: Add them. + +2019-01-31 John Darrington <john@darrington.wattle.id.au> + * config/tc-s12z.c (tfr): Emit warning if operands are the same. * testsuite/gas/s12z/exg.d: New test case. * testsuite/gas/s12z/exg.l: New file. |