From 2df8f43d3e0457c0f48df754e6b7ddfb44d5f3bc Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 18 Nov 2013 10:01:36 +0100 Subject: [PATCH] * grub-core/lib/sparc64/setjmp.S: Force spilling of current window. --- ChangeLog | 4 ++++ grub-core/lib/sparc64/setjmp.S | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7f1cf0e53..8f4de761a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-11-18 Vladimir Serbinenko + + * grub-core/lib/sparc64/setjmp.S: Force spilling of current window. + 2013-11-18 Vladimir Serbinenko On i386-ieee1275 we run in paged mode. So we need to explicitly map diff --git a/grub-core/lib/sparc64/setjmp.S b/grub-core/lib/sparc64/setjmp.S index ec9c53057..6c11bdda0 100644 --- a/grub-core/lib/sparc64/setjmp.S +++ b/grub-core/lib/sparc64/setjmp.S @@ -41,7 +41,11 @@ FUNCTION(grub_setjmp) FUNCTION(grub_longjmp) ldx [%o0 + 0x10], %g1 movrz %o1, 1, %o1 + + save %sp, -64, %sp flushw + restore + ldx [%o0 + 0x00], %o7 ldx [%o0 + 0x08], %fp sub %fp, 192, %sp