From: Marcus Shawcroft Date: Fri, 28 Jun 2013 10:23:58 +0000 (+0100) Subject: [AArch64] Simplify getcontext pstate initialization. X-Git-Tag: glibc-2.18~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03ea4d9b6916857e3c2a021f55d2a853cb837398;p=thirdparty%2Fglibc.git [AArch64] Simplify getcontext pstate initialization. --- diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64 index 8119c42344a..25424bbc82d 100644 --- a/ports/ChangeLog.aarch64 +++ b/ports/ChangeLog.aarch64 @@ -1,3 +1,8 @@ +2013-06-28 Marcus Shawcroft + + * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Simplify + oPSTATE initialization. + 2013-06-15 Siddhesh Poyarekar * 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 c3709575bc1..2ba48044e2b 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. */