M0 and M3 patches in linaro toolchains