summaryrefslogtreecommitdiff
path: root/libexec/ld.so/hppa/ldasm.S
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2014-07-06 07:28:37 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2014-07-06 07:28:37 +0000
commitccea032754da70850b396992bada9aad229e7ce1 (patch)
treea6b2bb328e62c4273c2e62d30c575fcbca0af08f /libexec/ld.so/hppa/ldasm.S
parent4aa0b086cfa4b91bee4edef283fc98dcdc1594b0 (diff)
move from sysclt(KERN_ARND) to getentropy(2); ok miod@, kettenis@
Diffstat (limited to 'libexec/ld.so/hppa/ldasm.S')
-rw-r--r--libexec/ld.so/hppa/ldasm.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/libexec/ld.so/hppa/ldasm.S b/libexec/ld.so/hppa/ldasm.S
index d44dd9dc4f9..ee0cc8a40f6 100644
--- a/libexec/ld.so/hppa/ldasm.S
+++ b/libexec/ld.so/hppa/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.12 2013/12/23 13:57:44 kettenis Exp $ */
+/* $OpenBSD: ldasm.S,v 1.13 2014/07/06 07:28:36 otto Exp $ */
/*
* Copyright (c) 2004 Michael Shalayeff
@@ -272,6 +272,12 @@ ENTRY(_dl_utrace,0)
nop
EXIT(_dl_utrace)
+ENTRY(_dl_getentropy,0)
+ SYSCALL(getentropy)
+ bv r0(rp)
+ nop
+EXIT(_dl_getentropy)
+
ENTRY(_dl_sigprocmask,0)
stw arg2, HPPA_FRAME_ARG(2)(sp)