aboutsummaryrefslogtreecommitdiffstats
path: root/exec/loader-aarch64.s
diff options
context:
space:
mode:
authorPo Lu2025-04-14 09:10:14 +0800
committerPo Lu2025-04-14 09:10:14 +0800
commit462bd149cddc2a7ba81de7ad0c286bcb64681d69 (patch)
tree49a3c20a74fe3945d9bd801c4722e272735c9a04 /exec/loader-aarch64.s
parentf7e34d52dcc175f3205e308ab57e83d7b0515792 (diff)
downloademacs-462bd149cddc2a7ba81de7ad0c286bcb64681d69.tar.gz
emacs-462bd149cddc2a7ba81de7ad0c286bcb64681d69.zip
Fix typos in executable loaders
* exec/loader-aarch64.s (skip_environ, cleanup): Minor thinkos. * exec/loader-x86_64.s (skip_environ): Insert missing label.
Diffstat (limited to 'exec/loader-aarch64.s')
-rw-r--r--exec/loader-aarch64.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec/loader-aarch64.s b/exec/loader-aarch64.s
index 64f95725eca..376f439417f 100644
--- a/exec/loader-aarch64.s
+++ b/exec/loader-aarch64.s
@@ -167,7 +167,7 @@ skip_environ:
1671: ldrb w3, [x2], #1 1671: ldrb w3, [x2], #1
168 strb w3, [x1], #1 168 strb w3, [x1], #1
169 cmp x2, x9 169 cmp x2, x9
170 bls 1b 170 blo 1b
171copy_env_and_args: 171copy_env_and_args:
172 // Copy argc and the environment array. 172 // Copy argc and the environment array.
173 mov x8, x10 173 mov x8, x10
@@ -204,7 +204,7 @@ cleanup:
2041: ldrb w3, [x5], #1 2041: ldrb w3, [x5], #1
205 strb w3, [x7], #1 205 strb w3, [x7], #1
206 cmp x5, x9 206 cmp x5, x9
207 bls 1b 207 blo 1b
208 // Close file descriptors. 208 // Close file descriptors.
2092: cmp x28, #-1 // is secondary fd set? 2092: cmp x28, #-1 // is secondary fd set?
210 beq cleanup1 // not set 210 beq cleanup1 // not set