aboutsummaryrefslogtreecommitdiff
path: root/gas/macro.c
AgeCommit message (Collapse)AuthorFilesLines
2005-01-31gas/Jan Beulich1-13/+26
2005-01-31 Jan Beulich <jbeulich@novell.com> * macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything that can end with .endr in that case. Make requiring/permitting pseudo-ops without leading dot closer to the logic in read.c serving the same purpose. (expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be ignored. gas/testsuite/ 2005-01-31 Jan Beulich <jbeulich@novell.com> * gas/macros/repeat.[ds]: New. * gas/macros/macros.exp: Run new test.
2005-01-31gas/Jan Beulich1-14/+35
2005-01-31 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-31 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.
2004-10-07For ELF targets use .LL rather than LL as the prefix for symbol names generatedNick Clifton1-2/+3
from the LOCAL macro directive.
2004-08-16(macro_set_alternate): Use ISO C90 formatting.Nick Clifton1-2/+1
2004-08-13Add and handle new --alternate command line option.Nick Clifton1-0/+9
2003-11-24 * listing.c: Convert to ISO-C.Kazu Hirata1-83/+30
* listing.h: Likewise. * macro.c: Likewise. * macro.h: Likewise.
2003-06-02 * macro.c (sub_actual): Don't lose string if it turns out thatAlan Modra1-0/+1
&string wasn't an arg.
2003-03-13(buffer_and_nest): Store more to sb instead of '\n'.Nick Clifton1-2/+2
(get_line_sb): Return end of line character or '\n' if it is zero or non-existent.
2003-01-03 * configure.in: Add iq2000-elf target.Stan Cox1-2/+2
* configure: Regenerate. * config/tc-iq2000.c: New file. * config/tc-iq2000.h: Likewise.
2002-12-02Remove GASP.Nick Clifton1-44/+20
2002-11-11 * macro.c (get_any_string): Correct logic for not going beyond endHans-Peter Nilsson1-1/+1
of in->ptr[].
2002-05-03 * as.h: Fix formatting.Kazu Hirata1-24/+24
* cgen.c: Likewise. * cgen.h: Likewise. * dwarf2dbg.c: Likewise. * frags.h: Likewise. * gasp.c: Likewise. * macro.c: Likewise. * read.c: Likewise. * stabs.c: Likewise. * symbols.c: Likewise.
2002-01-17Add no-c-format comment to prevent confusion when translating string.Nick Clifton1-1/+2
2001-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu1-18/+15
2001-08-10 * as.h (alloca): Don't declare if __GNUC__. Remove an old comment.Alan Modra1-11/+5
Comment indentation of #pragma. * macro.c (alloca): Likewise.
2001-06-12Fix m68k/mri mode problems.Nick Clifton1-15/+23
2001-03-08Fix copyright noticesNick Clifton1-1/+1
2000-12-12Fix formattingNick Clifton1-5/+5
2000-08-312000-08-31 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-62/+65
* frags.c: Fix formatting. * macro.c: Likewise.
2000-06-25Fix spelling typos.Nick Clifton1-5/+12
Remove use of DEFUN().
2000-06-142000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson1-0/+11
* macro.c (getstring): Make it possible to escape the quote character.
2000-05-01* macro.c (macro_expand_body): Don't prepend macro number with zeroes.Catherine Moore1-1/+1
2000-03-26Add macro handling extensions and line substitution support.Timothy Wall1-37/+6
1999-11-12fix typo.Nick Clifton1-1/+1
1999-11-12do not look beyond the end of the bufferNick Clifton1-2/+2
1999-11-11Look for seperator after TO and FROM tokens when exploring nested structuresNick Clifton1-2/+4
1999-06-03 * gasp.c (chunksize): New variable.Ian Lance Taylor1-2/+4
* macro.c (macro_expand_body): Call hash_jam with NULL rather than hash_delete .CVS: ----------------------------------------------------------------------
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+1259