MIPS noreorder and nomacro

Daniel Jacobowitz drow@false.org
Fri Apr 1 02:05:00 GMT 2005


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



More information about the Binutils mailing list