MIPS noreorder and nomacro
Thiemo Seufer
ths@networkno.de
Fri Apr 1 10:29:00 GMT 2005
More information about the Binutils mailing list
Fri Apr 1 10:29:00 GMT 2005
- Previous message (by thread): MIPS noreorder and nomacro
- Next message (by thread): tidy ppc64_elf_get_synthetic_symtab return value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Daniel Jacobowitz wrote:
> 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?
It makes little sense to use nomacro without noreorder. Instead of the
code mentioned above, a warn_about_macros test should probably check
if it is still inside a noreorder section.
Thiemo
- Previous message (by thread): MIPS noreorder and nomacro
- Next message (by thread): tidy ppc64_elf_get_synthetic_symtab return value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list