* expr.c (operand): Pass &c to md_parse_name().

* config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
This commit is contained in:
Alexandre Oliva 2001-04-12 07:03:10 +00:00
parent 24f89b6880
commit a8a22e3365
5 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2001-04-12 Alexandre Oliva <aoliva@redhat.com>
* expr.c (operand): Pass &c to md_parse_name().
* config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
2001-04-07 Steven J. Hill <sjhill@cotw.com>
* config/tc-mips.c: Support ELF64 for traditional MIPS targets.

View File

@ -92,7 +92,7 @@ extern void ia64_handle_align PARAMS ((fragS *f));
#define tc_unrecognized_line(ch) ia64_unrecognized_line (ch)
#define tc_frob_label(s) ia64_frob_label (s)
#define md_flush_pending_output() ia64_flush_pending_output ()
#define md_parse_name(s,e) ia64_parse_name (s, e)
#define md_parse_name(s,e,c) ia64_parse_name (s, e)
#define tc_canonicalize_symbol_name(s) ia64_canonicalize_symbol_name (s)
#define md_optimize_expr(l,o,r) ia64_optimize_expr (l, o, r)
#define md_cons_align(n) ia64_cons_align (n)

View File

@ -268,7 +268,7 @@ extern const char *ppc_comment_chars;
#define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section(FIXP, SEC)
extern long md_pcrel_from_section PARAMS ((struct fix *, segT));
#define md_parse_name(name, exp) ppc_parse_name (name, exp)
#define md_parse_name(name, exp, c) ppc_parse_name (name, exp)
extern int ppc_parse_name PARAMS ((const char *, struct expressionS *));
#define md_operand(x)

View File

@ -88,7 +88,7 @@ extern void tic54x_number_to_chars PARAMS((char *, valueT, int));
extern void tic54x_adjust_symtab PARAMS(());
#define tc_unrecognized_line(ch) tic54x_unrecognized_line(ch)
extern int tic54x_unrecognized_line PARAMS((int ch));
#define md_parse_name(s,e) tic54x_parse_name(s,e)
#define md_parse_name(s,e,c) tic54x_parse_name(s,e)
extern int tic54x_parse_name PARAMS((char *name, expressionS *e));
#define md_undefined_symbol(s) tic54x_undefined_symbol(s)
extern symbolS *tic54x_undefined_symbol PARAMS((char *name));

View File

@ -1231,7 +1231,7 @@ operand (expressionP)
specially in certain contexts. If a name always has a
specific value, it can often be handled by simply
entering it in the symbol table. */
if (md_parse_name (name, expressionP))
if (md_parse_name (name, expressionP, &c))
{
*input_line_pointer = c;
break;