Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu>

* elf/rtld.c (_dl_start): Don't rely on pointer-to-first-arg hack
	for getting the argc/argv/envp block.  Instead, make it the argument.
	sysdeps/i386/dl-machine.h (RTLD_START): Do that.
	sysdeps/m68k/dl-machine.h (RTLD_START): Same.
This commit is contained in:
Roland McGrath 1996-06-12 01:42:09 +00:00
parent d7cf162179
commit 50f1932bda

View File

@ -234,7 +234,9 @@ _dl_runtime_resolve:
.globl _start
.globl _dl_start_user
_start:
move.l %sp, -(%sp)
jbsr _dl_start
addq.l #4, %sp
_dl_start_user:
| Save the user entry point address in %a4.
move.l %d0, %a4