prev_insn = the_insn;
strncpy (prev_str, str, 10);
- if (prev_insn.reloc = R_HPPA_NONE)
+ if (prev_insn.reloc == R_HPPA_NONE)
{
prev_fix = NULL;
}
struct pa_opcode *insn;
char *argsStart;
unsigned long opcode;
- unsigned int mask;
int match = FALSE;
int comma = 0;
-
- int reg, reg1, reg2, s2, s3;
+ int reg, s2, s3;
unsigned int im21, im14, im11, im5;
int m, a, uu, f;
int cmpltr, nullif, flag;
int sfu, cond;
char *name;
- char *p, *save_s;
+ char *save_s;
#ifdef PA_DEBUG
fprintf (stderr, "STATEMENT: \"%s\"\n", str);
/* (unsigned value for the break instruction) */
getExpression (s);
im5 = evaluateAbsolute (the_insn.exp, the_insn.field_selector);
- if (im5 > 31 || im5 < 0)
+ if (im5 > 31)
{
as_bad ("Operand out of range. Was: %d. Should be [0..31]. Assuming %d.\n", im5, im5 & 0x1f);
im5 = im5 & 0x1f;
/* (unsigned value for the ssm and rsm instruction) */
getExpression (s);
im5 = evaluateAbsolute (the_insn.exp, the_insn.field_selector);
- if (im5 > 31 || im5 < 0)
+ if (im5 > 31)
{
as_bad ("Operand out of range. Was: %d. Should be [0..31]. Assuming %d.\n", im5, im5 & 0x1f);
im5 = im5 & 0x1f;
/* (unsigned bit position value for the bb instruction) */
getExpression (s);
im5 = evaluateAbsolute (the_insn.exp, the_insn.field_selector);
- if (im5 > 31 || im5 < 0)
+ if (im5 > 31)
{
as_bad ("Operand out of range. Was: %d. Should be [0..31]. Assuming %d.\n", im5, im5 & 0x1f);
im5 = im5 & 0x1f;
case 'v': /* a 't' type extended to handle L/R register halves. */
{
struct pa_89_fp_reg_struct result;
- int status;
pa_89_parse_number (&s, &result);
if (result.number_part < 32 && result.number_part >= 0)
case 'E': /* a 'b' type extended to handle L/R register halves. */
{
struct pa_89_fp_reg_struct result;
- int status;
pa_89_parse_number (&s, &result);
if (result.number_part < 32 && result.number_part >= 0)
case 'X': /* an 'x' type extended to handle L/R register halves. */
{
struct pa_89_fp_reg_struct result;
- int status;
-
pa_89_parse_number (&s, &result);
if (result.number_part < 32 && result.number_part >= 0)
}
break;
}
- error:
+
if (match == FALSE)
{
/* Args don't match. */
else if (frag1P == frag2P)
return (TRUE);
else if (frag2P->fr_type == rs_fill && frag2P->fr_fix == 0)
- is_same_frag (frag1P, frag2P->fr_next);
+ return (is_same_frag (frag1P, frag2P->fr_next));
else
return (FALSE);
}
register char c;
register char *p;
register int temp;
- register symbolS *symbolP;
if (!within_procedure)
as_bad (".callinfo is not within a procedure definition");
void
pa_comm ()
{
- register char *p;
- register int size, i;
+ register int size;
register symbolS *symbolP;
register label_symbolS *label_symbolP = pa_get_label ();
{
register char *name;
register char c;
- register char *p;
- register int temp;
- register symbolS *symbolP;
SKIP_WHITESPACE ();
if (*input_line_pointer == '\"')
register char *name;
register char c;
register char *p;
- register int temp;
- register int regno;
register symbolS *symbolP;
name = input_line_pointer;
register char c;
register char *p;
register symbolS *symbolP;
- register expressionS resultP; /* Deliver result here. */
name = input_line_pointer;
c = get_symbol_end ();
char *name;
char c;
char *p;
- int temp;
- int regno;
symbolS *symbolP;
name = input_line_pointer;
{
register char *name;
register char c;
- register char *p;
register int temp;
- register symbolS *symbolP;
register space_dict_chainS *sd_chain;
char space_name[40];
{
register char *name;
register char c;
- register char *p;
register int temp;
- register symbolS *symbolP;
-
char loadable, code_only, common, dup_common, zero;
char sort;
- int number;
int i;
int access;
int space_index;
int alignment;
int quadrant;
- int subseg;
space_dict_chainS *space;
subspace_dict_chainS *ssd;
- subspace_dict_chainS *ssdCh;
char *ss_name;
int is_power_of_2 ();