about summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.aarch645
-rw-r--r--ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S3
2 files changed, 6 insertions, 2 deletions
diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64
index 8119c42344..25424bbc82 100644
--- a/ports/ChangeLog.aarch64
+++ b/ports/ChangeLog.aarch64
@@ -1,3 +1,8 @@
+2013-06-28  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
+
+	* sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Simplify
+	oPSTATE initialization.
+
 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
 	* sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist:
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S b/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S
index c3709575bc..2ba48044e2 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S
@@ -54,8 +54,7 @@ ENTRY(__getcontext)
 	str     x2, [x0, oSP]
 
 	/* Initialize the pstate.  */
-	mov	x3, #0
-	str	x3, [x0, oPSTATE]
+	str	xzr, [x0, oPSTATE]
 
 	/* Figure out where to place the first context extension
 	   block.  */