Linaro Fixes

Change-Id: I11394c1d3880914ff3f52eab7335988786c3ffeb
Use Linaro optimizations

Change-Id: I10773566860038fc59d31db22b72d5c58beccc74