+2001-12-17 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * cgen.c: Add prototype for queue_fixup.
+ (gas_cgen_parse_operand): Move initilisastion of errmsg to avoid
+ possible longjmp corruption.
+ * cgen.h: Add prototype for gas_cgen_md_operand.
+
2001-12-15 Alan Modra <amodra@bigpond.net.au>
* config/obj-elf.c (obj_elf_init_stab_section): References are
#include "cgen.h"
#include "dwarf2dbg.h"
+static void queue_fixup PARAMS ((int, int, expressionS *));
+
/* Opcode table descriptor, must be set by md_begin. */
CGEN_CPU_DESC gas_cgen_cpu_desc;
static char *hold;
static enum cgen_parse_operand_result *resultP_1;
#endif
- const char *errmsg = NULL;
+ const char *errmsg;
expressionS exp;
if (want == CGEN_PARSE_OPERAND_INIT)
expr_jmp_buf_p = 1;
expression (&exp);
expr_jmp_buf_p = 0;
+ errmsg = NULL;
*strP = input_line_pointer;
input_line_pointer = hold;
const CGEN_OPERAND *, int,
expressionS *));
+extern void gas_cgen_md_operand PARAMS ((expressionS *));
+
#endif /* GAS_CGEN_H */