Improvements and fixes for mips n32/n64 relocations

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Tue Apr 8 11:41:00 GMT 2003


Alexandre Oliva wrote:
[snip]
> @@ -3395,7 +3417,8 @@ macro_build_ldst_constoffset (place, cou
>        if (place != NULL)
>  	place += 4;
>        macro_build (place, counter, (expressionS *) NULL,
> -		   HAVE_32BIT_ADDRESSES ? "addu" : "daddu",
> +		   HAVE_32BIT_ADDRESSES ? HAVE_NEWABI
> +		   ? "add" : "addu" : "daddu",

Some more parentheses might look better. And if I read the n64 draft
right, n64 also prefers 'dadd'.

Otherwise it looks impressive. :-)


Thiemo



More information about the Binutils mailing list