diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-10-27 08:30:36 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-10-27 08:30:36 +0000 |
commit | 351df732a0e999994b68dc3da4b9016ca8ba356e (patch) | |
tree | 860f0ab23456afee97119e26e6af02c923d96899 /libexec/ld.so/hppa/ldasm.S | |
parent | ccacb5d43f5cf0f9a7d159a05e98acc509d5b939 (diff) |
Clear arg1 before passing control to the main object.
Diffstat (limited to 'libexec/ld.so/hppa/ldasm.S')
-rw-r--r-- | libexec/ld.so/hppa/ldasm.S | 5 |
1 files changed, 2 insertions, 3 deletions
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 |