fix linaro memset
fix linaro memset 2
update gitignore
few more optimizations for linaro