[PATCH] Add .set arch=FOO support to MIPS gas.

cgd@broadcom.com cgd@broadcom.com
Mon Jun 30 17:33:00 GMT 2003


At Mon, 30 Jun 2003 09:29:55 +0000 (UTC), "Thiemo Seufer" wrote:
> cgd@broadcom.com wrote:
> [snip]
> > should ".set mips0" reset the *arch* to the default, too?
> > 
> > (i don't see any *harm* in it, and then both .set mips0 and .set
> > arch=default would restore arch/isa sanity?)
> 
> It would disable CPU special opcodes then, which is a behaviour change
> and probably confusing. So it shouldn't change IMHO.

Maybe.  I dunno.

I think if you're intermixing:

        .set mipsN
        .set mips0

and

        .set arch=FOO
        .set arch=default

you're going to drive yourself up a wall, anyway.  (given the
existence of push/pop, i don't really see a strong need for
arch=default...  but it doesn't bug me, either.  8-)



cgd



More information about the Binutils mailing list