Linaro Toolchain fixes