Skip to content

Commit 2b7268c

Browse files
author
Po Lu
committed
; * exec/loader-mips64el.s (skip_environ): Eliminate one more `daddi'.
1 parent 638b084 commit 2b7268c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exec/loader-mips64el.s

+2-1
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,9 @@ skip_environ:
207207
$sp = copy of string. */
208208
move T4, $sp # current sp
209209
dsub T5, $t3, $sp # new argc - current sp
210+
li $t8, -16
210211
blt T5, 16, 1f # more than two slots apart
211-
dadd $sp, $t3, -16 # $sp = two slots below new argc
212+
dadd $sp, $t3, $t8 # $sp = two slots below new argc
212213
j 2f # skip copying fds
213214
move $sp, T4 # retain current sp
214215
1: ld T5, (T4) # old primary fd

0 commit comments

Comments
 (0)