summaryrefslogtreecommitdiff
path: root/libexec/ld.so/amd64
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-28 06:15:34 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-28 06:15:34 +0000
commit22ee552a7e524cb0c02fd7469c2e3a30fbdae52d (patch)
treeb79b0e2a470a96b44a2c413fb19e6dca5148fea8 /libexec/ld.so/amd64
parentc659df72abcf8acd1a6d405b9aa6eb16e0a918a5 (diff)
ld.so doesn't need gettimeofday or lstat stubs any more
ok deraadt@
Diffstat (limited to 'libexec/ld.so/amd64')
-rw-r--r--libexec/ld.so/amd64/ldasm.S4
-rw-r--r--libexec/ld.so/amd64/syscall.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/libexec/ld.so/amd64/ldasm.S b/libexec/ld.so/amd64/ldasm.S
index 922c1b8aea2..76a1945733e 100644
--- a/libexec/ld.so/amd64/ldasm.S
+++ b/libexec/ld.so/amd64/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.24 2016/05/07 19:05:23 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.25 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2002,2004 Dale Rahn
@@ -91,10 +91,8 @@ DL_SYSCALL(getthrid)
DL_SYSCALL(getdents)
DL_SYSCALL(mprotect)
DL_SYSCALL(munmap)
-DL_SYSCALL(gettimeofday)
DL_SYSCALL(exit)
DL_SYSCALL(readlink)
-DL_SYSCALL(lstat)
DL_SYSCALL(utrace)
DL_SYSCALL(getentropy)
DL_SYSCALL(sendsyslog)
diff --git a/libexec/ld.so/amd64/syscall.h b/libexec/ld.so/amd64/syscall.h
index b64012d817d..a19798aa77d 100644
--- a/libexec/ld.so/amd64/syscall.h
+++ b/libexec/ld.so/amd64/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.22 2016/07/04 21:15:06 guenther Exp $ */
+/* $OpenBSD: syscall.h,v 1.23 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -51,10 +51,8 @@ ssize_t _dl_read(int, const char *, size_t);
int _dl_fstat(int, struct stat *);
ssize_t _dl_getdents(int, char *, size_t);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
-int _dl_gettimeofday(struct timeval *, struct timezone *);
ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_pledge(const char *, const char **);
-int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);
int _dl_getentropy(char *, size_t);