This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Add .set arch=FOO support to MIPS gas.
Daniel Jacobowitz wrote:
> On Sun, Jun 29, 2003 at 12:48:05AM +0200, Thiemo Seufer wrote:
> > Hello All,
> >
> > this extends the .set directive to allow
> >
> > .set arch=FOO
> >
> > # some code for CPU FOO
> >
> > .set arch=default
> >
> > This allows code for different MIPS CPUs in one file.
> > It can be seen as a more specific version of ".set mipsX".
>
> Is the .set arch=default really necessary, given .set push and .set
> pop?
You can avoid its use, but this can get unwieldy sometimes.
It's similiar to ".set mips0", which is also useful sometimes.
Thiemo