summaryrefslogtreecommitdiff
path: root/libexec/ld.so/mips64
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-07-04 21:15:08 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-07-04 21:15:08 +0000
commitc8dea68425800f4f9dccc43c2c462ac801558d0f (patch)
tree9cf09bf02f392d85c44eea00d7737e6d83f7b55f /libexec/ld.so/mips64
parent2fa1b9a766208be2a20696f44039dcd4005094fa (diff)
Remove prebind support: binding to symbol table indices is too fragile
for our development process. ok kettenis@ deraadt@
Diffstat (limited to 'libexec/ld.so/mips64')
-rw-r--r--libexec/ld.so/mips64/syscall.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/libexec/ld.so/mips64/syscall.h b/libexec/ld.so/mips64/syscall.h
index 8b85bed5124..20727d99028 100644
--- a/libexec/ld.so/mips64/syscall.h
+++ b/libexec/ld.so/mips64/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.23 2016/05/07 19:05:23 guenther Exp $ */
+/* $OpenBSD: syscall.h,v 1.24 2016/07/04 21:15:07 guenther Exp $ */
/*
* Copyright (c) 1998-2002 Opsycon AB, Sweden.
@@ -60,12 +60,6 @@ int _dl_utrace(const char *, const void *, size_t);
int _dl_getentropy(char *, size_t);
int _dl_sendsyslog(const char *, size_t, int);
-static inline off_t
-_dl_lseek(int fd, off_t offset, int whence)
-{
- return _dl__syscall((quad_t)SYS_lseek, fd, 0, offset, whence);
-}
-
static inline void *
_dl_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
{