summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/dlfcn/init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/dlfcn/init.c b/lib/libc/dlfcn/init.c
index 24e7c1db3e5..6a35b47ee47 100644
--- a/lib/libc/dlfcn/init.c
+++ b/lib/libc/dlfcn/init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init.c,v 1.14 2023/02/21 14:46:41 deraadt Exp $ */
+/* $OpenBSD: init.c,v 1.15 2023/02/21 16:21:40 deraadt Exp $ */
/*
* Copyright (c) 2014,2015 Philip Guenther <guenther@openbsd.org>
*
@@ -144,9 +144,11 @@ _libc_preinit(int argc, char **argv, char **envp, dl_cb_cb *cb)
if (cb == NULL) {
setup_static_tib(phdr, phnum);
+#ifndef __hppa__
/* XXX 128 maximum size of a system call stub, hopefully */
if (&HIDDEN(execve))
pinsyscall(SYS_execve, &HIDDEN(execve), 128);
+#endif
}
/*