-/* $OpenBSD: ldasm.S,v 1.36 2016/08/07 03:05:23 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.37 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
DL_SYSCALL(getentropy)
DL_SYSCALL(sendsyslog)
DL_SYSCALL(pledge)
-DL_SYSCALL(gettimeofday)
DL_SYSCALL_NOERR(issetugid)
DL_SYSCALL_NOERR(getthrid)
-DL_SYSCALL(lstat)
DL_SYSCALL(mprotect)
DL_SYSCALL(munmap)
DL_SYSCALL(open)
-/* $OpenBSD: syscall.h,v 1.34 2016/07/04 21:15:06 guenther Exp $ */
+/* $OpenBSD: syscall.h,v 1.35 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
ssize_t _dl_getdents(int, char *, size_t);
long _dl__syscall(quad_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);
-/* $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
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)
-/* $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
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);
-/* $OpenBSD: ldasm.S,v 1.23 2016/08/09 03:58:35 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.24 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2004 Dale Rahn
DL_SYSCALL(read)
DL_SYSCALL(write)
DL_SYSCALL(fstat)
-DL_SYSCALL(gettimeofday)
DL_SYSCALL(readlink)
-DL_SYSCALL(lstat)
DL_SYSCALL(utrace)
DL_SYSCALL(getentropy)
DL_SYSCALL(sendsyslog)
-/* $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
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);
-/* $OpenBSD: ldasm.S,v 1.21 2016/05/07 19:05:23 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.22 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2004 Michael Shalayeff
nop
EXIT(_dl_getdents)
-ENTRY(_dl_gettimeofday,0)
- SYSCALL(gettimeofday)
- bv r0(rp)
- nop
-EXIT(_dl_gettimeofday)
-
ENTRY(_dl_readlink,0)
SYSCALL(readlink)
bv r0(rp)
nop
EXIT(_dl_readlink)
-ENTRY(_dl_lstat,0)
- SYSCALL(lstat)
- bv r0(rp)
- nop
-EXIT(_dl_lstat)
-
ENTRY(_dl_getcwd,0)
SYSCALL(__getcwd)
bv r0(rp)
-/* $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
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);
-/* $OpenBSD: ldasm.S,v 1.27 2016/08/07 03:03:44 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.28 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
DL_SYSCALL(read)
DL_SYSCALL(write)
DL_SYSCALL(fstat)
-DL_SYSCALL(gettimeofday)
DL_SYSCALL(readlink)
-DL_SYSCALL(lstat)
DL_SYSCALL(utrace)
DL_SYSCALL(getentropy)
DL_SYSCALL(sendsyslog)
-/* $OpenBSD: syscall.h,v 1.26 2016/07/04 21:15:06 guenther Exp $ */
+/* $OpenBSD: syscall.h,v 1.27 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
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);
-/* $OpenBSD: ldasm.S,v 1.22 2016/07/18 08:43:16 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.23 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2013 Miodrag Vallat.
DL_SYSCALL(read)
DL_SYSCALL(write)
DL_SYSCALL(fstat)
-DL_SYSCALL(gettimeofday)
DL_SYSCALL(readlink)
-DL_SYSCALL(lstat)
DL_SYSCALL(utrace)
DL_SYSCALL(getentropy)
DL_SYSCALL(sendsyslog)
-/* $OpenBSD: syscall.h,v 1.18 2016/07/04 21:15:06 guenther Exp $ */
+/* $OpenBSD: syscall.h,v 1.19 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
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);
-/* $OpenBSD: ldasm.S,v 1.20 2016/08/07 03:01:53 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.21 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 1998-2002 Opsycon AB, Sweden.
DL_SYSCALL(getentropy)
DL_SYSCALL(sendsyslog)
DL_SYSCALL(pledge)
-DL_SYSCALL(gettimeofday)
DL_SYSCALL_NOERR(issetugid)
DL_SYSCALL_NOERR(getthrid)
-DL_SYSCALL(lstat)
DL_SYSCALL(mprotect)
DL_SYSCALL(munmap)
DL_SYSCALL(open)
-/* $OpenBSD: syscall.h,v 1.24 2016/07/04 21:15:07 guenther Exp $ */
+/* $OpenBSD: syscall.h,v 1.25 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 1998-2002 Opsycon AB, Sweden.
int _dl_fstat(int, struct stat *);
int _dl_getcwd(char *, size_t);
ssize_t _dl_getdents(int, char *, size_t);
-int _dl_gettimeofday(struct timeval *, struct timezone *);
int _dl_issetugid(void);
int _dl_getthrid(void);
-int _dl_lstat(const char *, struct stat *);
int _dl_mprotect(const void *, size_t, int);
int _dl_munmap(const void *, size_t);
int _dl_open(const char *, int);
-/* $OpenBSD: ldasm.S,v 1.29 2016/05/07 19:05:23 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.30 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
DL_SYSCALL(getentropy)
DL_SYSCALL(sendsyslog)
DL_SYSCALL(pledge)
-DL_SYSCALL(gettimeofday)
DL_SYSCALL_NOERR(issetugid)
DL_SYSCALL_NOERR(getthrid)
-DL_SYSCALL(lstat)
DL_SYSCALL(mmap)
DL_SYSCALL(mprotect)
DL_SYSCALL(munmap)
-/* $OpenBSD: syscall.h,v 1.42 2016/07/04 21:15:07 guenther Exp $ */
+/* $OpenBSD: syscall.h,v 1.43 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
int _dl_fstat(int, struct stat *);
int _dl_getcwd(char *, size_t);
ssize_t _dl_getdents(int, char *, size_t);
-int _dl_gettimeofday(struct timeval *, struct timezone *);
int _dl_issetugid(void);
int _dl_getthrid(void);
-int _dl_lstat(const char *, struct stat *);
void * _dl_mmap(void *, size_t, int, int, int, off_t);
int _dl_mprotect(const void *, size_t, int);
int _dl_munmap(const void *, size_t);
-/* $OpenBSD: ldasm.S,v 1.25 2016/05/07 21:20:11 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.26 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2006 Dale Rahn
DL_SYSCALL(write)
DL_SYSCALL(fstat)
-DL_SYSCALL(gettimeofday)
DL_SYSCALL(readlink)
-DL_SYSCALL(lstat)
DL_SYSCALL(utrace)
DL_SYSCALL(getentropy)
DL_SYSCALL(sendsyslog)
-/* $OpenBSD: syscall.h,v 1.20 2016/07/04 21:15:07 guenther Exp $ */
+/* $OpenBSD: syscall.h,v 1.21 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
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);
-/* $OpenBSD: ldasm.S,v 1.31 2016/05/07 19:05:23 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.32 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
sub %g0, %o0, %o0 ! error: result = -errno
- .section ".text"
- .align 4
- .global _dl_gettimeofday
- .type _dl_gettimeofday,@function
-_dl_gettimeofday:
- mov SYS_gettimeofday | SYSCALL_G2RFLAG, %g1 ! calling sys_gettimeofday
- add %o7, 8, %g2 ! just return on success
- t ST_SYSCALL ! off to wonderland
- retl
- sub %g0, %o0, %o0 ! error: result = -errno
-
-
.section ".text"
.align 4
.global _dl_readlink
sub %g0, %o0, %o0 ! error: result = -errno
- .section ".text"
- .align 4
- .global _dl_lstat
- .type _dl_lstat,@function
-_dl_lstat:
- mov SYS_lstat | SYSCALL_G2RFLAG, %g1 ! calling sys_lstat
- add %o7, 8, %g2 ! just return on success
- t ST_SYSCALL ! off to wonderland
- retl
- sub %g0, %o0, %o0 ! error: result = -errno
-
-
.section ".text"
.align 4
.global _dl_getcwd
-/* $OpenBSD: syscall.h,v 1.27 2016/07/04 21:15:07 guenther Exp $ */
+/* $OpenBSD: syscall.h,v 1.28 2016/08/28 06:15:32 guenther Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
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);
-/* $OpenBSD: ldasm.S,v 1.43 2016/05/07 19:05:23 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.44 2016/08/28 06:15:33 guenther Exp $ */
/* $NetBSD: rtld_start.S,v 1.5 2001/08/14 22:17:48 eeh Exp $ */
/*
retl
sub %g0, %o0, %o0 ! error: result = -errno
-_ENTRY(_dl_gettimeofday)
- mov SYS_gettimeofday | SYSCALL_G2RFLAG, %g1 ! calling sys_gettimeofday
- add %o7, 8, %g2 ! just return on success
- t ST_SYSCALL ! off to wonderland
- retl
- sub %g0, %o0, %o0 ! error: result = -errno
-
_ENTRY(_dl_readlink)
mov SYS_readlink | SYSCALL_G2RFLAG, %g1 ! calling sys_readlink
add %o7, 8, %g2 ! just return on success
retl
sub %g0, %o0, %o0 ! error: result = -errno
-_ENTRY(_dl_lstat)
- mov SYS_lstat | SYSCALL_G2RFLAG, %g1 ! calling sys_lstat
- add %o7, 8, %g2 ! just return on success
- t ST_SYSCALL ! off to wonderland
- retl
- sub %g0, %o0, %o0 ! error: result = -errno
-
_ENTRY(_dl_getcwd)
mov SYS___getcwd | SYSCALL_G2RFLAG, %g1 ! calling sys___getcwd
add %o7, 8, %g2 ! just return on success
-/* $OpenBSD: syscall.h,v 1.34 2016/07/04 21:15:07 guenther Exp $ */
+/* $OpenBSD: syscall.h,v 1.35 2016/08/28 06:15:33 guenther Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
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);