diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-08-03 07:02:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-08-03 07:02:10 +0000 |
commit | 37ba7d66637bd9c82cb00663b26f2839d4a54ec7 (patch) | |
tree | 06902ca12c5edf81b7d3cdb500a63041a97894b0 /sysdeps/generic | |
parent | 6719f7a68f3e5a62103e64a4fe36a043f675a7d5 (diff) | |
download | glibc-37ba7d66637bd9c82cb00663b26f2839d4a54ec7.tar.gz glibc-37ba7d66637bd9c82cb00663b26f2839d4a54ec7.tar.xz glibc-37ba7d66637bd9c82cb00663b26f2839d4a54ec7.zip |
Update.
2002-08-02 Ulrich Drepper <drepper@redhat.com> * configure.in (HAVE_BROKEN_ALIAS_ATTRIBUTE): Add check for broken alias attribute handling. * config.h.in (HAVE_BROKEN_ALIAS_ATTRIBUTE): Add. * assert/assert.c (__assert_fail): Fix typo in comment. * include/rpc/rpc.h: Declare __libc_tsd_RPC_VARS if USE_TLS && HAVE___THREAD. * sunrpc/rpc_thread.c: Don't define __libc_tsd_RPC_VARS as static if USE_TLS && HAVE___THREAD. * sunrpc/Versions [libc] (GLIBC_PRIVATE): Export __libc_tsd_RPC_VARS. 2002-08-02 Jakub Jelinek <jakub@redhat.com> * assert/assert.c (__assert_fail): Remove undef. Replace INTDEF with libc_hidden_def. * assert/__assert.c (__assert): Remove INTUSE. * elf/dl-minimal.c (__assert_fail): Replace INTDEF with libc_hidden_weak. * include/libc-symbols.h (hidden_proto, hidden_def, hidden_weak, hidden_ver, libc_hidden_proto, libc_hidden_def, libc_hidden_weak, libc_hidden_ver, rtld_hidden_proto, rtld_hidden_def, rtld_hidden_weak, rltd_hidden_ver, libm_hidden_proto, libm_hidden_def, libm_hidden_weak, libm_hiden_ver): Define. * include/assert.h (__assert_fail_internal): Remove. (__assert_fail): Add prototype. Add hidden_proto. * include/libc-internal.h (__libc_freeres, __profile_frequency): Add libc_hidden_proto. * include/wchar.h (__mbrtowc_internal, __mbrlen_internal): Remove. (__mbrtowc, __mbrlen): Use libc_hidden_proto. Remove macros. * include/string.h (__mempcpy, __stpncpy, __rawmemchr, __strcasecmp): Add libc_hidden_proto. * include/fcntl.h (__open64, __libc_open, __libc_fcntl, __open, __fcntl): Add libc_hidden_proto. Remove macros. (__open_internal, __fcntl_internal): Remove. * libio/iofdopen.c (_IO_fcntl): Remove INTUSE from __fcntl. * malloc/set-freeres.c (__libc_freeres): Add libc_hidden_def. * nss/nsswitch.h (__nss_database_lookup, __nss_next): Add libc_hiden_proto. * nss/nsswitch.c (__nss_database_lookup, __nss_next): Add libc_hidden_def. * sysdeps/generic/mempcpy.c (__mempcpy): Remove undef. Add libc_hidden_def. * sysdeps/generic/open64.c (__open64): Add libc_hidden_def. * sysdeps/generic/open.c (__open): Remove undef. Add libc_hidden_def. Remove INTDEF. * sysdeps/generic/fcntl.c (__fcntl): Remove undef. Add libc_hidden_def. * sysdeps/mach/hurd/fcntl.c (__fcntl): Likewise. * sysdeps/i386/i586/mempcpy.S (__mempcpy): Add libc_hidden_def. * sysdeps/i386/i686/mempcpy.S (__mempcpy): Likewise. * sysdeps/mach/hurd/fcntl.c (__libc_fcntl, __fcntl): Remove undef. (__fcntl): Remove INTDEF2. Add libc_hidden_weak. (__libc_fcntl): Add libc_hidden_def. * sysdeps/mach/hurd/open.c (__libc_open, __open): Remove undef. (__open): Remove INTDEF2. Add libc_hidden_weak. (__libc_open): Add libc_hidden_def. * sysdeps/posix/open64.c (__open64): Add libc_hidden_weak. * sysdeps/standalone/open.c (__open): Add libc_hidden_def. * sysdeps/unix/sysv/aix/fcntl.c (__libc_fcntl, __fcntl): Remove undef. Add libc_hidden_def. * sysdeps/unix/sysv/aix/open.c (__libc_open, __open): Remove undef. Add libc_hidden_def. * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl, __fcntl): Remove undef. (__fcntl): Remove INTDEF2. Add libc_hidden_weak. (__libc_fcntl): Add libc_hidden_def. * sysdeps/unix/sysv/linux/syscalls.list (__fcntl_internal, __getpgid_internal, __chown_internal): Remove. (__GI___fcntl, __GI___libc_fcntl, __GI___getpgid, __GI___pipe, __GI___sched_setscheduler, __GI___select, __GI___setpgid, __GI___chown): Add. * sysdeps/unix/syscalls.list (__close_internal, __dup2_internal, __getpid_internal, __open_internal, __write_internal): Remove. (__GI___fcntl, __GI___libc_fcntl, __GI___open, __GI___libc_open, __GI___chown, __GI___close, __GI___dup2, __GI___getpid, __GI___libc_open, __GI___open, __GI___read, __GI___libc_read, __GI___select, __GI___statfs, __GI___write, __GI___libc_write): Add. * wcsmbs/mbrlen.c (__mbrlen): Remove undef. Replace INTDEF with libc_hidden_def. * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. * catgets/catgetsinfo.h (__open_catalog): Add libc_hidden_proto. * catgets/open_catalog.c (__open_catalog): Add libc_hidden_def. * elf/dl-profile.c (__profile_frequency): Add libc_hidden_proto. * include/rpc/rpc.h (__rpc_thread_svc_fdset, __rpc_thread_createerr): Add libc_hidden_proto. * include/sys/poll.h (__poll): Add libc_hidden_proto. * include/sys/select.h (__select): Likewise. * include/sys/socket.h (__send): Likewise. * include/sys/statfs.h (__statfs): Likewise. * include/unistd.h (__pwrite64, __libc_read, __pipe, __chown, __dup2, __getpid, __getpgid, __setpgid, __close, __read, __write, __getpagesize, __sbrk): Likewise. (__chown_internal, __dup2_internal, __getpid_internal, __getpgid_internal, __close_internal, __write_internal, __getpagesize_internal): Remove. (__close, __dup2, __getpagesize, __getpgid, __getpid, __libc_write): Remove macros. * include/printf.h (__printf_fp): Add libc_hidden_proto. * include/sched.h (__sched_setscheduler): Likewise. * include/resolv.h (__res_ninit, __res_randomid): Likewise. * include/stdlib.h (__secure_getenv): Likewise. * include/signal.h (__sigaction, __sigsuspend): Likewise. * inet/getaliasent_r.c (NSS_attribute_hidden): Remove. * inet/getaliasname_r.c (NSS_attribute_hidden): Remove. * inet/getnetbyad_r.c (NSS_attribute_hidden): Remove. * inet/getnetbynm_r.c (NSS_attribute_hidden): Remove. * inet/getnetent_r.c (NSS_attribute_hidden): Remove. * inet/getproto_r.c (NSS_attribute_hidden): Remove. * inet/getprtent_r.c (NSS_attribute_hidden): Remove. * inet/getprtname_r.c (NSS_attribute_hidden): Remove. * inet/getrpcbyname_r.c (NSS_attribute_hidden): Remove. * inet/getrpcbynumber_r.c (NSS_attribute_hidden): Remove. * inet/getrpcent_r.c (NSS_attribute_hidden): Remove. * inet/getservent_r.c (NSS_attribute_hidden): Remove. * inet/getsrvbynm_r.c (NSS_attribute_hidden): Remove. * inet/getsrvbypt_r.c (NSS_attribute_hidden): Remove. * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Remove INTUSE. * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise. * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise. * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise. * libio/genops.c (__overflow): Add libc_hidden_def. * libio/iovdprintf.c: Remove libio.h include. * libio/libioP.h (libc_hidden_proto, libc_hidden_def, libc_hidden_weak): Define to nothing if not defined. (__overflow, __woverflow): Add libc_hidden_proto. * libio/wgenops.c (__woverflow): Add libc_hidden_def. * nss/getXXent_r.c (NSS_attribute_hidden): Remove. (DB_LOOKUP_FCT): Add libc_hidden_proto. * nss/getXXbyYY_r.c (NSS_attribute_hidden): Remove. (DB_LOOKUP_FCT): Add libc_hidden_proto. * nss/XXX-lookup.c (DB_LOOKUP_FCT): Add libc_hidden_proto and libc_hidden_def. * nss/hosts-lookup.c (__nss_hosts_lookup): Remove INTDEF. * posix/bsd-getpgrp.c (__getpgid_internal): Remove. (__getpgid): Add libc_hidden_proto. (__bsd_getpgrp): Remove INTUSE. * resolv/res_init.c (__res_ninit, __res_randomid): Add libc_hidden_def. * shadow/getspent_r.c (NSS_attribute_hidden): Remove. * shadow/getspnam_r.c (NSS_attribute_hidden): Remove. * stdio-common/printf_fp.c (__printf_fp): Add libc_hidden_def. * stdlib/strfmon.c (__printf_fp): Add libc_hidden_proto. * stdlib/secure-getenv.c (__secure_getenv): Add libc_hidden_def. * sunrpc/rpc_thread.c (__rpc_thread_svc_fdset, __rpc_thread_createerr): Add libc_hidden_def. * sysdeps/alpha/alphaev67/rawmemchr.S (__rawmemchr): Add libc_hidden_def. * sysdeps/alpha/alphaev67/stpncpy.S (__stpncpy): Likewise. * sysdeps/alpha/rawmemchr.S (__rawmemchr): Likewise. * sysdeps/alpha/stpncpy.S (__stpncpy): Likewise. * sysdeps/generic/chown.c (__chown): Likewise. * sysdeps/generic/close.c (__close): Likewise. * sysdeps/generic/dup2.c (__dup2): Likewise. * sysdeps/generic/pipe.c (__pipe): Likewise. * sysdeps/generic/prof-freq.c (__profile_frequency): Likewise. * sysdeps/generic/pwrite64.c (__pwrite64): Likewise. * sysdeps/generic/rawmemchr.c (__rawmemchr): Likewise. * sysdeps/generic/read.c (__libc_read): Likewise. (__read): Add libc_hidden_weak. * sysdeps/generic/sbrk.c (__sbrk): Add libc_hidden_def. * sysdeps/generic/sched_sets.c (__sched_setscheduler): Likewise. * sysdeps/generic/select.c (__select): Likewise. * sysdeps/generic/send.c (__send): Likewise. * sysdeps/generic/setpgid.c (__setpgid): Likewise. * sysdeps/generic/sigaction.c (__sigaction): Likewise. * sysdeps/generic/sigsuspend.c (__sigsuspend): Likewise. * sysdeps/generic/statfs.c (__statfs): Likewise. * sysdeps/generic/stpncpy.c (__stpncpy): Likewise. * sysdeps/generic/strcasecmp.c (__strcasecmp): Likewise. * sysdeps/generic/getpagesize.c (__getpagesize): Likewise. Remove undef and INTDEF. * sysdeps/generic/getpgid.c (__getpgid): Likewise. * sysdeps/generic/getpid.c (__getpid): Likewise. * sysdeps/generic/write.c (__libc_write): Likewise. (__write): Add libc_hidden_weak. Remove undef and INTDEF. * sysdeps/i386/rawmemchr.S (__rawmemchr): Add libc_hidden_def. * sysdeps/i386/stpncpy.S (__stpncpy): Likewise. * sysdeps/m68k/rawmemchr.S (__rawmemchr): Likewise. * sysdeps/mach/hurd/chown.c (__chown): Likewise. Remove INTDEF. * sysdeps/mach/hurd/close.c (__close): Add libc_hidden_def. Remove undef and INTDEF. * sysdeps/mach/hurd/dup2.c (__dup2): Likewise. * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise. * sysdeps/mach/hurd/getpid.c (__getpid): Likewise. * sysdeps/mach/getpagesize.c (__getpagesize): Likewise. * sysdeps/mach/hurd/write.c (__libc_write): Likewise. (__write): Add libc_hidden_weak. Remove undef and INTDEF. * sysdeps/mach/hurd/pipe.c: Include unistd.h. (__pipe): Add libc_hidden_def. * sysdeps/mach/hurd/dl-sysdep.c (__libc_read, __libc_write): Add libc_hidden_weak. * sysdeps/mach/hurd/poll.c (__poll): Add libc_hidden_def. * sysdeps/mach/hurd/profil.c (__profile_frequency): Likewise. * sysdeps/mach/hurd/read.c (__libc_read): Likewise. (__read): Add libc_hidden_weak. * sysdeps/mach/hurd/pwrite64.c (__pwrite64): Likewise. (__libc_pwrite64): Add libc_hidden_def. * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise. * sysdeps/mach/hurd/select.c (__select): Likewise. * sysdeps/mach/hurd/send.c (__send): Likewise. * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise. * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise. * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise. * sysdeps/mach/hurd/statfs.c (__statfs): Likewise. * sysdeps/posix/dup2.c: Likewise. Remove undef and INTDEF. * sysdeps/posix/getpagesize.c (__getpagesize): Likewise. * sysdeps/posix/pwrite64.c (__libc_pwrite64): Add libc_hidden_def. (__pwrite64): Add libc_hidden_weak. * sysdeps/posix/sigsuspend.c (__sigsuspend): Add libc_hidden_def. * sysdeps/sparc/sparc64/rawmemchr.S (__rawmemchr): Likewise. * sysdeps/sparc/sparc64/stpncpy.S (__stpncpy): Likewise. * sysdeps/standalone/close.c (__close): Likewise. * sysdeps/standalone/write.c (__libc_write): Likewise. (__write): Add libc_hidden_weak. * sysdeps/standalone/read.c (__read): Likewise. (__libc_read): Add libc_hidden_def. * sysdeps/unix/grantpt.c (grantpt): Remove INTUSE. * sysdeps/unix/bsd/m68k/pipe.S (__pipe): Add libc_hidden_def. * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise. * sysdeps/unix/bsd/vax/pipe.S (__pipe): Likewise. * sysdeps/unix/bsd/syscalls.list (__GI___getpagesize): Likewise. * sysdeps/unix/bsd/poll.c (__poll): Likewise. * sysdeps/unix/bsd/sigaction.c (__sigaction): Likewise. * sysdeps/unix/bsd/sigsuspend.c (__sigsuspend): Likewise. * sysdeps/unix/common/syscalls.list (__GI___getpgid, __GI___setpgid, __GI___sigaction): Add. * sysdeps/unix/i386/pipe.S (__pipe): Add libc_hidden_def. * sysdeps/unix/inet/syscalls.list (__GI___send): Add. * sysdeps/unix/mips/pipe.S (__pipe): Add libc_hidden_def. * sysdeps/unix/sparc/pipe.S (__pipe): Likewise. * sysdeps/unix/sysv/irix4/syscalls.list (__GI___getpgid, __GI___setpgid): Add. * sysdeps/unix/sysv/aix/chown.c (__chown): Add libc_hidden_def. Remove undef and INTDEF. * sysdeps/unix/sysv/aix/getpgid.c (__getpgid): Likewise. * sysdeps/unix/sysv/aix/write.c (__write, __libc_write): Likewise. * sysdeps/unix/sysv/aix/close.c (__close): Add libc_hidden_def. * sysdeps/unix/sysv/aix/getpid.c (__getpid): Likewise. * sysdeps/unix/sysv/aix/pipe.c (__pipe): Likewise. * sysdeps/unix/sysv/aix/read.c (__read, __libc_read): Likewise. * sysdeps/unix/sysv/aix/poll.c (__poll): Likewise. * sysdeps/unix/sysv/aix/sbrk.c (__sbrk): Likewise. * sysdeps/unix/sysv/aix/sigaction.c (__sigaction): Likewise. * sysdeps/unix/sysv/aix/sigsuspend.c (__sigsuspend): Likewise. * sysdeps/unix/sysv/aix/statfs.c (__statfs): Likewise. * sysdeps/unix/sysv/aix/select.c (__select): Likewise. * sysdeps/unix/sysv/aix/setpgid.c (__setpgid): Likewise. * sysdeps/unix/sysv/linux/alpha/pipe.S (__pipe): Likewise. * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI___pwrite64, __GI___statfs, __GI___send): Add. * sysdeps/unix/sysv/linux/alpha/select.S (__select): Add libc_hidden_ver resp. libc_hidden_def. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend): Add libc_hidden_def. * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): Likewise. Remove undef and INTDEF. * sysdeps/unix/sysv/linux/ia64/pipe.S (__pipe): Add libc_hidden_def. * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___pwrite64, __GI___statfs, __GI___send): Add. * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction): Add libc_hidden_def. * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend): Likewise. * sysdeps/unix/sysv/linux/sh/pipe.S (__pipe): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown): Add libc_hidden_ver resp. libc_hidden_def. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___pwrite64, __GI___send): Add. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction): Add libc_hidden_weak. * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c (__sigsuspend): Add libc_hidden_def. * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI___send): Add. * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction): Add libc_hidden_weak. * sysdeps/unix/sysv/linux/i386/chown.c (__chown): Add libc_hidden_ver resp. libc_hidden_def. * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Add libc_hidden_weak. * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise. Remove INTDEF. * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize): Likewise. Remove undef. * sysdeps/unix/sysv/linux/mips/pwrite64.c (__pwrite64): Add libc_hidden_weak. * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI___send): Add. * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction): Add libc_hidden_weak. * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): Add libc_hidden_def. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c (__pwrite64): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize): Likewise. Remove undef and INTDEF. * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__pipe): Add libc_hidden_def. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction): Add libc_hidden_weak. * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__pipe): Add libc_hidden_def. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI___pwrite64, __GI___statfs, __GI___select, __GI___send): Add. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): Add libc_hidden_weak. * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c (__sigsuspend): Add libc_hidden_def. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI___pwrite64, __GI___statfs): Add. * sysdeps/unix/sysv/linux/x86_64/send.c (__send): Add libc_hidden_weak. * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction): Likewise. * sysdeps/unix/sysv/linux/getpagesize.c: Add libc_hidden_def. Remove undef and INTDEF. * sysdeps/unix/sysv/linux/poll.c (__poll): Add libc_hidden_def. * sysdeps/unix/sysv/linux/pwrite64.c (__pwrite64): Add libc_hidden_def. * sysdeps/unix/sysv/linux/send.S (__send): Likewise. * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Add libc_hidden_weak. * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Add libc_hidden_def. * sysdeps/unix/sysv/sco3.2.4/__setpgid.c (__setpgid): Likewise. * sysdeps/unix/sysv/sco3.2.4/sigaction.S (__sigaction): Likewise. * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list (__GI___sigaction): Add. * sysdeps/unix/sysv/sysv4/__getpgid.c (__getpgid): Add libc_hidden_def. Remove undef and INTDEF. * sysdeps/unix/sysv/sysv4/getpgid.c (__getpgid): Likewise. * sysdeps/unix/sysv/sysv4/__setpgid.c (__setpgid): Add libc_hidden_def. * sysdeps/unix/sysv/sysv4/setpgid.c (__setpgid): Likewise. * sysdeps/unix/sysv/sysv4/sigaction.c (__sigaction): Likewise. * sysdeps/unix/sysv/sigaction.c (__sigaction): Likewise. * sysdeps/unix/getpagesize.c (__getpagesize): Add libc_hidden_def. Remove undef and INTDEF. * configure.in (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add check for broken visibility attribute handling. * config.h.in (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add. 2002-08-02 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/chown.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/close.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/dup2.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/fcntl.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/getpagesize.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/getpgid.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/getpid.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/mempcpy.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/open.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/open64.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/pipe.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/prof-freq.c | 1 | ||||
-rw-r--r-- | sysdeps/generic/pwrite64.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/rawmemchr.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/read.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/sbrk.c | 2 | ||||
-rw-r--r-- | sysdeps/generic/sched_sets.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/select.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/send.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/setpgid.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/sigaction.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/sigsuspend.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/statfs.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/stpncpy.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/strcasecmp.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/write.c | 6 |
26 files changed, 49 insertions, 39 deletions
diff --git a/sysdeps/generic/chown.c b/sysdeps/generic/chown.c index b43675df3b..0e368f2ac4 100644 --- a/sysdeps/generic/chown.c +++ b/sysdeps/generic/chown.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1991, 1992, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1995, 1996, 1997, 2002 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -37,6 +38,7 @@ __chown (file, owner, group) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__chown) stub_warning (chown) weak_alias (__chown, chown) diff --git a/sysdeps/generic/close.c b/sysdeps/generic/close.c index d12462d33e..0856ba851b 100644 --- a/sysdeps/generic/close.c +++ b/sysdeps/generic/close.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -33,6 +33,7 @@ __close (fd) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__close) stub_warning (close) weak_alias (__close, close) diff --git a/sysdeps/generic/dup2.c b/sysdeps/generic/dup2.c index b376d08031..2b897896f6 100644 --- a/sysdeps/generic/dup2.c +++ b/sysdeps/generic/dup2.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -41,6 +41,7 @@ __dup2 (fd, fd2) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__dup2) stub_warning (dup2) weak_alias (__dup2, dup2) diff --git a/sysdeps/generic/fcntl.c b/sysdeps/generic/fcntl.c index aff3e84503..db6fbc399c 100644 --- a/sysdeps/generic/fcntl.c +++ b/sysdeps/generic/fcntl.c @@ -19,8 +19,6 @@ #include <errno.h> #include <fcntl.h> -#undef __fcntl - /* Perform file control operations on FD. */ int __fcntl (fd, cmd) @@ -36,6 +34,7 @@ __fcntl (fd, cmd) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__fcntl) stub_warning (fcntl) weak_alias (__fcntl, fcntl) diff --git a/sysdeps/generic/getpagesize.c b/sysdeps/generic/getpagesize.c index bfedd4c2c2..40ed1ee2b1 100644 --- a/sysdeps/generic/getpagesize.c +++ b/sysdeps/generic/getpagesize.c @@ -19,8 +19,6 @@ #include <errno.h> #include <unistd.h> -#undef __getpagesize - /* Return the system page size. */ int __getpagesize () @@ -28,8 +26,8 @@ __getpagesize () __set_errno (ENOSYS); return 0; } +libc_hidden_def (__getpagesize) stub_warning (getpagesize) -INTDEF(__getpagesize) weak_alias (__getpagesize, getpagesize) #include <stub-tag.h> diff --git a/sysdeps/generic/getpgid.c b/sysdeps/generic/getpgid.c index ed49b7d663..ad46771d2f 100644 --- a/sysdeps/generic/getpgid.c +++ b/sysdeps/generic/getpgid.c @@ -19,8 +19,6 @@ #include <unistd.h> #include <sys/types.h> -#undef __getpgid - /* Get the process group ID of process PID. */ pid_t __getpgid (pid) @@ -28,7 +26,7 @@ __getpgid (pid) { return pid; } -INTDEF(__getpgid) +libc_hidden_def (__getpgid) weak_alias (__getpgid, getpgid) stub_warning (getpgid) diff --git a/sysdeps/generic/getpid.c b/sysdeps/generic/getpid.c index 33b1cebe2c..26207961e9 100644 --- a/sysdeps/generic/getpid.c +++ b/sysdeps/generic/getpid.c @@ -19,8 +19,6 @@ #include <errno.h> #include <unistd.h> -#undef __getpid - /* Get the process ID of the calling process. */ int __getpid () @@ -28,8 +26,8 @@ __getpid () __set_errno (ENOSYS); return -1; } +libc_hidden_def (__getpid) stub_warning (getpid) -INTDEF(__getpid) weak_alias (__getpid, getpid) #include <stub-tag.h> diff --git a/sysdeps/generic/mempcpy.c b/sysdeps/generic/mempcpy.c index b7cad63414..dec58f32ae 100644 --- a/sysdeps/generic/mempcpy.c +++ b/sysdeps/generic/mempcpy.c @@ -1,7 +1,7 @@ /* Copy memory to memory until the specified number of bytes has been copied, return pointer to following byte. Overlap is NOT handled correctly. - Copyright (C) 1991, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1991, 1997, 1998, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Torbjorn Granlund (tege@sics.se). @@ -25,7 +25,6 @@ #include <pagecopy.h> #undef mempcpy -#undef __mempcpy void * __mempcpy (dstpp, srcpp, len) @@ -64,4 +63,5 @@ __mempcpy (dstpp, srcpp, len) return (void *) dstp; } +libc_hidden_def (__mempcpy) weak_alias (__mempcpy, mempcpy) diff --git a/sysdeps/generic/open.c b/sysdeps/generic/open.c index c9ea902447..188110b3f3 100644 --- a/sysdeps/generic/open.c +++ b/sysdeps/generic/open.c @@ -21,8 +21,6 @@ #include <stdarg.h> #include <stddef.h> -#undef __open - /* Open FILE with access OFLAG. If OFLAG includes O_CREAT, a third argument is the file protection. */ int @@ -49,8 +47,8 @@ __open (file, oflag) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__open) stub_warning (open) -INTDEF(__open) weak_alias (__open, open) #include <stub-tag.h> diff --git a/sysdeps/generic/open64.c b/sysdeps/generic/open64.c index 18c0023733..d9a38112ac 100644 --- a/sysdeps/generic/open64.c +++ b/sysdeps/generic/open64.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 1999, 2000, 2002 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -49,6 +50,7 @@ __libc_open64 (file, oflag) return -1; } strong_alias (__libc_open64, __open64) +libc_hidden_def (__open64) weak_alias (__libc_open64, BP_SYM (open64)) stub_warning (open64) diff --git a/sysdeps/generic/pipe.c b/sysdeps/generic/pipe.c index 5c2c1ba0f4..babaf9c24b 100644 --- a/sysdeps/generic/pipe.c +++ b/sysdeps/generic/pipe.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -37,6 +37,7 @@ __pipe (__pipedes) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__pipe) stub_warning (pipe) weak_alias (__pipe, pipe) diff --git a/sysdeps/generic/prof-freq.c b/sysdeps/generic/prof-freq.c index 0610534ad1..ffcc67931b 100644 --- a/sysdeps/generic/prof-freq.c +++ b/sysdeps/generic/prof-freq.c @@ -52,3 +52,4 @@ __profile_frequency (void) return 0; return (1000000 / tim.it_interval.tv_usec); } +libc_hidden_def (__profile_frequency) diff --git a/sysdeps/generic/pwrite64.c b/sysdeps/generic/pwrite64.c index 1b13d52447..dd14aa0bd7 100644 --- a/sysdeps/generic/pwrite64.c +++ b/sysdeps/generic/pwrite64.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1991,1995,1996,1997,1999,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -41,6 +41,7 @@ __libc_pwrite64 (int fd, const void *buf, size_t nbytes, off64_t offset) return -1; } strong_alias (__libc_pwrite64, __pwrite64) +libc_hidden_def (__pwrite64) weak_alias (__libc_pwrite64, pwrite64) stub_warning (pwrite64) #include <stub-tag.h> diff --git a/sysdeps/generic/rawmemchr.c b/sysdeps/generic/rawmemchr.c index 48a12b921d..cb00ad7e90 100644 --- a/sysdeps/generic/rawmemchr.c +++ b/sysdeps/generic/rawmemchr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,93,96,97,99,2000 Free Software Foundation, Inc. +/* Copyright (C) 1991,93,96,97,99,2000,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Based on strlen implementation by Torbjorn Granlund (tege@sics.se), with help from Dan Sahlin (dan@sics.se) and @@ -185,4 +185,5 @@ __rawmemchr (s, c_in) } } } +libc_hidden_def (__rawmemchr) weak_alias (__rawmemchr, rawmemchr) diff --git a/sysdeps/generic/read.c b/sysdeps/generic/read.c index d0fab0e305..3943edd689 100644 --- a/sysdeps/generic/read.c +++ b/sysdeps/generic/read.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -40,8 +40,10 @@ __libc_read (int fd, void *buf, size_t nbytes) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__libc_read) stub_warning (read) weak_alias (__libc_read, __read) +libc_hidden_weak (__read) weak_alias (__libc_read, read) #include <stub-tag.h> diff --git a/sysdeps/generic/sbrk.c b/sysdeps/generic/sbrk.c index 3e9ad54333..0df60076cc 100644 --- a/sysdeps/generic/sbrk.c +++ b/sysdeps/generic/sbrk.c @@ -52,5 +52,5 @@ __sbrk (intptr_t increment) return oldbrk; } - +libc_hidden_def (__sbrk) weak_alias (__sbrk, sbrk) diff --git a/sysdeps/generic/sched_sets.c b/sysdeps/generic/sched_sets.c index 6bb59fd542..631cac228b 100644 --- a/sysdeps/generic/sched_sets.c +++ b/sysdeps/generic/sched_sets.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -28,6 +28,7 @@ __sched_setscheduler (pid_t pid, int policy, const struct sched_param *param) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__sched_setscheduler) stub_warning (sched_setscheduler) weak_alias (__sched_setscheduler, sched_setscheduler) diff --git a/sysdeps/generic/select.c b/sysdeps/generic/select.c index 5f850594c2..124f26aff7 100644 --- a/sysdeps/generic/select.c +++ b/sysdeps/generic/select.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -36,6 +36,7 @@ __select (nfds, readfds, writefds, exceptfds, timeout) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__select) stub_warning (select) weak_alias (__select, select) diff --git a/sysdeps/generic/send.c b/sysdeps/generic/send.c index 1d2ae291ea..7f94fbb093 100644 --- a/sysdeps/generic/send.c +++ b/sysdeps/generic/send.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1991,1995,1996,1997,2001,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -30,8 +30,8 @@ __send (fd, buf, n, flags) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__send) weak_alias (__send, send) - stub_warning (send) #include <stub-tag.h> diff --git a/sysdeps/generic/setpgid.c b/sysdeps/generic/setpgid.c index 335e9ce933..cb2abf1159 100644 --- a/sysdeps/generic/setpgid.c +++ b/sysdeps/generic/setpgid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -30,6 +30,7 @@ __setpgid (pid, pgid) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__setpgid) stub_warning (setpgid) weak_alias (__setpgid, setpgid) diff --git a/sysdeps/generic/sigaction.c b/sysdeps/generic/sigaction.c index 731c6bb131..bf0a15bacb 100644 --- a/sysdeps/generic/sigaction.c +++ b/sysdeps/generic/sigaction.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -37,6 +37,7 @@ __sigaction (sig, act, oact) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__sigaction) stub_warning (sigaction) weak_alias (__sigaction, sigaction) diff --git a/sysdeps/generic/sigsuspend.c b/sysdeps/generic/sigsuspend.c index c44d25429a..58452e334c 100644 --- a/sysdeps/generic/sigsuspend.c +++ b/sysdeps/generic/sigsuspend.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1991,1995,1996,1997,1998,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -29,6 +29,7 @@ __sigsuspend (set) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__sigsuspend) weak_alias (__sigsuspend, sigsuspend) stub_warning (sigsuspend) diff --git a/sysdeps/generic/statfs.c b/sysdeps/generic/statfs.c index a6976bd385..af4a9ea4e5 100644 --- a/sysdeps/generic/statfs.c +++ b/sysdeps/generic/statfs.c @@ -1,5 +1,5 @@ /* statfs -- Return information about the filesystem on which FILE resides. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -28,6 +28,7 @@ __statfs (const char *file, struct statfs *buf) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__statfs) weak_alias (__statfs, statfs) stub_warning (statfs) diff --git a/sysdeps/generic/stpncpy.c b/sysdeps/generic/stpncpy.c index 522e3f48fe..164d0f1747 100644 --- a/sysdeps/generic/stpncpy.c +++ b/sysdeps/generic/stpncpy.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995, 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -95,5 +95,6 @@ __stpncpy (dest, src, n) return dest - 1; } #ifdef weak_alias +libc_hidden_def (__stpncpy) weak_alias (__stpncpy, stpncpy) #endif diff --git a/sysdeps/generic/strcasecmp.c b/sysdeps/generic/strcasecmp.c index 41766dff65..aa3a6db551 100644 --- a/sysdeps/generic/strcasecmp.c +++ b/sysdeps/generic/strcasecmp.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1991,1992,1995,1996,1997,2001 Free Software Foundation, Inc. +/* Copyright (C) 1991,1992,1995,1996,1997,2001,2002 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -66,5 +67,6 @@ __strcasecmp (s1, s2 LOCALE_PARAM) return result; } #ifndef __strcasecmp +libc_hidden_def (__strcasecmp) weak_alias (__strcasecmp, strcasecmp) #endif diff --git a/sysdeps/generic/write.c b/sysdeps/generic/write.c index 200104b5ea..928d43ced2 100644 --- a/sysdeps/generic/write.c +++ b/sysdeps/generic/write.c @@ -21,9 +21,6 @@ #include <unistd.h> #include <stddef.h> -#undef __libc_write -#undef __write - /* Write NBYTES of BUF to FD. Return the number written, or -1. */ ssize_t __libc_write (int fd, const void *buf, size_t nbytes) @@ -44,9 +41,10 @@ __libc_write (int fd, const void *buf, size_t nbytes) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__libc_write) stub_warning (write) weak_alias (__libc_write, __write) -INTDEF(__write) +libc_hidden_weak (__write) weak_alias (__libc_write, write) #include <stub-tag.h> |