gas/
authorJan Beulich <jbeulich@novell.com>
Thu, 22 Dec 2005 17:05:40 +0000 (17:05 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 22 Dec 2005 17:05:40 +0000 (17:05 +0000)
commit2e1e12b1f4d5cdd1c9953a141cde51ee5aa43ee9
tree2bf9eadc3b6d46bd73d99669201c6d00d8806abe
parente5cc6d1129fca9be54457c858449fdef17405fa7
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.
gas/ChangeLog
gas/expr.c
gas/symbols.c
gas/symbols.h
gas/testsuite/ChangeLog
gas/testsuite/gas/all/cond.l
gas/testsuite/gas/all/cond.s
gas/testsuite/gas/i386/equ.e
gas/testsuite/gas/i386/equ.s