diff options
| author | Po Lu <luangruo@yahoo.com> | 2025-04-15 17:20:37 +0800 |
|---|---|---|
| committer | Po Lu <luangruo@yahoo.com> | 2025-04-15 17:21:25 +0800 |
| commit | 2b7268c43f52942f88aef1cf442603819c505b21 (patch) | |
| tree | e23e68944785724c9b0850b4e3d213d244216926 /exec | |
| parent | 638b084a611316c6fa4a58adb4dec97e461b31da (diff) | |
; * exec/loader-mips64el.s (skip_environ): Eliminate one more `daddi'.
Diffstat (limited to 'exec')
| -rw-r--r-- | exec/loader-mips64el.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/exec/loader-mips64el.s b/exec/loader-mips64el.s index cab80d5e19f..2f20c2cf5d3 100644 --- a/exec/loader-mips64el.s +++ b/exec/loader-mips64el.s @@ -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 |
