shumash: Linaro patches for -O3 optimization