From 351df732a0e999994b68dc3da4b9016ca8ba356e Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 27 Oct 2012 08:30:36 +0000 Subject: Clear arg1 before passing control to the main object. --- libexec/ld.so/hppa/ldasm.S | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libexec/ld.so/hppa/ldasm.S') diff --git a/libexec/ld.so/hppa/ldasm.S b/libexec/ld.so/hppa/ldasm.S index e62d306d529..be3604d3fec 100644 --- a/libexec/ld.so/hppa/ldasm.S +++ b/libexec/ld.so/hppa/ldasm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ldasm.S,v 1.7 2012/10/24 03:26:56 guenther Exp $ */ +/* $OpenBSD: ldasm.S,v 1.8 2012/10/27 08:30:35 kettenis Exp $ */ /* * Copyright (c) 2004 Michael Shalayeff @@ -79,8 +79,7 @@ ENTRY(_dl_start,32) ldo 4(r3), arg3 /* dl_data */ ldw HPPA_FRAME_ARG(0)(r3), arg0 /* ps_strings */ - /* ??? cleanup, arg1 */ - /* ??? obj, arg2 */ + copy r0, arg1 /* cleanup */ ldo HPPA_FRAME_SIZE(r3), sp copy r0, rp -- cgit v1.2.3