aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ia64.h2
-rw-r--r--gas/config/tc-ppc.h2
-rw-r--r--gas/config/tc-tic54x.h2
-rw-r--r--gas/expr.c2
5 files changed, 9 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a202bb1..d75371e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h
index a0b1a35..fc58726 100644
--- a/gas/config/tc-ia64.h
+++ b/gas/config/tc-ia64.h
@@ -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)
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h
index c2876bf..d2cd1b8 100644
--- a/gas/config/tc-ppc.h
+++ b/gas/config/tc-ppc.h
@@ -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)
diff --git a/gas/config/tc-tic54x.h b/gas/config/tc-tic54x.h
index 9e7e4aa..f239fc9 100644
--- a/gas/config/tc-tic54x.h
+++ b/gas/config/tc-tic54x.h
@@ -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));
diff --git a/gas/expr.c b/gas/expr.c
index 8ddc965..1fa5f7e 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -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;