the following patch was just integrated into master: commit 9a4359203d961e591e8f3dfe32045608117c918a Author: Marc Jones marcj303@gmail.com Date: Thu Oct 6 16:38:35 2011 -0600
Don't do a call as the first instruction in libpayload.
Doing a call before the payload has set up its stack is risky. The stack may not be in a favorable location. Normally this is not an issue with coreboot or other well behaved callers.
Change-Id: Ie6f6748a471324b29ebad045c807dfc9f4b92034 Signed-off-by: Marc Jones marcj303@gmail.com
See http://review.coreboot.org/240 for details.
-gerrit