Skip to content
Commit 4e1ef150 authored by Linus Walleij's avatar Linus Walleij Committed by Tom Rini
Browse files

arm: semihosting: fix up compile bugs



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@broadcom.com>
Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Mark Hambleton <mark.hambleton@arm.com>
Cc: Tom Rini <trini@ti.com>
Acked-by: default avatarSteve Rae <srae@broadcom.com>
Suggested-by: default avatarMark Hambleton <mark.hambleton@arm.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 50b56394
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment