summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-11-01 19:37:51 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-11-01 19:37:51 +0000
commitdc983ffde9e0c6887100dafe636dd52d1b975b31 (patch)
tree54afaedce5e647d6c6352e6decc4ed7cb78b130f /sys/arch
parent7495baf69cf99ddaa53f1727886afe64eb2ead92 (diff)
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@
Diffstat (limited to 'sys/arch')
0 files changed, 0 insertions, 0 deletions