(RTLD_START): Update _dl_argv.

This commit is contained in:
Ulrich Drepper 2000-11-16 02:07:02 +00:00
parent 90d62a5cb2
commit 3f95e592cb

View File

@ -314,10 +314,14 @@ $fixup_stack:
involves copying everything down, since the stack pointer must involves copying everything down, since the stack pointer must
always be 16-byte aligned. */ always be 16-byte aligned. */
ldq $2, 0($sp) ldq $2, 0($sp)
ldq $5, _dl_argv
subq $31, $1, $6
subq $2, $1, $2 subq $2, $1, $2
s8addq $6, $5, $5
mov $sp, $4 mov $sp, $4
s8addq $1, $sp, $3 s8addq $1, $sp, $3
stq $2, 0($sp) stq $2, 0($sp)
stq $5, _dl_argv
/* Copy down argv. */ /* Copy down argv. */
0: ldq $5, 8($3) 0: ldq $5, 8($3)
addq $4, 8, $4 addq $4, 8, $4