summaryrefslogtreecommitdiff
path: root/gas/symbols.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-12-22 17:05:40 +0000
committerJan Beulich <jbeulich@novell.com>2005-12-22 17:05:40 +0000
commit2bcc67f24e4f08ffc01231508622001fcc09fa9d (patch)
treeaf08cd2021653700ed8ee35861c49940b19915ad /gas/symbols.h
parenta2ceceaedb8cffaacb49c3d4dd6de52eb9575831 (diff)
downloadbinutils-redhat-2bcc67f24e4f08ffc01231508622001fcc09fa9d.tar.gz
gas/
2005-12-22 Jan Beulich <jbeulich@novell.com> * symbols.h (snapshot_symbol): First parameter is now pointer to pointer to symbolS. * symbols.c (snapshot_symbol): Likewise. Store resulting symbol there. Use symbol_equated_p. * expr.c (resolve_expression): Change first argument to snapshot_symbol. Track possibly changed add_symbol consistently across function. Resolve more special cases with known result. Also update final_val when replacing add_symbol. gas/testsuite/ 2005-12-22 Jan Beulich <jbeulich@novell.com> * gas/all/cond.s: Also check .if works on equates to undefined when the expression value can be known without knowing the value of the symbol. * gas/all/cond.l: Adjust. * gas/i386/equ.s: Also check .if works on (equates to) registers when the expression value can be known without knowing the value of the register. * gas/i386/equ.e: Adjust.
Diffstat (limited to 'gas/symbols.h')
-rw-r--r--gas/symbols.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/symbols.h b/gas/symbols.h
index d4e56fb996..7a4b8f7a6d 100644
--- a/gas/symbols.h
+++ b/gas/symbols.h
@@ -61,7 +61,7 @@ void symbol_print_statistics (FILE *);
void symbol_table_insert (symbolS * symbolP);
valueT resolve_symbol_value (symbolS *);
void resolve_local_symbol_values (void);
-int snapshot_symbol (symbolS *, valueT *, segT *, fragS **);
+int snapshot_symbol (symbolS **, valueT *, segT *, fragS **);
void print_symbol_value (symbolS *);
void print_expr (expressionS *);