diff options
author | jasone <jasone@FreeBSD.org> | 2000-01-29 22:53:55 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-01-29 22:53:55 +0000 |
commit | c339e807ccf7499f42704f48c2e0224872751db2 (patch) | |
tree | 61e116998f138e3887e2ec1f32e12050049277cc /lib | |
parent | df12fb7fd7bee2fff080c5de348a3cd2ade97659 (diff) | |
download | FreeBSD-src-c339e807ccf7499f42704f48c2e0224872751db2.zip FreeBSD-src-c339e807ccf7499f42704f48c2e0224872751db2.tar.gz |
Use __strong_reference() instead of __weak_reference() to assure that the
weak symbols of the same name are not used.
Diffstat (limited to 'lib')
60 files changed, 60 insertions, 60 deletions
diff --git a/lib/libc_r/uthread/uthread_accept.c b/lib/libc_r/uthread/uthread_accept.c index 3fc481c..12abd30 100644 --- a/lib/libc_r/uthread/uthread_accept.c +++ b/lib/libc_r/uthread/uthread_accept.c @@ -107,5 +107,5 @@ _accept(int fd, struct sockaddr * name, socklen_t *namelen) return (ret); } -__weak_reference(_accept, accept); +__strong_reference(_accept, accept); #endif diff --git a/lib/libc_r/uthread/uthread_aio_suspend.c b/lib/libc_r/uthread/uthread_aio_suspend.c index 3bc373a..5940282 100644 --- a/lib/libc_r/uthread/uthread_aio_suspend.c +++ b/lib/libc_r/uthread/uthread_aio_suspend.c @@ -47,5 +47,5 @@ _aio_suspend(const struct aiocb * const iocbs[], int niocb, const struct return ret; } -__weak_reference(_aio_suspend, aio_suspend); +__strong_reference(_aio_suspend, aio_suspend); #endif diff --git a/lib/libc_r/uthread/uthread_bind.c b/lib/libc_r/uthread/uthread_bind.c index cf9b074..0a455c0 100644 --- a/lib/libc_r/uthread/uthread_bind.c +++ b/lib/libc_r/uthread/uthread_bind.c @@ -49,5 +49,5 @@ _bind(int fd, const struct sockaddr * name, socklen_t namelen) return (ret); } -__weak_reference(_bind, bind); +__strong_reference(_bind, bind); #endif diff --git a/lib/libc_r/uthread/uthread_connect.c b/lib/libc_r/uthread/uthread_connect.c index 4e3ed5c..b900618 100644 --- a/lib/libc_r/uthread/uthread_connect.c +++ b/lib/libc_r/uthread/uthread_connect.c @@ -76,5 +76,5 @@ _connect(int fd, const struct sockaddr * name, socklen_t namelen) return (ret); } -__weak_reference(_connect, connect); +__strong_reference(_connect, connect); #endif diff --git a/lib/libc_r/uthread/uthread_dup.c b/lib/libc_r/uthread/uthread_dup.c index 15d8c19..30af80b 100644 --- a/lib/libc_r/uthread/uthread_dup.c +++ b/lib/libc_r/uthread/uthread_dup.c @@ -68,5 +68,5 @@ _dup(int fd) return (ret); } -__weak_reference(_dup, dup); +__strong_reference(_dup, dup); #endif diff --git a/lib/libc_r/uthread/uthread_dup2.c b/lib/libc_r/uthread/uthread_dup2.c index ccf0e55..b1e8b5e 100644 --- a/lib/libc_r/uthread/uthread_dup2.c +++ b/lib/libc_r/uthread/uthread_dup2.c @@ -84,5 +84,5 @@ _dup2(int fd, int newfd) return (ret); } -__weak_reference(_dup2, dup2); +__strong_reference(_dup2, dup2); #endif diff --git a/lib/libc_r/uthread/uthread_execve.c b/lib/libc_r/uthread/uthread_execve.c index 8aeb24c..37d6e2c 100644 --- a/lib/libc_r/uthread/uthread_execve.c +++ b/lib/libc_r/uthread/uthread_execve.c @@ -111,5 +111,5 @@ _execve(const char *name, char *const * argv, char *const * envp) return (ret); } -__weak_reference(_execve, execve); +__strong_reference(_execve, execve); #endif diff --git a/lib/libc_r/uthread/uthread_exit.c b/lib/libc_r/uthread/uthread_exit.c index 22e2ce8..0d22638 100644 --- a/lib/libc_r/uthread/uthread_exit.c +++ b/lib/libc_r/uthread/uthread_exit.c @@ -77,7 +77,7 @@ void __exit(int status) _thread_sys__exit(status); } -__weak_reference(__exit, _exit); +__strong_reference(__exit, _exit); void _thread_exit(char *fname, int lineno, char *string) diff --git a/lib/libc_r/uthread/uthread_fchflags.c b/lib/libc_r/uthread/uthread_fchflags.c index ef33d86..0cd37e3 100644 --- a/lib/libc_r/uthread/uthread_fchflags.c +++ b/lib/libc_r/uthread/uthread_fchflags.c @@ -23,5 +23,5 @@ _fchflags(int fd, u_long flags) return (ret); } -__weak_reference(_fchflags, fchflags); +__strong_reference(_fchflags, fchflags); #endif diff --git a/lib/libc_r/uthread/uthread_fchmod.c b/lib/libc_r/uthread/uthread_fchmod.c index f57a9ea..b9a5224 100644 --- a/lib/libc_r/uthread/uthread_fchmod.c +++ b/lib/libc_r/uthread/uthread_fchmod.c @@ -49,5 +49,5 @@ _fchmod(int fd, mode_t mode) return (ret); } -__weak_reference(_fchmod, fchmod); +__strong_reference(_fchmod, fchmod); #endif diff --git a/lib/libc_r/uthread/uthread_fchown.c b/lib/libc_r/uthread/uthread_fchown.c index 98fae73..06bfbcb 100644 --- a/lib/libc_r/uthread/uthread_fchown.c +++ b/lib/libc_r/uthread/uthread_fchown.c @@ -50,5 +50,5 @@ _fchown(int fd, uid_t owner, gid_t group) return (ret); } -__weak_reference(_fchown, fchown); +__strong_reference(_fchown, fchown); #endif diff --git a/lib/libc_r/uthread/uthread_flock.c b/lib/libc_r/uthread/uthread_flock.c index 56d6fbc..3a4df6c 100644 --- a/lib/libc_r/uthread/uthread_flock.c +++ b/lib/libc_r/uthread/uthread_flock.c @@ -48,5 +48,5 @@ _flock(int fd, int operation) return (ret); } -__weak_reference(_flock, flock); +__strong_reference(_flock, flock); #endif diff --git a/lib/libc_r/uthread/uthread_fork.c b/lib/libc_r/uthread/uthread_fork.c index 88f1c43..a8e85d8 100644 --- a/lib/libc_r/uthread/uthread_fork.c +++ b/lib/libc_r/uthread/uthread_fork.c @@ -221,5 +221,5 @@ _fork(void) return (ret); } -__weak_reference(_fork, fork); +__strong_reference(_fork, fork); #endif diff --git a/lib/libc_r/uthread/uthread_fstat.c b/lib/libc_r/uthread/uthread_fstat.c index 8df1f1a..7fc64e4 100644 --- a/lib/libc_r/uthread/uthread_fstat.c +++ b/lib/libc_r/uthread/uthread_fstat.c @@ -56,5 +56,5 @@ _fstat(int fd, struct stat * buf) return (ret); } -__weak_reference(_fstat, fstat); +__strong_reference(_fstat, fstat); #endif diff --git a/lib/libc_r/uthread/uthread_fstatfs.c b/lib/libc_r/uthread/uthread_fstatfs.c index 0962cbd..eac447a 100644 --- a/lib/libc_r/uthread/uthread_fstatfs.c +++ b/lib/libc_r/uthread/uthread_fstatfs.c @@ -56,5 +56,5 @@ _fstatfs(int fd, struct statfs * buf) return (ret); } -__weak_reference(_fstatfs, fstatfs); +__strong_reference(_fstatfs, fstatfs); #endif diff --git a/lib/libc_r/uthread/uthread_getdirentries.c b/lib/libc_r/uthread/uthread_getdirentries.c index c1a2edc..3cd5450 100644 --- a/lib/libc_r/uthread/uthread_getdirentries.c +++ b/lib/libc_r/uthread/uthread_getdirentries.c @@ -49,5 +49,5 @@ _getdirentries(int fd, char *buf, int nbytes, long *basep) return (ret); } -__weak_reference(_getdirentries, getdirentries); +__strong_reference(_getdirentries, getdirentries); #endif diff --git a/lib/libc_r/uthread/uthread_getpeername.c b/lib/libc_r/uthread/uthread_getpeername.c index afc2f3c..b258836 100644 --- a/lib/libc_r/uthread/uthread_getpeername.c +++ b/lib/libc_r/uthread/uthread_getpeername.c @@ -49,5 +49,5 @@ _getpeername(int fd, struct sockaddr * peer, socklen_t *paddrlen) return ret; } -__weak_reference(_getpeername, getpeername); +__strong_reference(_getpeername, getpeername); #endif diff --git a/lib/libc_r/uthread/uthread_getsockname.c b/lib/libc_r/uthread/uthread_getsockname.c index e8816c7..f4d6420 100644 --- a/lib/libc_r/uthread/uthread_getsockname.c +++ b/lib/libc_r/uthread/uthread_getsockname.c @@ -49,5 +49,5 @@ _getsockname(int s, struct sockaddr * name, socklen_t *namelen) return ret; } -__weak_reference(_getsockname, getsockname); +__strong_reference(_getsockname, getsockname); #endif diff --git a/lib/libc_r/uthread/uthread_getsockopt.c b/lib/libc_r/uthread/uthread_getsockopt.c index 45a0834..3222dbd 100644 --- a/lib/libc_r/uthread/uthread_getsockopt.c +++ b/lib/libc_r/uthread/uthread_getsockopt.c @@ -50,5 +50,5 @@ _getsockopt(int fd, int level, int optname, void *optval, socklen_t return ret; } -__weak_reference(_getsockopt, getsockopt); +__strong_reference(_getsockopt, getsockopt); #endif diff --git a/lib/libc_r/uthread/uthread_ioctl.c b/lib/libc_r/uthread/uthread_ioctl.c index 0a3d14e..e72615a 100644 --- a/lib/libc_r/uthread/uthread_ioctl.c +++ b/lib/libc_r/uthread/uthread_ioctl.c @@ -77,5 +77,5 @@ _ioctl(int fd, unsigned long request,...) return (ret); } -__weak_reference(_ioctl, ioctl); +__strong_reference(_ioctl, ioctl); #endif diff --git a/lib/libc_r/uthread/uthread_listen.c b/lib/libc_r/uthread/uthread_listen.c index 1632b60..14a6e6d 100644 --- a/lib/libc_r/uthread/uthread_listen.c +++ b/lib/libc_r/uthread/uthread_listen.c @@ -49,5 +49,5 @@ _listen(int fd, int backlog) return (ret); } -__weak_reference(_listen, listen); +__strong_reference(_listen, listen); #endif diff --git a/lib/libc_r/uthread/uthread_pipe.c b/lib/libc_r/uthread/uthread_pipe.c index 770384c..9767742 100644 --- a/lib/libc_r/uthread/uthread_pipe.c +++ b/lib/libc_r/uthread/uthread_pipe.c @@ -52,5 +52,5 @@ _pipe(int fds[2]) return (ret); } -__weak_reference(_pipe, pipe); +__strong_reference(_pipe, pipe); #endif diff --git a/lib/libc_r/uthread/uthread_poll.c b/lib/libc_r/uthread/uthread_poll.c index d395250..3717273 100644 --- a/lib/libc_r/uthread/uthread_poll.c +++ b/lib/libc_r/uthread/uthread_poll.c @@ -97,5 +97,5 @@ _poll(struct pollfd *fds, unsigned int nfds, int timeout) return (ret); } -__weak_reference(_poll, poll); +__strong_reference(_poll, poll); #endif diff --git a/lib/libc_r/uthread/uthread_readv.c b/lib/libc_r/uthread/uthread_readv.c index 2c66a98..d8e02c0 100644 --- a/lib/libc_r/uthread/uthread_readv.c +++ b/lib/libc_r/uthread/uthread_readv.c @@ -91,5 +91,5 @@ _readv(int fd, const struct iovec * iov, int iovcnt) return (ret); } -__weak_reference(_readv, readv); +__strong_reference(_readv, readv); #endif diff --git a/lib/libc_r/uthread/uthread_recvfrom.c b/lib/libc_r/uthread/uthread_recvfrom.c index ed761ca..8fcf7a6 100644 --- a/lib/libc_r/uthread/uthread_recvfrom.c +++ b/lib/libc_r/uthread/uthread_recvfrom.c @@ -72,5 +72,5 @@ _recvfrom(int fd, void *buf, size_t len, int flags, struct sockaddr * from, return (ret); } -__weak_reference(_recvfrom, recvfrom); +__strong_reference(_recvfrom, recvfrom); #endif diff --git a/lib/libc_r/uthread/uthread_recvmsg.c b/lib/libc_r/uthread/uthread_recvmsg.c index cbad5f5..da15d99 100644 --- a/lib/libc_r/uthread/uthread_recvmsg.c +++ b/lib/libc_r/uthread/uthread_recvmsg.c @@ -71,5 +71,5 @@ _recvmsg(int fd, struct msghdr *msg, int flags) return (ret); } -__weak_reference(_recvmsg, recvmsg); +__strong_reference(_recvmsg, recvmsg); #endif diff --git a/lib/libc_r/uthread/uthread_select.c b/lib/libc_r/uthread/uthread_select.c index d0e61e2..0a7c0d4 100644 --- a/lib/libc_r/uthread/uthread_select.c +++ b/lib/libc_r/uthread/uthread_select.c @@ -204,5 +204,5 @@ _select(int numfds, fd_set * readfds, fd_set * writefds, fd_set * exceptfds, return (ret); } -__weak_reference(_select, select); +__strong_reference(_select, select); #endif diff --git a/lib/libc_r/uthread/uthread_sendmsg.c b/lib/libc_r/uthread/uthread_sendmsg.c index c515269..13da2eb 100644 --- a/lib/libc_r/uthread/uthread_sendmsg.c +++ b/lib/libc_r/uthread/uthread_sendmsg.c @@ -70,5 +70,5 @@ _sendmsg(int fd, const struct msghdr *msg, int flags) return (ret); } -__weak_reference(_sendmsg, sendmsg); +__strong_reference(_sendmsg, sendmsg); #endif diff --git a/lib/libc_r/uthread/uthread_sendto.c b/lib/libc_r/uthread/uthread_sendto.c index 6c1df48..f830c5a 100644 --- a/lib/libc_r/uthread/uthread_sendto.c +++ b/lib/libc_r/uthread/uthread_sendto.c @@ -71,5 +71,5 @@ _sendto(int fd, const void *msg, size_t len, int flags, const struct return (ret); } -__weak_reference(_sendto, sendto); +__strong_reference(_sendto, sendto); #endif diff --git a/lib/libc_r/uthread/uthread_setsockopt.c b/lib/libc_r/uthread/uthread_setsockopt.c index fe0a55e..f50a708 100644 --- a/lib/libc_r/uthread/uthread_setsockopt.c +++ b/lib/libc_r/uthread/uthread_setsockopt.c @@ -50,5 +50,5 @@ _setsockopt(int fd, int level, int optname, const void *optval, socklen_t return ret; } -__weak_reference(_setsockopt, setsockopt); +__strong_reference(_setsockopt, setsockopt); #endif diff --git a/lib/libc_r/uthread/uthread_shutdown.c b/lib/libc_r/uthread/uthread_shutdown.c index 8ce4d6d..c4b08ff7 100644 --- a/lib/libc_r/uthread/uthread_shutdown.c +++ b/lib/libc_r/uthread/uthread_shutdown.c @@ -70,5 +70,5 @@ _shutdown(int fd, int how) return (ret); } -__weak_reference(_shutdown, shutdown); +__strong_reference(_shutdown, shutdown); #endif diff --git a/lib/libc_r/uthread/uthread_sigaction.c b/lib/libc_r/uthread/uthread_sigaction.c index e0aa523..319999b 100644 --- a/lib/libc_r/uthread/uthread_sigaction.c +++ b/lib/libc_r/uthread/uthread_sigaction.c @@ -106,5 +106,5 @@ _sigaction(int sig, const struct sigaction * act, struct sigaction * oact) return (ret); } -__weak_reference(_sigaction, sigaction); +__strong_reference(_sigaction, sigaction); #endif diff --git a/lib/libc_r/uthread/uthread_sigpending.c b/lib/libc_r/uthread/uthread_sigpending.c index a630f0c..a118347 100644 --- a/lib/libc_r/uthread/uthread_sigpending.c +++ b/lib/libc_r/uthread/uthread_sigpending.c @@ -54,5 +54,5 @@ _sigpending(sigset_t * set) return (ret); } -__weak_reference(_sigpending, sigpending); +__strong_reference(_sigpending, sigpending); #endif diff --git a/lib/libc_r/uthread/uthread_sigprocmask.c b/lib/libc_r/uthread/uthread_sigprocmask.c index b10089c..6addb4a 100644 --- a/lib/libc_r/uthread/uthread_sigprocmask.c +++ b/lib/libc_r/uthread/uthread_sigprocmask.c @@ -90,5 +90,5 @@ _sigprocmask(int how, const sigset_t * set, sigset_t * oset) return (ret); } -__weak_reference(_sigprocmask, sigprocmask); +__strong_reference(_sigprocmask, sigprocmask); #endif diff --git a/lib/libc_r/uthread/uthread_socket.c b/lib/libc_r/uthread/uthread_socket.c index d1fe141..5cd8f75 100644 --- a/lib/libc_r/uthread/uthread_socket.c +++ b/lib/libc_r/uthread/uthread_socket.c @@ -56,5 +56,5 @@ _socket(int af, int type, int protocol) return (fd); } -__weak_reference(_socket, socket); +__strong_reference(_socket, socket); #endif diff --git a/lib/libc_r/uthread/uthread_socketpair.c b/lib/libc_r/uthread/uthread_socketpair.c index 023bfa9..f54256d 100644 --- a/lib/libc_r/uthread/uthread_socketpair.c +++ b/lib/libc_r/uthread/uthread_socketpair.c @@ -54,5 +54,5 @@ _socketpair(int af, int type, int protocol, int pair[2]) return (ret); } -__weak_reference(_socketpair, socketpair); +__strong_reference(_socketpair, socketpair); #endif diff --git a/lib/libc_r/uthread/uthread_wait4.c b/lib/libc_r/uthread/uthread_wait4.c index 90eb0ab..083c230 100644 --- a/lib/libc_r/uthread/uthread_wait4.c +++ b/lib/libc_r/uthread/uthread_wait4.c @@ -65,5 +65,5 @@ _wait4(pid_t pid, int *istat, int options, struct rusage * rusage) return (ret); } -__weak_reference(_wait4, wait4); +__strong_reference(_wait4, wait4); #endif diff --git a/lib/libc_r/uthread/uthread_writev.c b/lib/libc_r/uthread/uthread_writev.c index 7c5fffe..5f31468 100644 --- a/lib/libc_r/uthread/uthread_writev.c +++ b/lib/libc_r/uthread/uthread_writev.c @@ -201,5 +201,5 @@ _writev(int fd, const struct iovec * iov, int iovcnt) return (ret); } -__weak_reference(_writev, writev); +__strong_reference(_writev, writev); #endif diff --git a/lib/libkse/thread/thr_aio_suspend.c b/lib/libkse/thread/thr_aio_suspend.c index 3bc373a..5940282 100644 --- a/lib/libkse/thread/thr_aio_suspend.c +++ b/lib/libkse/thread/thr_aio_suspend.c @@ -47,5 +47,5 @@ _aio_suspend(const struct aiocb * const iocbs[], int niocb, const struct return ret; } -__weak_reference(_aio_suspend, aio_suspend); +__strong_reference(_aio_suspend, aio_suspend); #endif diff --git a/lib/libkse/thread/thr_exit.c b/lib/libkse/thread/thr_exit.c index 22e2ce8..0d22638 100644 --- a/lib/libkse/thread/thr_exit.c +++ b/lib/libkse/thread/thr_exit.c @@ -77,7 +77,7 @@ void __exit(int status) _thread_sys__exit(status); } -__weak_reference(__exit, _exit); +__strong_reference(__exit, _exit); void _thread_exit(char *fname, int lineno, char *string) diff --git a/lib/libkse/thread/thr_fork.c b/lib/libkse/thread/thr_fork.c index 88f1c43..a8e85d8 100644 --- a/lib/libkse/thread/thr_fork.c +++ b/lib/libkse/thread/thr_fork.c @@ -221,5 +221,5 @@ _fork(void) return (ret); } -__weak_reference(_fork, fork); +__strong_reference(_fork, fork); #endif diff --git a/lib/libkse/thread/thr_poll.c b/lib/libkse/thread/thr_poll.c index d395250..3717273 100644 --- a/lib/libkse/thread/thr_poll.c +++ b/lib/libkse/thread/thr_poll.c @@ -97,5 +97,5 @@ _poll(struct pollfd *fds, unsigned int nfds, int timeout) return (ret); } -__weak_reference(_poll, poll); +__strong_reference(_poll, poll); #endif diff --git a/lib/libkse/thread/thr_readv.c b/lib/libkse/thread/thr_readv.c index 2c66a98..d8e02c0 100644 --- a/lib/libkse/thread/thr_readv.c +++ b/lib/libkse/thread/thr_readv.c @@ -91,5 +91,5 @@ _readv(int fd, const struct iovec * iov, int iovcnt) return (ret); } -__weak_reference(_readv, readv); +__strong_reference(_readv, readv); #endif diff --git a/lib/libkse/thread/thr_select.c b/lib/libkse/thread/thr_select.c index d0e61e2..0a7c0d4 100644 --- a/lib/libkse/thread/thr_select.c +++ b/lib/libkse/thread/thr_select.c @@ -204,5 +204,5 @@ _select(int numfds, fd_set * readfds, fd_set * writefds, fd_set * exceptfds, return (ret); } -__weak_reference(_select, select); +__strong_reference(_select, select); #endif diff --git a/lib/libkse/thread/thr_sigaction.c b/lib/libkse/thread/thr_sigaction.c index e0aa523..319999b 100644 --- a/lib/libkse/thread/thr_sigaction.c +++ b/lib/libkse/thread/thr_sigaction.c @@ -106,5 +106,5 @@ _sigaction(int sig, const struct sigaction * act, struct sigaction * oact) return (ret); } -__weak_reference(_sigaction, sigaction); +__strong_reference(_sigaction, sigaction); #endif diff --git a/lib/libkse/thread/thr_sigpending.c b/lib/libkse/thread/thr_sigpending.c index a630f0c..a118347 100644 --- a/lib/libkse/thread/thr_sigpending.c +++ b/lib/libkse/thread/thr_sigpending.c @@ -54,5 +54,5 @@ _sigpending(sigset_t * set) return (ret); } -__weak_reference(_sigpending, sigpending); +__strong_reference(_sigpending, sigpending); #endif diff --git a/lib/libkse/thread/thr_sigprocmask.c b/lib/libkse/thread/thr_sigprocmask.c index b10089c..6addb4a 100644 --- a/lib/libkse/thread/thr_sigprocmask.c +++ b/lib/libkse/thread/thr_sigprocmask.c @@ -90,5 +90,5 @@ _sigprocmask(int how, const sigset_t * set, sigset_t * oset) return (ret); } -__weak_reference(_sigprocmask, sigprocmask); +__strong_reference(_sigprocmask, sigprocmask); #endif diff --git a/lib/libkse/thread/thr_wait4.c b/lib/libkse/thread/thr_wait4.c index 90eb0ab..083c230 100644 --- a/lib/libkse/thread/thr_wait4.c +++ b/lib/libkse/thread/thr_wait4.c @@ -65,5 +65,5 @@ _wait4(pid_t pid, int *istat, int options, struct rusage * rusage) return (ret); } -__weak_reference(_wait4, wait4); +__strong_reference(_wait4, wait4); #endif diff --git a/lib/libkse/thread/thr_writev.c b/lib/libkse/thread/thr_writev.c index 7c5fffe..5f31468 100644 --- a/lib/libkse/thread/thr_writev.c +++ b/lib/libkse/thread/thr_writev.c @@ -201,5 +201,5 @@ _writev(int fd, const struct iovec * iov, int iovcnt) return (ret); } -__weak_reference(_writev, writev); +__strong_reference(_writev, writev); #endif diff --git a/lib/libpthread/thread/thr_aio_suspend.c b/lib/libpthread/thread/thr_aio_suspend.c index 3bc373a..5940282 100644 --- a/lib/libpthread/thread/thr_aio_suspend.c +++ b/lib/libpthread/thread/thr_aio_suspend.c @@ -47,5 +47,5 @@ _aio_suspend(const struct aiocb * const iocbs[], int niocb, const struct return ret; } -__weak_reference(_aio_suspend, aio_suspend); +__strong_reference(_aio_suspend, aio_suspend); #endif diff --git a/lib/libpthread/thread/thr_exit.c b/lib/libpthread/thread/thr_exit.c index 22e2ce8..0d22638 100644 --- a/lib/libpthread/thread/thr_exit.c +++ b/lib/libpthread/thread/thr_exit.c @@ -77,7 +77,7 @@ void __exit(int status) _thread_sys__exit(status); } -__weak_reference(__exit, _exit); +__strong_reference(__exit, _exit); void _thread_exit(char *fname, int lineno, char *string) diff --git a/lib/libpthread/thread/thr_fork.c b/lib/libpthread/thread/thr_fork.c index 88f1c43..a8e85d8 100644 --- a/lib/libpthread/thread/thr_fork.c +++ b/lib/libpthread/thread/thr_fork.c @@ -221,5 +221,5 @@ _fork(void) return (ret); } -__weak_reference(_fork, fork); +__strong_reference(_fork, fork); #endif diff --git a/lib/libpthread/thread/thr_poll.c b/lib/libpthread/thread/thr_poll.c index d395250..3717273 100644 --- a/lib/libpthread/thread/thr_poll.c +++ b/lib/libpthread/thread/thr_poll.c @@ -97,5 +97,5 @@ _poll(struct pollfd *fds, unsigned int nfds, int timeout) return (ret); } -__weak_reference(_poll, poll); +__strong_reference(_poll, poll); #endif diff --git a/lib/libpthread/thread/thr_readv.c b/lib/libpthread/thread/thr_readv.c index 2c66a98..d8e02c0 100644 --- a/lib/libpthread/thread/thr_readv.c +++ b/lib/libpthread/thread/thr_readv.c @@ -91,5 +91,5 @@ _readv(int fd, const struct iovec * iov, int iovcnt) return (ret); } -__weak_reference(_readv, readv); +__strong_reference(_readv, readv); #endif diff --git a/lib/libpthread/thread/thr_select.c b/lib/libpthread/thread/thr_select.c index d0e61e2..0a7c0d4 100644 --- a/lib/libpthread/thread/thr_select.c +++ b/lib/libpthread/thread/thr_select.c @@ -204,5 +204,5 @@ _select(int numfds, fd_set * readfds, fd_set * writefds, fd_set * exceptfds, return (ret); } -__weak_reference(_select, select); +__strong_reference(_select, select); #endif diff --git a/lib/libpthread/thread/thr_sigaction.c b/lib/libpthread/thread/thr_sigaction.c index e0aa523..319999b 100644 --- a/lib/libpthread/thread/thr_sigaction.c +++ b/lib/libpthread/thread/thr_sigaction.c @@ -106,5 +106,5 @@ _sigaction(int sig, const struct sigaction * act, struct sigaction * oact) return (ret); } -__weak_reference(_sigaction, sigaction); +__strong_reference(_sigaction, sigaction); #endif diff --git a/lib/libpthread/thread/thr_sigpending.c b/lib/libpthread/thread/thr_sigpending.c index a630f0c..a118347 100644 --- a/lib/libpthread/thread/thr_sigpending.c +++ b/lib/libpthread/thread/thr_sigpending.c @@ -54,5 +54,5 @@ _sigpending(sigset_t * set) return (ret); } -__weak_reference(_sigpending, sigpending); +__strong_reference(_sigpending, sigpending); #endif diff --git a/lib/libpthread/thread/thr_sigprocmask.c b/lib/libpthread/thread/thr_sigprocmask.c index b10089c..6addb4a 100644 --- a/lib/libpthread/thread/thr_sigprocmask.c +++ b/lib/libpthread/thread/thr_sigprocmask.c @@ -90,5 +90,5 @@ _sigprocmask(int how, const sigset_t * set, sigset_t * oset) return (ret); } -__weak_reference(_sigprocmask, sigprocmask); +__strong_reference(_sigprocmask, sigprocmask); #endif diff --git a/lib/libpthread/thread/thr_wait4.c b/lib/libpthread/thread/thr_wait4.c index 90eb0ab..083c230 100644 --- a/lib/libpthread/thread/thr_wait4.c +++ b/lib/libpthread/thread/thr_wait4.c @@ -65,5 +65,5 @@ _wait4(pid_t pid, int *istat, int options, struct rusage * rusage) return (ret); } -__weak_reference(_wait4, wait4); +__strong_reference(_wait4, wait4); #endif diff --git a/lib/libpthread/thread/thr_writev.c b/lib/libpthread/thread/thr_writev.c index 7c5fffe..5f31468 100644 --- a/lib/libpthread/thread/thr_writev.c +++ b/lib/libpthread/thread/thr_writev.c @@ -201,5 +201,5 @@ _writev(int fd, const struct iovec * iov, int iovcnt) return (ret); } -__weak_reference(_writev, writev); +__strong_reference(_writev, writev); #endif |