[PATCH] Add .set arch=FOO support to MIPS gas.
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Sat Jun 28 23:19:00 GMT 2003
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
More information about the Binutils
mailing list