CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2012/11/01 13:37:50

Modified files:
        libexec/ld.so/mips64: ldasm.S 

Log message:
Zero v0 before transferring control to the main program to indicate that
the main program should not reguster a cleanup handler with atexit(3).
This will allow us to add the cleanup handler registration code to crt0.c
and have ld.so pass its cleanup handler to the main program in the future.

While there, also zero ra to mark the last stack frame as demanded by the ELF
ABI.

ok kurt@, miod@

Reply via email to