mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
2003-07-09 Michael Snyder <msnyder@redhat.com>
* sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error.
This commit is contained in:
parent
402ecd5618
commit
32f63c4bff
@ -1,3 +1,7 @@
|
|||||||
|
2003-07-09 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
|
* sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error.
|
||||||
|
|
||||||
2003-07-09 Mark Kettenis <kettenis@gnu.org>
|
2003-07-09 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM,
|
* x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM,
|
||||||
|
@ -4285,7 +4285,7 @@ sh_dsp_register_sim_regno (int nr)
|
|||||||
{
|
{
|
||||||
if (legacy_register_sim_regno (nr) < 0)
|
if (legacy_register_sim_regno (nr) < 0)
|
||||||
return legacy_register_sim_regno (nr);
|
return legacy_register_sim_regno (nr);
|
||||||
if (nr >= DSP_DSR_REGNUM && nr < DSP_Y1_REGNUM)
|
if (nr >= DSP_DSR_REGNUM && nr <= DSP_Y1_REGNUM)
|
||||||
return nr - DSP_DSR_REGNUM + SIM_SH_DSR_REGNUM;
|
return nr - DSP_DSR_REGNUM + SIM_SH_DSR_REGNUM;
|
||||||
if (nr == DSP_MOD_REGNUM)
|
if (nr == DSP_MOD_REGNUM)
|
||||||
return SIM_SH_MOD_REGNUM;
|
return SIM_SH_MOD_REGNUM;
|
||||||
|
Loading…
Reference in New Issue
Block a user