]> git.eshelyaron.com Git - emacs.git/commitdiff
; * exec/loader-mips64el.s (skip_environ): Eliminate one more `daddi'.
authorPo Lu <luangruo@yahoo.com>
Tue, 15 Apr 2025 09:20:37 +0000 (17:20 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 16 Apr 2025 07:35:01 +0000 (09:35 +0200)
(cherry picked from commit 2b7268c43f52942f88aef1cf442603819c505b21)

exec/loader-mips64el.s

index cab80d5e19f3bec57077ffd05b891e94f5d17b09..2f20c2cf5d30aa6ea378287eb6fb498a19bdd326 100644 (file)
@@ -207,8 +207,9 @@ skip_environ:
        $sp = copy of string.  */
        move    T4, $sp                 # current sp
        dsub    T5, $t3, $sp            # new argc - current sp
+       li      $t8, -16
        blt     T5, 16, 1f              # more than two slots apart
-       dadd    $sp, $t3, -16           # $sp = two slots below new argc
+       dadd    $sp, $t3, $t8           # $sp = two slots below new argc
        j       2f                      # skip copying fds
        move    $sp, T4                 # retain current sp
 1:     ld      T5, (T4)                # old primary fd