]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[AArch64] Simplify getcontext pstate initialization.
authorMarcus Shawcroft <marcus.shawcroft@linaro.org>
Fri, 28 Jun 2013 10:23:58 +0000 (11:23 +0100)
committerMarcus Shawcroft <marcus.shawcroft@linaro.org>
Fri, 28 Jun 2013 10:23:58 +0000 (11:23 +0100)
ports/ChangeLog.aarch64
ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S

index 8119c42344a20d9c7adc3f1bb135ac8c995a3724..25424bbc82d16dc27a57aeff8b687be8f6b228d9 100644 (file)
@@ -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:
index c3709575bc1e6ddf8574090beeaaed889fb7c80f..2ba48044e2b774ff77294809f3138d342dd050d5 100644 (file)
@@ -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.  */