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 /sim/cris | |
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 'sim/cris')
0 files changed, 0 insertions, 0 deletions