static bfd_vma unw_rlen = 0;
-static void unw_print_brmask PARAMS ((char *, unsigned char));
-static void unw_print_grmask PARAMS ((char *, unsigned char));
-static void unw_print_frmask PARAMS ((char *, long unsigned int));
-static void unw_print_abreg PARAMS ((char *, unsigned char));
-static void unw_print_xyreg PARAMS ((char *, unsigned char, unsigned char));
+static void unw_print_brmask PARAMS ((char *, unsigned int));
+static void unw_print_grmask PARAMS ((char *, unsigned int));
+static void unw_print_frmask PARAMS ((char *, unsigned int));
+static void unw_print_abreg PARAMS ((char *, unsigned int));
+static void unw_print_xyreg PARAMS ((char *, unsigned int, unsigned int));
static void
unw_print_brmask (cp, mask)
char * cp;
- unsigned char mask;
+ unsigned int mask;
{
char *sep = "";
int i;
static void
unw_print_grmask (cp, mask)
char * cp;
- unsigned char mask;
+ unsigned int mask;
{
char *sep = "";
int i;
static void
unw_print_frmask (cp, mask)
char * cp;
- unsigned long mask;
+ unsigned int mask;
{
char *sep = "";
int i;
static void
unw_print_abreg (cp, abreg)
char * cp;
- unsigned char abreg;
+ unsigned int abreg;
{
static const char *special_reg[16] =
{
static void
unw_print_xyreg (cp, x, ytreg)
char * cp;
- unsigned char x;
- unsigned char ytreg;
+ unsigned int x;
+ unsigned int ytreg;
{
switch ((x << 1) | ((ytreg >> 7) & 1))
{
static unw_word unw_decode_uleb128 PARAMS ((const unsigned char **));
static const unsigned char *unw_decode_x1 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_x2 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_x3 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_x4 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_r1 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_r2 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_r3 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_p1 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_p2_p5 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_p6 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_p7_p10 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_b1 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_b2 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static const unsigned char *unw_decode_b3_x4 PARAMS ((const unsigned char *,
- unsigned char, void *));
+ unsigned int, void *));
static unw_word
unw_decode_uleb128 (dpp)
static const unsigned char *
unw_decode_x1 (dp, code, arg)
const unsigned char * dp;
- unsigned char code ATTRIBUTE_UNUSED;
+ unsigned int code ATTRIBUTE_UNUSED;
void * arg ATTRIBUTE_UNUSED;
{
unsigned char byte1, abreg;
static const unsigned char *
unw_decode_x2 (dp, code, arg)
const unsigned char * dp;
- unsigned char code ATTRIBUTE_UNUSED;
+ unsigned int code ATTRIBUTE_UNUSED;
void * arg ATTRIBUTE_UNUSED;
{
unsigned char byte1, byte2, abreg, x, ytreg;
static const unsigned char *
unw_decode_x3 (dp, code, arg)
const unsigned char * dp;
- unsigned char code ATTRIBUTE_UNUSED;
+ unsigned int code ATTRIBUTE_UNUSED;
void * arg ATTRIBUTE_UNUSED;
{
unsigned char byte1, byte2, abreg, qp;
static const unsigned char *
unw_decode_x4 (dp, code, arg)
const unsigned char * dp;
- unsigned char code ATTRIBUTE_UNUSED;
+ unsigned int code ATTRIBUTE_UNUSED;
void * arg ATTRIBUTE_UNUSED;
{
unsigned char byte1, byte2, byte3, qp, abreg, x, ytreg;
static const unsigned char *
unw_decode_r1 (dp, code, arg)
const unsigned char *dp;
- unsigned char code;
+ unsigned int code;
void *arg;
{
int body = (code & 0x20) != 0;
static const unsigned char *
unw_decode_r2 (dp, code, arg)
const unsigned char *dp;
- unsigned char code;
+ unsigned int code;
void *arg;
{
unsigned char byte1, mask, grsave;
static const unsigned char *
unw_decode_r3 (dp, code, arg)
const unsigned char *dp;
- unsigned char code;
+ unsigned int code;
void *arg;
{
unw_word rlen;
static const unsigned char *
unw_decode_p1 (dp, code, arg)
const unsigned char * dp;
- unsigned char code;
+ unsigned int code;
void * arg ATTRIBUTE_UNUSED;
{
unsigned char brmask = (code & 0x1f);
static const unsigned char *
unw_decode_p2_p5 (dp, code, arg)
const unsigned char * dp;
- unsigned char code;
+ unsigned int code;
void * arg ATTRIBUTE_UNUSED;
{
if ((code & 0x10) == 0)
static const unsigned char *
unw_decode_p6 (dp, code, arg)
const unsigned char * dp;
- unsigned char code;
+ unsigned int code;
void * arg ATTRIBUTE_UNUSED;
{
int gregs = (code & 0x10) != 0;
static const unsigned char *
unw_decode_p7_p10 (dp, code, arg)
const unsigned char *dp;
- unsigned char code;
+ unsigned int code;
void *arg;
{
unsigned char r, byte1, byte2;
static const unsigned char *
unw_decode_b1 (dp, code, arg)
const unsigned char * dp;
- unsigned char code;
+ unsigned int code;
void * arg ATTRIBUTE_UNUSED;
{
unw_word label = (code & 0x1f);
static const unsigned char *
unw_decode_b2 (dp, code, arg)
const unsigned char * dp;
- unsigned char code;
+ unsigned int code;
void * arg ATTRIBUTE_UNUSED;
{
unw_word t;
static const unsigned char *
unw_decode_b3_x4 (dp, code, arg)
const unsigned char *dp;
- unsigned char code;
+ unsigned int code;
void *arg;
{
unw_word t, ecount, label;