* 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.
This commit is contained in:
parent
5354b572b3
commit
717acf4b26
@ -1,5 +1,10 @@
|
||||
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.
|
||||
|
@ -83,6 +83,8 @@ md_show_usage (stream)
|
||||
{
|
||||
}
|
||||
|
||||
static void ignore_pseudo PARAMS ((int));
|
||||
|
||||
static void
|
||||
ignore_pseudo (val)
|
||||
int val ATTRIBUTE_UNUSED;
|
||||
@ -443,7 +445,6 @@ md_atof (type, litP, sizeP)
|
||||
int prec;
|
||||
LITTLENUM_TYPE words [MAX_LITTLENUMS];
|
||||
char * t;
|
||||
char * atof_ieee ();
|
||||
|
||||
switch (type)
|
||||
{
|
||||
|
@ -117,9 +117,7 @@ static unsigned long jalr_r9_opcode;
|
||||
|
||||
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. */
|
||||
@ -352,7 +350,7 @@ parse_operand (s, operandp, opt)
|
||||
}
|
||||
#else
|
||||
|
||||
char *
|
||||
static char *
|
||||
parse_operand (s, operandp, opt)
|
||||
char *s;
|
||||
expressionS *operandp;
|
||||
@ -1087,7 +1085,7 @@ md_apply_fix3 (fixP, valP, seg)
|
||||
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;
|
||||
@ -1111,7 +1109,7 @@ md_apply_fix3 (fixP, valP, seg)
|
||||
break;
|
||||
|
||||
case RELOC_WDISP22:
|
||||
val = (val >>= 2) + 1;
|
||||
val = (val >> 2) + 1;
|
||||
/* FALLTHROUGH */
|
||||
case RELOC_BASE22:
|
||||
buf[1] |= (val >> 16) & 0x3f;
|
||||
@ -1427,8 +1425,6 @@ md_undefined_symbol (name)
|
||||
/* 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]);
|
||||
|
Loading…
Reference in New Issue
Block a user