aboutsummaryrefslogtreecommitdiff
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
commit2e1e12b1f4d5cdd1c9953a141cde51ee5aa43ee9 (patch)
tree2bf9eadc3b6d46bd73d99669201c6d00d8806abe /gas/symbols.h
parente5cc6d1129fca9be54457c858449fdef17405fa7 (diff)
downloadgdb-2e1e12b1f4d5cdd1c9953a141cde51ee5aa43ee9.zip
gdb-2e1e12b1f4d5cdd1c9953a141cde51ee5aa43ee9.tar.gz
gdb-2e1e12b1f4d5cdd1c9953a141cde51ee5aa43ee9.tar.bz2
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 d4e56fb..7a4b8f7 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 *);