.macro behavior

Nick Clifton nickc@redhat.com
Mon Jan 31 11:26:00 GMT 2005


Hi Jan,

> gas/
> 2005-01-26  Jan Beulich  <jbeulich@novell.com>
> 
> 	* macro.c (do_formals): Adjust to no longer accept empty
> parameter
> 	names.
> 	(define_macro): Adjust to no longer accept empty macro name,
> garbage
> 	following the parameters, or macros that were previously
> defined.
> 	* read.c (s_bad_end): Declare.
> 	(potable): Add endm. Handler for endr and endm is s_bad_end.
> 	(s_bad_end): Rename from s_bad_endr. Adjust to handle both
> .endm
> 	and .endr.
> 	* read.h (s_bad_endr): Remove.
> 
> gas/testsuite/
> 2005-01-26  Jan Beulich  <jbeulich@novell.com>
> 
> 	* gas/macros/badarg.[ls]: New.
> 	* gas/macros/end.[ls]: New.
> 	* gas/macros/redef.[ls]: New.
> 	* gas/macros/macros.exp (run_list_test): Copy from elsewhere.
> 	Run new tests.
> 

Approved - please apply.

Cheers
   Nick



More information about the Binutils mailing list