aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2009-04-20 06:26:23 +0000
committerJan Beulich <jbeulich@novell.com>2009-04-20 06:26:23 +0000
commitfcaed75e5235a983da6edd87da4eadcf27b99fb7 (patch)
tree688dec4b25a842edfd10302a93ce041cee02755d /gas/expr.h
parent383c383f84b11a0ee2acdc67b7d26751839be780 (diff)
downloadgdb-fcaed75e5235a983da6edd87da4eadcf27b99fb7.zip
gdb-fcaed75e5235a983da6edd87da4eadcf27b99fb7.tar.gz
gdb-fcaed75e5235a983da6edd87da4eadcf27b99fb7.tar.bz2
gas/
2009-04-20 Jan Beulich <jbeulich@novell.com> * expr.c (operand): Call md_need_index_operator() and md_operator() if defined. Add unary label. (operator): Call md_operator() if defined. (expr): Adjust assertions on range and rank of op_left and op_right. Don't abort on unhandled operators when reducing expressions with both operands being constant. (expr_set_rank): New. * expr.h (expr_set_rank): Declare.
Diffstat (limited to 'gas/expr.h')
-rw-r--r--gas/expr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/expr.h b/gas/expr.h
index 789decf..2952a12 100644
--- a/gas/expr.h
+++ b/gas/expr.h
@@ -169,6 +169,7 @@ typedef char operator_rankT;
extern char get_symbol_end (void);
extern void expr_begin (void);
extern void expr_set_precedence (void);
+extern void expr_set_rank (operatorT, operator_rankT);
extern segT expr (int, expressionS *, enum expr_mode);
extern unsigned int get_single_number (void);
extern symbolS *make_expr_symbol (expressionS * expressionP);