gas/
commita3cdf4438f9d283d64de2ea5aea283ba0a245347
authorJan Beulich <jbeulich@novell.com>
Mon, 11 Apr 2005 12:46:38 +0000 (11 12:46 +0000)
committerJan Beulich <jbeulich@novell.com>
Mon, 11 Apr 2005 12:46:38 +0000 (11 12:46 +0000)
tree31827194d1c69e1e50a41b1ac0ff5c30b03b84ce
parentd99c86d690afc213bc5bd160478c43f6fb0fbb1a
gas/
2005-04-11  Jan Beulich  <jbeulich@novell.com>

* NEWS: Mention these changes and their effects.
* macro.c (get_token): Use is_name_beginner/is_part_of_name/
is_name_ender.
(check_macro): Likewise.
(buffer_and_nest): Likewise. Permit multiple labels. Don't discard
labels together with the closing pseudo-op.
(macro_expand_body): Adjust comment. Range-check input before use.
Adjust mis-spelled diagnostic. Use is_name_beginner.
* read.c (try_macro): New.
(read_a_source_file): New static variable last_eol. Don't list
macro expansion lines more than once. Call try_macro.
(s_macro): Set section of line_label to absolute instead of undefined.
* doc/as.texinfo: Add information on the caveats of these changes.

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

* gas/macros/dot.[ls]: New.
* gas/macros/macros.exp: Run new test.
gas/ChangeLog
gas/NEWS
gas/doc/as.texinfo
gas/macro.c
gas/read.c
gas/testsuite/ChangeLog
gas/testsuite/gas/macros/dot.l [new file with mode: 0644]
gas/testsuite/gas/macros/dot.s [new file with mode: 0644]
gas/testsuite/gas/macros/macros.exp