From 0dab79925da5afc136281256d981ac051390bf6f Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 2 Feb 2013 13:37:03 +0000 Subject: Be sure to pass a NULL cleanup pointer to CSU. --- libexec/ld.so/m68k/ldasm.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libexec/ld.so') 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 -- cgit v1.2.3