From e5e45b53371ed058ed385b1940e8b36419740750 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 Dec 2002 04:05:39 +0000 Subject: Update. 2002-12-09 Ulrich Drepper * sysdeps/unix/sysv/linux/syscalls.list: Add __libc_creat and __libc_select aliases. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Define __libc_sigwaitinfo alias. * sysdeps/unix/sysv/linux/sigwait.c: Define __libc_sigwait alias. * sysdeps/unix/sysv/linux/sigsuspend.c: Define __libc_sigsuspend alias. * sysdeps/unix/sysv/linux/poll.c: Define __libc_poll alias. * sysdeps/unix/syscalls.list: Define __libc_select alias. * sysdeps/posix/waitid.c: Define __libc_waitid alias. * sysdeps/posix/sigpause.c: Define __libc_sigpause and __libc___xpg_sigpause aliases. * sysdeps/generic/pselect.c: Define __libc_pselect alias. * misc/error.c: Remove use of USE_IN_LIBIO. --- sysdeps/generic/pselect.c | 1 + sysdeps/posix/sigpause.c | 2 ++ sysdeps/posix/waitid.c | 1 + sysdeps/unix/syscalls.list | 2 +- sysdeps/unix/sysv/linux/poll.c | 1 + sysdeps/unix/sysv/linux/sigsuspend.c | 1 + sysdeps/unix/sysv/linux/sigwait.c | 1 + sysdeps/unix/sysv/linux/sigwaitinfo.c | 1 + sysdeps/unix/sysv/linux/syscalls.list | 4 ++-- 9 files changed, 11 insertions(+), 3 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/generic/pselect.c b/sysdeps/generic/pselect.c index 031540e81d..6aa60e8e72 100644 --- a/sysdeps/generic/pselect.c +++ b/sysdeps/generic/pselect.c @@ -63,3 +63,4 @@ __pselect (nfds, readfds, writefds, exceptfds, timeout, sigmask) return retval; } weak_alias (__pselect, pselect) +strong_alias (__pselect, __libc_pselect) diff --git a/sysdeps/posix/sigpause.c b/sysdeps/posix/sigpause.c index 71818740ed..f764cba0fc 100644 --- a/sysdeps/posix/sigpause.c +++ b/sysdeps/posix/sigpause.c @@ -54,6 +54,7 @@ __default_sigpause (int mask) } #undef sigpause weak_alias (__default_sigpause, sigpause) +strong_alias (__default_sigpause, __libc_sigpause) /* We have to provide a default version of this function since the @@ -64,3 +65,4 @@ __xpg_sigpause (int sig) { return __sigpause (sig, 1); } +strong_alias (__xpg_sigpause, __libc___xpg_sigpause) diff --git a/sysdeps/posix/waitid.c b/sysdeps/posix/waitid.c index 8687436309..ef2ab2ed54 100644 --- a/sysdeps/posix/waitid.c +++ b/sysdeps/posix/waitid.c @@ -119,3 +119,4 @@ __waitid (idtype, id, infop, options) return 0; } weak_alias (__waitid, waitid) +strong_alias (__waitid, __libc_waitid) diff --git a/sysdeps/unix/syscalls.list b/sysdeps/unix/syscalls.list index edcd4a749e..a7a875450b 100644 --- a/sysdeps/unix/syscalls.list +++ b/sysdeps/unix/syscalls.list @@ -35,7 +35,7 @@ readv - readv i:ipi __readv readv reboot - reboot i:i reboot rename - rename i:ss rename rmdir - rmdir i:s __rmdir rmdir -select - select i:iPPPP __select select +select - select i:iPPPP __select __libc_select select setdomain - setdomainname i:si setdomainname setegid - setegid i:i __setegid setegid seteuid - seteuid i:i __seteuid seteuid diff --git a/sysdeps/unix/sysv/linux/poll.c b/sysdeps/unix/sysv/linux/poll.c index 8ddb244f2a..296893d4ca 100644 --- a/sysdeps/unix/sysv/linux/poll.c +++ b/sysdeps/unix/sysv/linux/poll.c @@ -65,6 +65,7 @@ __poll (fds, nfds, timeout) } libc_hidden_def (__poll) weak_alias (__poll, poll) +strong_alias (__poll, __libc_poll) /* Get the emulation code. */ # define __poll(fds, nfds, timeout) \ diff --git a/sysdeps/unix/sysv/linux/sigsuspend.c b/sysdeps/unix/sysv/linux/sigsuspend.c index 493dfcbf80..443c855d6c 100644 --- a/sysdeps/unix/sysv/linux/sigsuspend.c +++ b/sysdeps/unix/sysv/linux/sigsuspend.c @@ -66,3 +66,4 @@ __sigsuspend (set) } libc_hidden_def (__sigsuspend) weak_alias (__sigsuspend, sigsuspend) +strong_alias (__sigsuspend, __libc_sigsuspend) diff --git a/sysdeps/unix/sysv/linux/sigwait.c b/sysdeps/unix/sysv/linux/sigwait.c index 121e5e0557..78e58524d5 100644 --- a/sysdeps/unix/sysv/linux/sigwait.c +++ b/sysdeps/unix/sysv/linux/sigwait.c @@ -69,3 +69,4 @@ weak_alias (__sigwait, sigwait) #else # include #endif +strong_alias (__sigwait, __libc_sigwait) diff --git a/sysdeps/unix/sysv/linux/sigwaitinfo.c b/sysdeps/unix/sysv/linux/sigwaitinfo.c index b1569bc67f..d1e7a8da28 100644 --- a/sysdeps/unix/sysv/linux/sigwaitinfo.c +++ b/sysdeps/unix/sysv/linux/sigwaitinfo.c @@ -46,3 +46,4 @@ weak_alias (__sigwaitinfo, sigwaitinfo) #else # include #endif +strong_alias (__sigwaitinfo, __libc_sigwaitinfo) diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list index 2cb922e8cc..ce0f58bb0a 100644 --- a/sysdeps/unix/sysv/linux/syscalls.list +++ b/sysdeps/unix/sysv/linux/syscalls.list @@ -4,7 +4,7 @@ adjtimex adjtime adjtimex i:p __adjtimex adjtimex ntp_adjtime __adjtimex_interna bdflush EXTRA bdflush i:ii bdflush capget EXTRA capget i:pp capget capset EXTRA capset i:pp capset -creat - creat i:si creat +creat - creat i:si __libc_creat creat create_module EXTRA create_module 3 create_module delete_module EXTRA delete_module 3 delete_module fdatasync - fdatasync i:i fdatasync @@ -52,7 +52,7 @@ sched_setaffinity - sched_setaffinity i:iip sched_setaffinity sched_setp - sched_setparam i:ip __sched_setparam sched_setparam sched_sets - sched_setscheduler i:iip __sched_setscheduler sched_setscheduler sched_yield - sched_yield i: __sched_yield sched_yield -select - _newselect i:iPPPP __select select +select - _newselect i:iPPPP __select __libc_select select sendfile - sendfile i:iipi sendfile sendfile64 - sendfile64 i:iipi sendfile64 setfsgid EXTRA setfsgid i:i setfsgid -- cgit 1.4.1