[U-Boot] [U-Boot,2/3,v2] arm: semihosting: fix up compile bugs

Tom Rini trini at ti.com
Tue Dec 30 03:26:30 CET 2014


On Mon, Dec 15, 2014 at 11:05:56AM +0100, Linus Walleij wrote:

> There is currently a regression when using newer ARM64 compilers
> for semihosting: the way long types are inferred from context
> is no longer the same.
> 
> The semihosting runtime uses long and size_t, so use this
> explicitly in the semihosting code and interface, and voila:
> the code now works again.
> 
> Tested with aarch64-linux-gnu-gcc: Linaro GCC 4.9-2014.09.
> 
> Cc: Darwin Rambo <drambo at broadcom.com>
> Cc: AKASHI Takahiro <takahiro.akashi at linaro.org>
> Cc: Mark Hambleton <mark.hambleton at arm.com>
> Cc: Tom Rini <trini at ti.com>
> Acked-by: Steve Rae <srae at broadcom.com>
> Suggested-by: Mark Hambleton <mark.hambleton at arm.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141229/7222000d/attachment.pgp>


More information about the U-Boot mailing list