gas/
commit2bcc67f24e4f08ffc01231508622001fcc09fa9d
authorJan Beulich <jbeulich@novell.com>
Thu, 22 Dec 2005 17:05:40 +0000 (22 17:05 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 22 Dec 2005 17:05:40 +0000 (22 17:05 +0000)
treeaf08cd2021653700ed8ee35861c49940b19915ad
parenta2ceceaedb8cffaacb49c3d4dd6de52eb9575831
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