diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-02-11 10:13:07 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-02-11 10:13:07 +0000 |
commit | 16a48f83f6c37a7004c6586951df9522ada96400 (patch) | |
tree | 4ae5c122babeab27f7bcf29068184db53e6c790b /gas/config/tc-ia64.h | |
parent | a911c10a55b9aef026f3793505fc10540a8f3d62 (diff) | |
download | gdb-16a48f83f6c37a7004c6586951df9522ada96400.zip gdb-16a48f83f6c37a7004c6586951df9522ada96400.tar.gz gdb-16a48f83f6c37a7004c6586951df9522ada96400.tar.bz2 |
gas/
2005-02-11 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
(LEX_QM): Likewise.
(ia64_parse_name): New third parameter.
(md_parse_name): Pass third argument.
* config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
(md_operand): Handling of '@'-prefixed symbols moved from here...
(ia64_parse_name): ...to here.
Diffstat (limited to 'gas/config/tc-ia64.h')
-rw-r--r-- | gas/config/tc-ia64.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h index f626c46..3d2f1a0 100644 --- a/gas/config/tc-ia64.h +++ b/gas/config/tc-ia64.h @@ -74,8 +74,8 @@ extern const char *ia64_target_format PARAMS ((void)); #define NEED_INDEX_OPERATOR /* [ ] is index operator */ #define QUOTES_IN_INSN /* allow `string "foo;bar"' */ -#define LEX_AT LEX_NAME /* allow `@' inside name */ -#define LEX_QM LEX_NAME /* allow `?' inside name */ +#define LEX_AT (LEX_NAME|LEX_BEGIN_NAME) /* allow `@' inside name */ +#define LEX_QM (LEX_NAME|LEX_BEGIN_NAME) /* allow `?' inside name */ #define LEX_HASH LEX_END_NAME /* allow `#' ending a name */ #define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) 0 @@ -94,7 +94,7 @@ extern void ia64_frob_label PARAMS((struct symbol *sym)); extern int ia64_frob_symbol PARAMS((struct symbol *sym)); #endif extern void ia64_flush_pending_output PARAMS((void)); -extern int ia64_parse_name (char *name, expressionS *e); +extern int ia64_parse_name PARAMS((char *name, expressionS *e, char *nextP)); extern int ia64_optimize_expr PARAMS((expressionS *l, operatorT op, expressionS *r)); extern void ia64_cons_align PARAMS((int)); @@ -125,7 +125,7 @@ extern void ia64_convert_frag (fragS *); #define tc_frob_symbol(s,p) p |= ia64_frob_symbol (s) #endif /* TE_HPUX */ #define md_flush_pending_output() ia64_flush_pending_output () -#define md_parse_name(s,e,c) ia64_parse_name (s, e) +#define md_parse_name(s,e,c) ia64_parse_name (s, e, c) #define tc_canonicalize_symbol_name(s) ia64_canonicalize_symbol_name (s) #define tc_canonicalize_section_name(s) ia64_canonicalize_symbol_name (s) #define md_optimize_expr(l,o,r) ia64_optimize_expr (l, o, r) |