diff options
author | Julian Brown <julian@codesourcery.com> | 2013-04-15 10:30:22 +0000 |
---|---|---|
committer | Julian Brown <julian@codesourcery.com> | 2013-04-15 10:30:22 +0000 |
commit | 8bc95b96e2a50ee00865c06cac48438c580ee6cb (patch) | |
tree | 583dc5c2357dcae01e50cd19ef39d80e6d935e6b /gas/expr.h | |
parent | 2b633ab51ec604988c58e34a8e5f59044780c7db (diff) | |
download | binutils-redhat-8bc95b96e2a50ee00865c06cac48438c580ee6cb.tar.gz |
gas/
* expr.c (add_to_result, subtract_from_result): Make global.
* expr.h (add_to_result, subtract_from_result): Add prototypes.
* config/tc-sh.c (sh_optimize_expr): Use add_to_result,
subtract_from_result to handle extra bit of precision for .sleb128
directive operands.
gas/testsuite/
* gas/all/gas.exp (sleb128-7): Don't run for tic4x, tic54x.
* gas/all/sleb128-2.s: Reformat, use _ at start of labels, remove
cruft.
* gas/all/sleb128-3.s: Likewise.
* gas/all/sleb128-4.s: Likewise.
* gas/all/sleb128-5.s: Likewise.
* gas/all/sleb128-7.s: Likewise.
* gas/all/sleb128-2.d: Handle data sections named $DATA$.
* gas/all/sleb128-3.d: Likewise.
* gas/all/sleb128-4.d: Likewise.
* gas/all/sleb128-5.d: Likewise.
* gas/all/sleb128-7.d: Likewise.
Diffstat (limited to 'gas/expr.h')
-rw-r--r-- | gas/expr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/expr.h b/gas/expr.h index d2cb7fd50f..438ac0dcc1 100644 --- a/gas/expr.h +++ b/gas/expr.h @@ -175,6 +175,8 @@ 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 void add_to_result (expressionS *, offsetT, int); +extern void subtract_from_result (expressionS *, offsetT, int); extern segT expr (int, expressionS *, enum expr_mode); extern unsigned int get_single_number (void); extern symbolS *make_expr_symbol (expressionS * expressionP); |