diff options
author | 2013-02-02 13:37:02 +0000 | |
---|---|---|
committer | 2013-02-02 13:37:02 +0000 | |
commit | f9bee8536d51bca7812528826d0b30182c07114c (patch) | |
tree | 279caa5e13eddf49d7c2e4462ebe334c90ce9e6b | |
parent | mvme68k ELF bits. Boot block updates heavily based upon the recent mvme88k (diff) | |
download | wireguard-openbsd-f9bee8536d51bca7812528826d0b30182c07114c.tar.xz wireguard-openbsd-f9bee8536d51bca7812528826d0b30182c07114c.zip |
Be sure to pass a NULL cleanup pointer to CSU.
-rw-r--r-- | libexec/ld.so/m68k/ldasm.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.so/m68k/ldasm.S b/libexec/ld.so/m68k/ldasm.S index 793329d6214..2b51a95b73f 100644 --- a/libexec/ld.so/m68k/ldasm.S +++ b/libexec/ld.so/m68k/ldasm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ldasm.S,v 1.1 2013/01/23 19:15:58 miod Exp $ */ +/* $OpenBSD: ldasm.S,v 1.2 2013/02/02 13:37:02 miod Exp $ */ /* * Copyright (c) 2006 Dale Rahn @@ -93,6 +93,8 @@ ENTRY(_dl_start) addl #DL_DATA_SIZE, %sp | restore sp moveal %d0, %a0 + clrl %d1 + moveal %d1, %a1 | cleanup as expected by CSU jmp (%a0) rts |