diff options
author | Marcus Shawcroft <marcus.shawcroft@linaro.org> | 2013-06-28 11:23:58 +0100 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@linaro.org> | 2013-06-28 11:23:58 +0100 |
commit | 03ea4d9b6916857e3c2a021f55d2a853cb837398 (patch) | |
tree | 5a28e3e52352f8839f0c771d4dda21d37e9f04d4 /ports/sysdeps | |
parent | fe114d206479a36369d732ea260e81a686fdbb0b (diff) | |
download | glibc-03ea4d9b6916857e3c2a021f55d2a853cb837398.tar.gz glibc-03ea4d9b6916857e3c2a021f55d2a853cb837398.tar.xz glibc-03ea4d9b6916857e3c2a021f55d2a853cb837398.zip |
[AArch64] Simplify getcontext pstate initialization.
Diffstat (limited to 'ports/sysdeps')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S | 3 |
1 files changed, 1 insertions, 2 deletions
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. */ |