the following patch was just integrated into master: commit bef68df99d84ac977dc0b990f6785080381403d4 Author: Marc Jones marc.jones@se-eng.com Date: Tue Mar 20 16:53:44 2012 -0600
Fix libpayload alloc() size and gcc pointer optimization problems.
The previous commit was incomplete and missed setting the entire alloc area.
There are also additional problems with gcc optimizations of the pointer math. The "auto" casting by gcc wouldn't return warnings, but it was causing the optimization to be incorrect. We are now very explicit in the casting in the pointer math.
Change-Id: I020808c8d1dda544fe862b9efb0e5345eeab5aab Signed-off-by: Marc Jones marc.jones@se-eng.com
Build-Tested: build bot (Jenkins) at Wed Mar 21 19:09:52 2012, giving +1 Reviewed-By: Peter Stuge peter@stuge.se at Wed Mar 21 21:03:24 2012, giving +2 See http://review.coreboot.org/804 for details.
-gerrit