Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4205
-gerrit
commit a93d141b604075974c34944bf50567737fb07113 Author: Stefan Reinauer reinauer@chromium.org Date: Tue Nov 19 14:26:50 2013 -0800
AMD CAR: Fix issue with gcc 4.8.x
Starting with gcc 4.8.x we can't add ebp to the clobber list anymore. Since we're not actually using the register here, just removing it does not cause issues.
Change-Id: I226c14b7e651919ec2d61cbcb18be50cf7f2f7a8 Signed-off-by: Stefan Reinauer reinauer@google.com --- src/cpu/amd/car/post_cache_as_ram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c index eca7673..bad7535 100644 --- a/src/cpu/amd/car/post_cache_as_ram.c +++ b/src/cpu/amd/car/post_cache_as_ram.c @@ -119,7 +119,7 @@ static void post_cache_as_ram(void) ::"a"( (CONFIG_DCACHE_RAM_BASE + CONFIG_DCACHE_RAM_SIZE)- (CONFIG_RAMTOP) ) /* discard all registers (eax is used for %0), so gcc redoes everything after the stack is moved */ - : "cc", "memory", "%ebx", "%ecx", "%edx", "%esi", "%edi", "%ebp" + : "cc", "memory", "%ebx", "%ecx", "%edx", "%esi", "%edi" );
/* We can put data to stack again */