Skip to content

Commit

Permalink
* expr.c (operand): Pass &c to md_parse_name().
Browse files Browse the repository at this point in the history
* config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
  • Loading branch information
Alexandre Oliva committed Apr 12, 2001
1 parent 24f89b6 commit a8a22e3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions gas/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2001-04-12 Alexandre Oliva <[email protected]>

* 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 <[email protected]>

* config/tc-mips.c: Support ELF64 for traditional MIPS targets.
Expand Down
2 changes: 1 addition & 1 deletion gas/config/tc-ia64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion gas/config/tc-ppc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion gas/config/tc-tic54x.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion gas/expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a8a22e3

Please sign in to comment.