diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-06-18 20:59:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-06-18 20:59:24 +0000 |
commit | 99dcc4dc6501c726df79173fa254faebc68a486d (patch) | |
tree | 7b6f02f91d68dbd0e7627569a616a75bd72a5ae4 /gdb/solib-svr4.c | |
parent | 4bd2c0c31ccea3032031648e7497bb7d1c04cc39 (diff) | |
download | fsf-binutils-gdb-99dcc4dc6501c726df79173fa254faebc68a486d.zip fsf-binutils-gdb-99dcc4dc6501c726df79173fa254faebc68a486d.tar.gz fsf-binutils-gdb-99dcc4dc6501c726df79173fa254faebc68a486d.tar.bz2 |
sim: bfin: handle odd shift values with shift insns
The shift magnitude is a 5-bit signed value. When it is between 0 and
15, then we do the requested shift, but when it is outside of that, we
have to do the opposite.
That means we flip between lshift and ashiftrt to match the hardware.
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gdb/solib-svr4.c')
0 files changed, 0 insertions, 0 deletions