This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Support %higher and %highest in MIPS gas


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]