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]
Other format: [Raw text]

Re: Improvements and fixes for mips n32/n64 relocations


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


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