Skip to contentSkip to conversation

Fix itest endianess problem [...]

PATCH New DENX Support System 1 participant 1 message Apr 4, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix itest endianess problem [...]

Hello list,

inside the automatic U-Boot patch tracking system a new ticket [DNX#2006040442000057] was created:

<snip>

Quoted 14 lines

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.
Quoted 7 lines

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