summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sparc64
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-07-09 12:51:22 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-07-09 12:51:22 +0000
commitf28d567a963cecca19a520e60a74062251452392 (patch)
treea5865c38e082fc0df44529204715b434e350449d /libexec/ld.so/sparc64
parent5387114a331ea17f93fcfb54b86af26d5382c9e4 (diff)
_dl_fcntl() is no longer used; kill the stubs
ok otto@ miod@
Diffstat (limited to 'libexec/ld.so/sparc64')
-rw-r--r--libexec/ld.so/sparc64/ldasm.S9
-rw-r--r--libexec/ld.so/sparc64/syscall.h3
2 files changed, 2 insertions, 10 deletions
diff --git a/libexec/ld.so/sparc64/ldasm.S b/libexec/ld.so/sparc64/ldasm.S
index a0735d86c63..3ade982da74 100644
--- a/libexec/ld.so/sparc64/ldasm.S
+++ b/libexec/ld.so/sparc64/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.35 2014/07/06 07:28:36 otto Exp $ */
+/* $OpenBSD: ldasm.S,v 1.36 2014/07/09 12:51:21 guenther Exp $ */
/* $NetBSD: rtld_start.S,v 1.5 2001/08/14 22:17:48 eeh Exp $ */
/*
@@ -279,13 +279,6 @@ _ENTRY(_dl_fstat)
retl
sub %g0, %o0, %o0 ! error: result = -errno
-_ENTRY(_dl_fcntl)
- mov SYS_fcntl | SYSCALL_G2RFLAG, %g1 ! call sys_fcntl
- add %o7, 8, %g2 ! just return on success
- t ST_SYSCALL ! off to wonderland
- retl
- sub %g0, %o0, %o0 ! error: result = -errno
-
_ENTRY(_dl_getdents)
mov SYS_getdents | SYSCALL_G2RFLAG, %g1 ! call sys_getdents
add %o7, 8, %g2 ! just return on success
diff --git a/libexec/ld.so/sparc64/syscall.h b/libexec/ld.so/sparc64/syscall.h
index 124b9e24bbf..8652252e597 100644
--- a/libexec/ld.so/sparc64/syscall.h
+++ b/libexec/ld.so/sparc64/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.25 2014/07/06 07:28:36 otto Exp $ */
+/* $OpenBSD: syscall.h,v 1.26 2014/07/09 12:51:21 guenther Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -49,7 +49,6 @@ int _dl_munmap(const void *, size_t);
int _dl_open(const char *, int);
ssize_t _dl_read(int, const char *, size_t);
int _dl_fstat(int, struct stat *);
-int _dl_fcntl(int, int, ...);
ssize_t _dl_getdents(int, char *, size_t);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);