gas/
commit7231d0d133640764fae318033e62187e67a72f03
authorJan Beulich <jbeulich@novell.com>
Thu, 17 Nov 2005 07:29:28 +0000 (17 07:29 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 17 Nov 2005 07:29:28 +0000 (17 07:29 +0000)
treeaff120b0d2b3a2cabf6bc9d223d2b64579142fe0
parent4a1874e23c4dced880f17ec6c53d2a840eb9efa5
gas/
2005-11-17  Jan Beulich  <jbeulich@novell.com>

* symbols.h (S_CLEAR_VOLATILE): Declare.
* symbols.c (colon): Also accept redefinable symbols for
redefinition. Clone them before modifying.
(S_CLEAR_VOLATILE): Define.
* cond.c (s_ifdef): Also test for equated symbols.
* read.c (s_comm_internal): Also exclude non-redefinable
equated symbols. Clone redefinable ones before modifying.
(s_weakref): Clone redefinable symbols before modifying.
* doc/internals.texi: Document sy_volatile, sy_forward_ref,
S_IS_VOLATILE, S_SET_VOLATILE, S_CLEAR_VOLATILE,
S_IS_FORWARD_REF, and S_SET_FORWARD_REF.

gas/testsuite/
2005-11-17  Jan Beulich  <jbeulich@novell.com>

* gas/all/cond.s: Also check ifdef works on equates and
commons.
* gas/all/cond.l: Adjust.
* gas/all/redef2.s: Also test redefining equate to label.
* gas/all/redef2.d: Adjust.
* gas/all/redef3.[sd]: New.
* gas/all/redef4.s: New.
* gas/all/redef5.s: New.
* gas/elf/redef.s: New, copied from original gas/all/redef2.s.
* gas/elf/redef.d: Remove #source.
* gas/all/gas.exp: Remove exclusion of iq2000-*-* from and
adjust xfails for redefinition tests. Run new tests. Exclude
alpha*-*-*, mips*-*-*, *c54x*-*-* from weakref tests.
18 files changed:
gas/ChangeLog
gas/cond.c
gas/doc/internals.texi
gas/read.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/all/gas.exp
gas/testsuite/gas/all/redef2.d
gas/testsuite/gas/all/redef2.s
gas/testsuite/gas/all/redef3.d [copied from gas/testsuite/gas/all/redef2.d with 65% similarity]
gas/testsuite/gas/all/redef3.s [copied from gas/testsuite/gas/all/redef2.s with 84% similarity]
gas/testsuite/gas/all/redef4.s [new file with mode: 0644]
gas/testsuite/gas/all/redef5.s [new file with mode: 0644]
gas/testsuite/gas/elf/redef.d
gas/testsuite/gas/elf/redef.s [copied from gas/testsuite/gas/all/redef2.s with 100% similarity]