This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
MIPS noreorder and nomacro
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sources dot redhat dot com
- Date: Thu, 31 Mar 2005 21:06:24 -0500
- Subject: MIPS noreorder and nomacro
The MIPS assembler currently complains about .set nomacro like so:
else if (strcmp (name, "nomacro") == 0)
{
if (mips_opts.noreorder == 0)
as_bad (_("`noreorder' must be set before `nomacro'"));
mips_opts.warn_about_macros = 1;
}
But it will allow this:
.set noreorder
.set nomacro
...
.set reorder
And nothing resets warn_about_macros. So this limitation isn't very
effective; is it necessary?
--
Daniel Jacobowitz
CodeSourcery, LLC