[DNX#2006040442000057] [U-Boot-Users] [PATCH] Fix itest endianess problem [...]
DENX Support System
support at denx.de
Tue Apr 4 10:30:03 CEST 2006
Hello list,
inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006040442000057] was created:
<snip>
> Sorry I didn't Cc: to u-boot-patches at denx.de .
>
> Hello
>
> Command 'itest' has 2 bugs.
> 1. It does not work on big endian machine.
> and itest.b may cause unaligned access.
>
> 2. itest.l does not work on mips CPU.
> on mips,
> result of (1 << 32) -1 is 0.
> (gcc 3.3.4 binutil 2.14.90.0.6 )
> I think, In C language, shifting more than 32bit is undefined.
>
> Please consider to merge
> Patch is attched.
> --------
> Hiroshi Ito
> Media Lab. Inc.,
> URL http://www.mlb.co.jp ( Sorry, Japanese only. )
> TEL +81-3-5294-7255 FAX +81-3-5294-7256
</snip>
Your U-Boot support team
More information about the U-Boot
mailing list