OSDN Git Service

gas/
authorjbeulich <jbeulich>
Thu, 22 Dec 2005 17:05:40 +0000 (17:05 +0000)
committerjbeulich <jbeulich>
Thu, 22 Dec 2005 17:05:40 +0000 (17:05 +0000)
commitc77cd9e8fc8ae7bb0841c16348a20e31cd024116
treed683dc78bda495cd411bfac01ec0f32b1ff631ec
parent77fe140ecde75449f4bb0b6d7ca5cc29f7715e2e
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