aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2026-02-17 20:46:35 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-02-17 20:46:35 +0000
commit4092df8820ea01951ab6df6cfd4fdc5b239e636e (patch)
treeeeda142ce5d8e2d7378e274292e89e2d2a4e8a1e
parent87984eddde4dca3ded908f70d2699788e9d8d019 (diff)
arm64: Explicitly use movz
This appeases GNU as which doesn't map the mov alias to movz. Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D55160
-rw-r--r--sys/arm64/arm64/locore.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S
index 46d3bac576e8..f1228235dfe7 100644
--- a/sys/arm64/arm64/locore.S
+++ b/sys/arm64/arm64/locore.S
@@ -44,7 +44,7 @@
* This can be used early on when we don't know the CPUs endianness.
*/
.macro mov_q reg, val
- mov \reg, :abs_g0_nc:\val
+ movz \reg, :abs_g0_nc:\val
.if (\val >> 16) & 0xffff != 0
movk \reg, :abs_g1_nc:\val
.endif