mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
* config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
in order to avoid a compile time warning. (getprocreg_image): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2011-04-11 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
|
||||||
|
in order to avoid a compile time warning.
|
||||||
|
(getprocreg_image): Likewise.
|
||||||
|
|
||||||
2011-04-11 Alan Modra <amodra@gmail.com>
|
2011-04-11 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* config/tc-cr16.c (getprocreg_image): Correct range check.
|
* config/tc-cr16.c (getprocreg_image): Correct range check.
|
||||||
|
@ -1664,7 +1664,7 @@ getidxregp_image (reg r)
|
|||||||
If the register is illegal for the current instruction,
|
If the register is illegal for the current instruction,
|
||||||
issue an error. */
|
issue an error. */
|
||||||
static int
|
static int
|
||||||
getprocreg_image (reg r)
|
getprocreg_image (int r)
|
||||||
{
|
{
|
||||||
const reg_entry *rreg;
|
const reg_entry *rreg;
|
||||||
char *reg_name;
|
char *reg_name;
|
||||||
@ -1702,7 +1702,7 @@ getprocreg_image (reg r)
|
|||||||
If the register is illegal for the current instruction,
|
If the register is illegal for the current instruction,
|
||||||
issue an error. */
|
issue an error. */
|
||||||
static int
|
static int
|
||||||
getprocregp_image (reg r)
|
getprocregp_image (int r)
|
||||||
{
|
{
|
||||||
const reg_entry *rreg;
|
const reg_entry *rreg;
|
||||||
char *reg_name;
|
char *reg_name;
|
||||||
|
Reference in New Issue
Block a user