This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[mep] stack alignment in syscalls.S


Committed.

	* mep/syscalls.S (sysret): Maintain 16-byte stack alignment.

Index: mep/syscalls.S
===================================================================
RCS file: /cvs/src/src/libgloss/mep/syscalls.S,v
retrieving revision 1.1
diff -p -U3 -r1.1 syscalls.S
--- mep/syscalls.S	8 Feb 2007 21:22:05 -0000	1.1
+++ mep/syscalls.S	14 Jul 2009 20:14:52 -0000
@@ -51,7 +51,7 @@ S(link)
 S(_Sid_config)
 
 sysret:
-	add3	$sp, $sp, -12
+	add3	$sp, $sp, -16
 	sw	$0, 0($sp)
 	sw	$1, 4($sp)
 	ldc	$2, $lp
@@ -62,5 +62,5 @@ sysret:
 	lw	$0, 0($sp)
 	lw	$2, 8($sp)
 	stc	$2, $lp
-	add3	$sp, $sp, 12
+	add3	$sp, $sp, 16
 	ret


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]