[rtems commit] sparc: Fix volatile clobber

Sebastian Huber sebh at rtems.org
Fri Feb 3 09:57:49 UTC 2017


Module:    rtems
Branch:    master
Commit:    e2b1c47d8c48c351a3f91c5379a269f8942da34a
Changeset: http://git.rtems.org/rtems/commit/?id=e2b1c47d8c48c351a3f91c5379a269f8942da34a

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Feb  3 10:16:40 2017 +0100

sparc: Fix volatile clobber

Do not adjust the stack pointer, since this is already done by the
restor instruction.

Update #2270.

---

 cpukit/score/cpu/sparc/sparc-context-volatile-clobber.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/cpu/sparc/sparc-context-volatile-clobber.S b/cpukit/score/cpu/sparc/sparc-context-volatile-clobber.S
index d221c44..edbe3d6 100644
--- a/cpukit/score/cpu/sparc/sparc-context-volatile-clobber.S
+++ b/cpukit/score/cpu/sparc/sparc-context-volatile-clobber.S
@@ -153,4 +153,4 @@ restore_check:
 clobber_return:
 
 	jmp	%o7 + 8
-	 add	%sp, FRAME_SIZE, %sp
+	 nop




More information about the vc mailing list