This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Support %higher and %highest in MIPS gas
- To: binutils at sources dot redhat dot com
- Subject: Re: [PATCH] Support %higher and %highest in MIPS gas
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- Date: Thu, 16 Aug 2001 19:08:20 +0200
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