Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



jonathan
Mon Jun 23 15:04:38 PDT 1997
Update of /a/cvsroot/src/lib/csu/mips
In directory netbsd1:/var/slash-tmp/cvs-serv26943

Modified Files:
        crt0.c 
Log Message:
New, Alpha-derived crt0.c with ld.elf_so support.

Expects additional register-passed arguments from the kernel on
exec().  If no such args ($a0 is zero), fall back to the old hack of
adjusting the current $sp with a hard-coded frame offset for __start's
local frame(!).

Suggested by Jason Thorpe (thorpej%nas.nasa.gov@localhost), debugged and
stackframe offsets updated by Jonathan Stone.


jonathan
Mon Jun 23 15:08:07 PDT 1997
Update of /a/cvsroot/src/sys/arch/pmax/pmax
In directory netbsd1:/var/slash-tmp/cvs-serv27592

Modified Files:
        machdep.c 
Log Message:
Change NetBSD/mips setregs() to pass explicit arguments to a
newly-exec()ed user-land process for the new dl*-capable crt0:

  a0    stack pointer (points to onstack argc)
  a1    rtld cleanup (filled in by dynamic loader)
  a2    rtld object (filled in by dynamic loader)
  a3    ps_strings

>From Jason Thorpe (thorpej%nas.nasa.gov@localhost).




Home | Main Index | Thread Index | Old Index