mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
* cris-tdep.c (cris_get_signed_offset): Change return type to an
explicitly signed char.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2001-09-19 Andrew Cagney <ac131313@redhat.com>
|
2001-09-19 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* cris-tdep.c (cris_get_signed_offset): Change return type to an
|
||||||
|
explicitly signed char.
|
||||||
|
|
||||||
* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
|
* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
|
||||||
function signature to match recent tracepoint.c:encode_actions
|
function signature to match recent tracepoint.c:encode_actions
|
||||||
changes.
|
changes.
|
||||||
|
@ -352,10 +352,10 @@ cris_set_size_to_dword (unsigned short *insn)
|
|||||||
*insn |= 0x20;
|
*insn |= 0x20;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char
|
static signed char
|
||||||
cris_get_signed_offset (unsigned short insn)
|
cris_get_signed_offset (unsigned short insn)
|
||||||
{
|
{
|
||||||
return ((char) (insn & 0x00FF));
|
return ((signed char) (insn & 0x00FF));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Calls an op function given the op-type, working on the insn and the
|
/* Calls an op function given the op-type, working on the insn and the
|
||||||
|
Reference in New Issue
Block a user