diff options
| author | Po Lu | 2025-04-14 09:10:14 +0800 |
|---|---|---|
| committer | Po Lu | 2025-04-14 09:10:14 +0800 |
| commit | 462bd149cddc2a7ba81de7ad0c286bcb64681d69 (patch) | |
| tree | 49a3c20a74fe3945d9bd801c4722e272735c9a04 /exec/loader-aarch64.s | |
| parent | f7e34d52dcc175f3205e308ab57e83d7b0515792 (diff) | |
| download | emacs-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.s | 4 |
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: | |||
| 167 | 1: ldrb w3, [x2], #1 | 167 | 1: 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 |
| 171 | copy_env_and_args: | 171 | copy_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: | |||
| 204 | 1: ldrb w3, [x5], #1 | 204 | 1: 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. |
| 209 | 2: cmp x28, #-1 // is secondary fd set? | 209 | 2: cmp x28, #-1 // is secondary fd set? |
| 210 | beq cleanup1 // not set | 210 | beq cleanup1 // not set |