[AArch64] Simplify getcontext pstate initialization.

This commit is contained in:
Marcus Shawcroft 2013-06-28 11:23:58 +01:00
parent fe114d2064
commit 03ea4d9b69
2 changed files with 6 additions and 2 deletions

View 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:

View 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. */