mkimage: SEGFAULT with imximage on 64 bit systems
authorStefano Babic <sbabic@denx.de>
Fri, 5 Feb 2010 14:16:02 +0000 (15:16 +0100)
committerWolfgang Denk <wd@denx.de>
Tue, 23 Feb 2010 23:04:03 +0000 (00:04 +0100)
commit5b28e913f4519870ad2ca06cd7845b053f78bf0f
tree4c17b6e46b257fed51f3b9c75bfeeafa8516dc5f
parent77e7273c40315abd2f3c17ad8d46a78950e3e65f
mkimage: SEGFAULT with imximage on 64 bit systems

Running mkimage to generate an imximage produces a SEGFAULT
on 64 bit machines due to pointer arithmetic limited to 32 bit.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
tools/imximage.c
tools/imximage.h