[patch] MIPS64: Use non-trapping "daddu" in macro expansions

Ralf Baechle ralf@uni-koblenz.de
Wed Jul 10 01:58:00 GMT 2002


On Thu, Jul 04, 2002 at 03:40:13PM +0200, Maciej W. Rozycki wrote:

>  I believe it's incorrect to use "dadd" to calculate addresses as we don't
> handle overflow traps in any manner.  That is strictly system-dependent
> and should be handled at the compiler level, anyway.  I propose switching
> to "daddu".

The rationale behind this was to trap wraparounds of address between kernel
space and user space.

  Ralf



More information about the Binutils mailing list