[PATCH] Support %higher and %highest in MIPS gas
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Thu Aug 16 10:08:00 GMT 2001
Eric Christopher wrote:
>
> > 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
> >
> >
> > /gas/ChangeLog
> > * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()
> > return values.
> > (mips_ip): Use the new return values instead of characters. Add
> > support for %higher and %highest.
> > (LP): Remove.
> > (RP): Remove.
> > (my_getSmallExpression): Make parsing case insensitive and more
> > reliable. Add support for %higher and %highest. Further support to
> > parse %gprel and %neg is implemented but currently deactivated.
> >
> >
>
> New testcases for new functionality?
Currently not, because this patch lets gas parse %higher and %highest,
but actually using this requires handling of R_MIPS_HIGHER and
R_MIPS_HIGHEST relocations which is not available in gas yet.
On the other hand, the easiest way to test these relocations is via
%higher and %highest.
On the third hand, too large patches are a bad thing.
I plan to add testcases together with the relocation support.
Thiemo
More information about the Binutils
mailing list