2002-12-13 Alan Modra <amodra@bigpond.net.au>
+ * config/tc-openrisc.c (ignore_pseudo): Prototype.
+ (md_atof): Remove declaration of atof_ieee.
+ * config/tc-or32.c (parse_operand): Prototype non-BFD too.
+ (md_apply_fix3): Fix bogus >>='s.
+ (md_undefined_symbol): Delete unused var.
* config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype.
(c_to_r, ipush_code, fake_opcode, alias): Likewise.
(fake_opcode): Adjust for pj_opc_int_t change.
static int check_invalid_opcode PARAMS ((unsigned long));
static void encode PARAMS ((const struct machine_opcode *, unsigned long *, signed long, char));
-#ifdef BFD_ASSEMBLER
-static char * parse_operand PARAMS ((char *, expressionS *, int));
-#endif
+static char *parse_operand PARAMS ((char *, expressionS *, int));
/* Set bits in machine opcode according to insn->encoding
description and passed operand. */
}
#else
-char *
+static char *
parse_operand (s, operandp, opt)
char *s;
expressionS *operandp;
break;
case RELOC_WDISP30:
- val = (val >>= 2) + 1;
+ val = (val >> 2) + 1;
buf[0] |= (val >> 24) & 0x3f;
buf[1] = (val >> 16);
buf[2] = val >> 8;
break;
case RELOC_WDISP22:
- val = (val >>= 2) + 1;
+ val = (val >> 2) + 1;
/* FALLTHROUGH */
case RELOC_BASE22:
buf[1] |= (val >> 16) & 0x3f;
/* Register name. */
if (name[0] == 'r' || name[0] == 'R' || name[0] == 'a' || name[0] == 'b')
{
- long maxreg;
-
/* Parse the number, make sure it has no extra zeroes or
trailing chars. */
regnum = atol (& name[1]);