platform/upstream/glibc.git
21 years ago2002-08-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 3 Aug 2002 22:26:02 +0000 (22:26 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* include/signal.h: Use libc_hidden_proto for raise, sigemptyset,
sigfillset, sigismember, __sigpause, __libc_current_sigrtmin,
and __libc_current_sigrtmax.
* signal/sigismem.c: Add libc_hidden_def.
* signal/sigfillset.c: Likewise.
* signal/sigempty.c: Likewise.
* sysdeps/generic/sigpause.c (__sigpause): Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Likewise.
* sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 Aug 2002 21:19:56 +0000 (21:19 +0000)]
Update.

2002-08-03  Ulrich Drepper  <drepper@redhat.com>

* include/string.h: Use libc_hidden_proto for __strcasecmp_l,
__strncasecmp_l, __strdup, __strndup, __strerror_r.
* sysdeps/generic/strcasecmp_l.c (__strcasecmp_l): Add
libc_hidden_def.
* string/strdup.c (__strdup): Likewise.
* string/strndup.c (__strndup): Likewise.
* sysdeps/generic/_strerror.c (__strerror_r): Likewise.
* sysdeps/generic/strncase_l.c (__strncasecmp_l): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 Aug 2002 19:46:32 +0000 (19:46 +0000)]
Update.

* include/libio.h: New file.
* libio/libioP.h (__overflow, __woverflow): Remove libc_hidden_proto.
* libio/iolibio.h: #include <libio.h>, not "libio.h".
* sysdeps/generic/morecore.c (__sbrk): Add libc_hidden_proto.
* sysdeps/unix/bsd/syscalls.list: Remove all __GI_* aliases.
* sysdeps/unix/common/syscalls.list: Likewise.
* sysdeps/unix/inet/syscalls.list: Likewise.
* sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Likewise.
* sysdeps/unix/syscalls.list: Likewise.

2002-08-03  Jakub Jelinek  <jakub@redhat.com>
the arguments is big enough to cause an overflow.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 Aug 2002 18:59:41 +0000 (18:59 +0000)]
Update.

2002-08-03  Jakub Jelinek  <jakub@redhat.com>
    Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c (public_cALLOc): Only divide if at least one of
arguments is big enough to cause an overflow.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 Aug 2002 18:43:13 +0000 (18:43 +0000)]
Update.

2002-08-03  Ulrich Drepper  <drepper@redhat.com>

* assert/assert.c: Use hidden_def not INTDEF.

2002-08-03  Jakub Jelinek  <jakub@redhat.com>

* include/libc-symbols.h: Optimize if HAVE_BROKEN_ALIAS_ATTRIBUTE is
not defined.

21 years agoOptimize if HAVE_BROKEN_ALIAS_ATTRIBUTE is not defined.
Ulrich Drepper [Sat, 3 Aug 2002 18:40:18 +0000 (18:40 +0000)]
Optimize if HAVE_BROKEN_ALIAS_ATTRIBUTE is not defined.

21 years ago* include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog.
Roland McGrath [Sat, 3 Aug 2002 12:59:33 +0000 (12:59 +0000)]
* include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog.

* include/err.h: Use libc_hidden_proto for warn, warnx, vwarn, vwarn,
verr, verrx.
* include/stdlib.h: Use libc_hidden_proto for exit, getenv, bsearch.
* misc/syslog.c: Add libc_hidden_def.
* misc/err.c: Likewise.
* stdlib/exit.c: Likewise.
* stdlib/bsearch.c: Likewise.
* sysdeps/generic/getenv.c: Likewise.

21 years ago* include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__].
Roland McGrath [Sat, 3 Aug 2002 12:09:37 +0000 (12:09 +0000)]
* include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__].

* sysdeps/unix/make-syscalls.sh: Generate libc_hidden_def or
libc_hidden_weak for every system call symbol defined.

* include/time.h: Use libc_hidden_proto for time, asctime, mktime,
timelocal, localtime, strftime.
* time/asctime.c: Add libc_hidden_def.
* time/mktime.c: Likewise.
* time/localtime.c: Likewise.
* time/strftime.c: Likewise.
* time/strptime.c: Likewise.
* sysdeps/generic/time.c: Likewise.
* sysdeps/unix/time.c: Likewise.
* sysdeps/unix/sysv/i386/time.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/time.S: Likewise.

* include/arpa/inet.h: Use libc_hidden_proto for inet_ntop, inet_pton.
inet_makeaddr, inet_netof, inet_addr, __inet_addr.
* resolv/inet_ntop.c: Likewise.
* resolv/inet_pton.c: Likewise.
* inet/inet_mkadr.c: Add libc_hidden_def.
* inet/inet_netof.c: Likewise.
* resolv/inet_addr.c: Likewise.

* include/libc-symbols.h: Remove `defined HAVE_BROKEN_ALIAS_ATTRIBUTE'
clauses from conditionals for now.  Will have to be fixed later
for older compilers.

21 years ago* sysdeps/generic/mempcpy.c (__mempcpy): #undef it before defn.
Roland McGrath [Sat, 3 Aug 2002 08:42:47 +0000 (08:42 +0000)]
* sysdeps/generic/mempcpy.c (__mempcpy): #undef it before defn.

* include/rpc/rpc.h: Declare RPC_VARS tsd as extern.
* sunrpc/rpc_thread.c: Define it without static.

21 years ago2002-08-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 3 Aug 2002 08:42:02 +0000 (08:42 +0000)]
2002-08-03  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/mempcpy.c (__mempcpy): #undef it before defn.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 Aug 2002 07:02:10 +0000 (07:02 +0000)]
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>

21 years ago(HAVE_BROKEN_ALIAS_ATTRIBUTE): Add. (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add.
Ulrich Drepper [Sat, 3 Aug 2002 06:06:26 +0000 (06:06 +0000)]
(HAVE_BROKEN_ALIAS_ATTRIBUTE): Add. (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add.

21 years ago* sunrpc/rpc_thread.c: Define it without static.
Roland McGrath [Sat, 3 Aug 2002 05:56:37 +0000 (05:56 +0000)]
* sunrpc/rpc_thread.c: Define it without static.

21 years ago2002-08-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 3 Aug 2002 05:54:35 +0000 (05:54 +0000)]
2002-08-02  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_SET_THREAD_AREA): Add missing \s.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 Aug 2002 05:51:04 +0000 (05:51 +0000)]
Update.

* pthread.c: Declare _errno, _h_errno, and _res unless we use TLS
internally.

21 years agoDeclare _errno, _h_errno, and _res unless we use TLS internally.
Ulrich Drepper [Sat, 3 Aug 2002 05:47:52 +0000 (05:47 +0000)]
Declare _errno, _h_errno, and _res unless we use TLS internally.

21 years ago2002-08-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 3 Aug 2002 05:08:17 +0000 (05:08 +0000)]
2002-08-02  Roland McGrath  <roland@redhat.com>

* include/rpc/rpc.h: Declare RPC_VARS tsd as extern.
* sunrpc/rpc_thread.c: Define it without static.

21 years ago* include/rpc/rpc.h: Declare RPC_VARS tsd as extern.
Roland McGrath [Sat, 3 Aug 2002 05:03:14 +0000 (05:03 +0000)]
* include/rpc/rpc.h: Declare RPC_VARS tsd as extern.

21 years agoRevert unintended bogons in last commit.
Roland McGrath [Sat, 3 Aug 2002 04:56:15 +0000 (04:56 +0000)]
Revert unintended bogons in last commit.

21 years ago(__assert_fail): Fix typo in comment.
Ulrich Drepper [Sat, 3 Aug 2002 03:54:03 +0000 (03:54 +0000)]
(__assert_fail): Fix typo in comment.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 Aug 2002 03:53:28 +0000 (03:53 +0000)]
Update.

2002-08-02  Ulrich Drepper  <drepper@redhat.com>

* cancel.c (__pthread_perform_cleanup) [USE_TLS && HAVE___THREAD]:
Don't use p_libc_specific element in thread descriptor.

21 years ago(gethostbyaddr): Shut up the compiler.
Ulrich Drepper [Sat, 3 Aug 2002 03:40:54 +0000 (03:40 +0000)]
(gethostbyaddr): Shut up the compiler.

21 years ago* elf/Makefile ($(objpfx)interp.os): Depend on config.make,
Roland McGrath [Fri, 2 Aug 2002 21:50:12 +0000 (21:50 +0000)]
* elf/Makefile ($(objpfx)interp.os): Depend on config.make,

since it sets the variables we use in a -D switch.

21 years ago* posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX.
Roland McGrath [Fri, 2 Aug 2002 21:16:39 +0000 (21:16 +0000)]
* posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX.

On 32-bit platforms they are the same; on 64-bit platforms ssize_t
matches long int, not int.

21 years ago* locale/localeinfo.h (_NL_CURRENT_DATA): New macro.
Roland McGrath [Fri, 2 Aug 2002 21:04:15 +0000 (21:04 +0000)]
* locale/localeinfo.h (_NL_CURRENT_DATA): New macro.

* wcsmbs/wcsmbsload.h (update_conversion_ptrs): Use it.
* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
* wctype/wctrans.c (wctrans): Likewise.
* wctype/wctype.c (__wctype): Likewise.
* intl/loadmsgcat.c (_nl_init_domain_conv): Use _NL_CURRENT.

21 years ago2002-08-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 Aug 2002 21:04:06 +0000 (21:04 +0000)]
2002-08-02  Roland McGrath  <roland@redhat.com>

* locale/localeinfo.h (_NL_CURRENT_DATA): New macro.
* wcsmbs/wcsmbsload.h (update_conversion_ptrs): Use it.
* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
* wctype/wctrans.c (wctrans): Likewise.
* wctype/wctype.c (__wctype): Likewise.
* intl/loadmsgcat.c (_nl_init_domain_conv): Use _NL_CURRENT.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 Aug 2002 20:32:21 +0000 (20:32 +0000)]
Update.

* locale/iso-639.def: Add entries for Venda and Nothern Sotho.
Reported by Dwayne Bailey <dwayne@obsidian.co.za>.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 Aug 2002 20:17:36 +0000 (20:17 +0000)]
Update.

2002-08-02  Ulrich Drepper  <drepper@redhat.com>

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Adapt
previous patch.

2002-06-29  Todd Fries  <todd@openbsd.org>

* resolv/gethnamaddr.c (gethostbyaddr): Try ip6.int if ip6.arpa fails.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 Aug 2002 19:59:19 +0000 (19:59 +0000)]
Update.

2002-08-02  Jakub Jelinek  <jakub@redhat.com>

* include/errno.h: Don't include tls.h if _ISOMAC is defined.

21 years agoDon't include tls.h if _ISOMAC is defined.
Ulrich Drepper [Fri, 2 Aug 2002 19:58:24 +0000 (19:58 +0000)]
Don't include tls.h if _ISOMAC is defined.

21 years ago* resolv/resolv.h (_res): Define macro unconditionally.
Roland McGrath [Fri, 2 Aug 2002 03:37:41 +0000 (03:37 +0000)]
* resolv/resolv.h (_res): Define macro unconditionally.

[! _LIBC_REENTRANT] (_res): Move this conditional decl to ...
* include/resolv.h: ... here.
[USE_TLS && HAVE___THREAD] (_res): #undef it and declare
as a __thread variable.
* resolv/res_libc.c [USE_TLS && HAVE___THREAD] (_res): Define it as
a __thread variable instead of a global.
* resolv/res_data.c [_LIBC]: Don't #undef _res.

* include/errno.h: Include <tls.h> to make sure USE_TLS defined by the
time we test it.

* intl/loadmsgcat.c [__GNUC__]: #undef alloca before defining it.

* malloc/malloc.c [_LIBC]: Include <string.h> instead of using local
decls of memset and memcpy.

* sysdeps/generic/sysdep.h (END): Conditionalize on [__ASSEMBLER__].
* sysdeps/unix/sysv/linux/i386/sysdep.h (L): Likewise.

* elf/dl-load.c (_dl_map_object_from_fd): Comment fix.

* sysdeps/generic/bits/libc-tsd.h [USE_TLS && HAVE___THREAD]
(__libc_tsd_define): Define using __thread.

* sunrpc/rpc_thread.c: Use __libc_tsd_define.
(__rpc_thread_variables): Use __libc_tsd_get.
(__rpc_thread_destroy): Use __libc_tsd_get instead of calling
__rpc_thread_variables, which might allocate what we're about to free.

* inet/herrno.c [USE_TLS && HAVE___THREAD] (h_errno): Define as a
thread-local variable.
* resolv/netdb.h (h_errno): Define macro unconditionally.
[_LIBC] (__set_h_errno): Macro moved to ...
* include/netdb.h: ... here.
[USE_TLS && HAVE___THREAD] (h_errno): Declare __thread variable.
[USE_TLS && HAVE___THREAD] (__set_h_errno): Define using that.
[! _LIBC_REENTRANT]: #undef h_errno here.

* include/errno.h: Protect from multiple inclusion.

* misc/sys/select.h (__NFDBITS, __FDELT, __FDMASK): #undef these
before defining them, since Linux's <linux/posix_types.h> might have
defined them.

2002-08-01  Roland McGrath  <roland@redhat.com>
2002-07-31  Roland McGrath  <roland@redhat.com>
2002-07-31  Roland McGrath  <roland@redhat.com>

21 years ago* sysdeps/pthread/bits/libc-tsd.h: Include <tls.h>.
Roland McGrath [Fri, 2 Aug 2002 03:32:24 +0000 (03:32 +0000)]
* sysdeps/pthread/bits/libc-tsd.h: Include <tls.h>.

[USE_TLS && HAVE___THREAD]: Just include the sysdeps/generic file,
which does the right thing when __thread support is available.
* descr.h (struct _pthread_descr_struct) [USE_TLS && HAVE___THREAD]:
Omit `p_libc_specific', `p_errnop', `p_errno', `p_h_errnop',
`p_h_errno', `p_resp', and `p_res' members.
* pthread.c (__pthread_initialize_minimal) [USE_TLS && HAVE___THREAD]:
Don't initialize `p_errnop' and `p_h_errnop' members.
(__pthread_reset_main_thread): Likewise.
(__pthread_initialize_manager): Likewise.
* manager.c (__pthread_manager, pthread_handle_create): Likewise.
* pthread.c (pthread_initialize) [USE_TLS && HAVE___THREAD]:
Don't initialize `p_resp' member.
(__pthread_reset_main_thread): Likewise.
* manager.c (pthread_handle_create): Likewise.
* specific.c (libc_internal_tsd_set, libc_internal_tsd_get):
Conditionalize these on [!(USE_TLS && HAVE___THREAD)].
* errno.c [USE_TLS && HAVE___THREAD]
(__h_errno_location, __res_state): Don't define these at all.

* sysdeps/i386/tls.h (INSTALL_DTV): Add parens around arguments!
(INSTALL_NEW_DTV, GET_DTV): Likewise.
* sysdeps/sh/tls.h (INSTALL_DTV, INSTALL_NEW_DTV, GET_DTV): Likewise.

* weaks.c: Don't include <errno.h> here.

2002-08-01  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): New macro, broken out of
TLS_INIT_TP.
(TLS_DO_SET_THREAD_AREA): New macro, uses thread_set_area syscall.
(TLS_SETUP_GS_SEGMENT): New macro, try one or the other or both.
(TLS_INIT_TP): Use that.

21 years ago2002-08-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 Aug 2002 03:30:17 +0000 (03:30 +0000)]
2002-08-01  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): New macro, broken out of
TLS_INIT_TP.
(TLS_DO_SET_THREAD_AREA): New macro, uses thread_set_area syscall.
(TLS_SETUP_GS_SEGMENT): New macro, try one or the other or both.
(TLS_INIT_TP): Use that.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 Aug 2002 01:43:32 +0000 (01:43 +0000)]
Update.

2002-08-02  Jakub Jelinek  <jakub@redhat.com>

* malloc/malloc.c (public_cALLOc): Check for overflow on
multiplication.
* sunrpc/xdr_array.c (xdr_array): Likewise.
* sunrpc/rpc/types.h (mem_free): Add comment.
Patch by Solar Designer <solar@openwall.com>.

2002-08-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_SET_THREAD_AREA_SYSCALL): Define.

* libio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
* libio/Makefile (headers): Add bits/sys_errlist.h to the list.
* sysdeps/generic/bits/sys_errlist.h: New file.  This does *not*
declare sys_errlist and sys_nerr.
* sysdeps/unix/sysv/linux/bits/sys_errlist.h: New file.  Does

21 years ago(xdr_array): Check for overflow on multiplication.
Ulrich Drepper [Fri, 2 Aug 2002 01:33:11 +0000 (01:33 +0000)]
(xdr_array): Check for overflow on multiplication.

21 years ago* libio/fileops.c (_IO_file_sync_mmap): New function.
Roland McGrath [Fri, 2 Aug 2002 01:29:37 +0000 (01:29 +0000)]
* libio/fileops.c (_IO_file_sync_mmap): New function.

(_IO_file_jumps_mmap): Use it.
(_IO_file_underflow_mmap): Rewritten.  If after EOF or fflush,
repeat the stat check and resize the mapped buffer as necessary.

2002-07-31  Roland McGrath  <roland@frob.com>

* libio/fileops.c (decide_maybe_mmap): New static function.
Code taken from libio/iofopen.c:__fopen_maybe_mmap to try to
mmap the file contents.  Then switch the jump tables to the mmap
tables if it worked, or the vanilla file tables if not.
(_IO_file_underflow_maybe_mmap): New function.
(_IO_file_seekoff_maybe_mmap): New function.
(_IO_file_xsgetn_maybe_mmap): New function.
(_IO_file_jumps_maybe_mmap): New variable, jump table using those.
* libio/libioP.h: Declare those.
* libio/wfileops.c (_IO_wfile_underflow_maybe_mmap): New function.
(_IO_wfile_jumps_maybe_mmap): New variable, jump table using that.
* libio/iofopen.c (__fopen_maybe_mmap): Don't try to mmap here.
If the stream is read-only, set its jump tables to those new ones.
* libio/iofdopen.c (_IO_new_fdopen) [_G_HAVE_MMAP]: Set the initial
jump tables to the maybe_mmap ones, and don't call __fopen_maybe_mmap.
We need the tables set before _IO_file_attach.

* libio/tst-mmap-eofsync.c: New file.
* libio/tst-mmap-fflushsync.c: New file.
* libio/bug-mmap-fflush.c: New file.
* libio/tst-mmap2-eofsync.c: New file.
* libio/Makefile (tests): Add them.

* libio/wfileops.c (_IO_wfile_underflow_mmap): Don't set EOF bit when
_IO_file_underflow_mmap fails, it already set the appropriate bit.

21 years ago2002-07-31 Roland McGrath <roland@frob.com>
Roland McGrath [Fri, 2 Aug 2002 01:27:53 +0000 (01:27 +0000)]
2002-07-31  Roland McGrath  <roland@frob.com>

* libio/fileops.c (decide_maybe_mmap): New static function.
Code taken from libio/iofopen.c:__fopen_maybe_mmap to try to
mmap the file contents.  Then switch the jump tables to the mmap
tables if it worked, or the vanilla file tables if not.
(_IO_file_underflow_maybe_mmap): New function.
(_IO_file_seekoff_maybe_mmap): New function.
(_IO_file_xsgetn_maybe_mmap): New function.
(_IO_file_jumps_maybe_mmap): New variable, jump table using those.
* libio/libioP.h: Declare those.
* libio/wfileops.c (_IO_wfile_underflow_maybe_mmap): New function.
(_IO_wfile_jumps_maybe_mmap): New variable, jump table using that.
* libio/iofopen.c (__fopen_maybe_mmap): Don't try to mmap here.
If the stream is read-only, set its jump tables to those new ones.
* libio/iofdopen.c (_IO_new_fdopen) [_G_HAVE_MMAP]: Set the initial
jump tables to the maybe_mmap ones, and don't call __fopen_maybe_mmap.
We need the tables set before _IO_file_attach.

21 years ago(public_cALLOc): Check for overflow on multiplication.
Ulrich Drepper [Fri, 2 Aug 2002 01:27:46 +0000 (01:27 +0000)]
(public_cALLOc): Check for overflow on multiplication.

21 years ago(DO_MODIFY_LDT): Move from INIT_THREAD_SELF. (INIT_THREAD_SELF): Use sys_thread_area...
Ulrich Drepper [Fri, 2 Aug 2002 01:11:43 +0000 (01:11 +0000)]
(DO_MODIFY_LDT): Move from INIT_THREAD_SELF. (INIT_THREAD_SELF): Use sys_thread_area syscall instead if available. (FREE_THREAD): Avoid modify_ldt if using GDT.

21 years ago2002-07-31 Jeff Bailey <jbailey@gnu.org>
Roland McGrath [Wed, 31 Jul 2002 23:30:24 +0000 (23:30 +0000)]
2002-07-31  Jeff Bailey  <jbailey@gnu.org>

        * libio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
Declarations moved to <bits/sys_errlist.h>.  Include that file.
        * libio/Makefile (headers): Add bits/sys_errlist.h to the list.
        * sysdeps/generic/bits/sys_errlist.h: New file.  This does *not*
        declare sys_errlist and sys_nerr.
        * sysdeps/unix/sysv/linux/bits/sys_errlist.h: New file.  Does
provide declarations.

21 years ago* elf/rtld.c (dl_main): Fix typo in error message.
Roland McGrath [Wed, 31 Jul 2002 23:16:57 +0000 (23:16 +0000)]
* elf/rtld.c (dl_main): Fix typo in error message.

2002-07-31  Roland McGrath  <roland@frob.com>

21 years ago* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): __fxstat -> __fxstat64,
Roland McGrath [Wed, 31 Jul 2002 23:16:05 +0000 (23:16 +0000)]
* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): __fxstat -> __fxstat64,

__xstat -> __xstat64, __lseek -> __libc_lseek64.  Completes 2002-06-09
sysdeps/mach/hurd/dl-sysdep.c change.

21 years ago2002-07-31 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 31 Jul 2002 23:15:21 +0000 (23:15 +0000)]
2002-07-31  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): __fxstat -> __fxstat64,
__xstat -> __xstat64, __lseek -> __libc_lseek64.  Completes 2002-06-09
sysdeps/mach/hurd/dl-sysdep.c change.

21 years agoUpdate.
Ulrich Drepper [Sun, 28 Jul 2002 22:43:25 +0000 (22:43 +0000)]
Update.

* sysdeps/unix/sysv/linux/configure.in: Check /lib/modules/`uname
-r`/build/include for kernel headers.

21 years agoUpdate.
Ulrich Drepper [Sun, 28 Jul 2002 19:04:09 +0000 (19:04 +0000)]
Update.

2002-07-28  Ulrich Drepper  <drepper@redhat.com>

* po/fi.po: New file.

21 years agoUpdate.
Ulrich Drepper [Sat, 27 Jul 2002 08:47:23 +0000 (08:47 +0000)]
Update.

2002-07-15  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (static_nss): Set to `yes' if --disable-shared.

2002-07-23  Bruno Haible  <bruno@clisp.org>

* intl/loadmsgcat.c (PRI*): Redefine the macros if PRI_MACROS_BROKEN
is set.

2002-07-25  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: New file.
* sysdeps/unix/sysv/linux/ia64/profil-counter.h: Fix profil_counter
arguments.

2002-07-25  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal): Add
alias.

2002-07-21  Bruno Haible  <bruno@clisp.org>

* intl/libintl.h (__GNU_GETTEXT_SUPPORTED_REVISION): New macro.
* intl/gettext.h (struct mo_file_header): New fields n_sysdep_segments,
sysdep_segments_offset, n_sysdep_strings, orig_sysdep_tab_offset,
trans_sysdep_tab_offset.
(struct sysdep_segment): New type.
(struct sysdep_string): New type.
(SEGMENTS_END): New macro.
* intl/gettextP.h (struct sysdep_string_desc): New type.
(struct loaded_domain): New fields malloced, n_sysdep_strings,
orig_sysdep_tab, trans_sysdep_tab, must_swap_hash_tab. Make fields
orig_tab, trans_tab, hash_tab to const pointers because they point
into read-only memory.
* intl/loadmsgcat.c: Include stdint.h, inttypes.h, hash-string.h.
(PRI*): Define fallback values.
(get_sysdep_segment_value): New function.
(_nl_load_domain): Distinguish major and minor revision parts. Add
support for minor revision 1 with system dependent strings.
(_nl_unload_domain): Also free the 'malloced' field.
* intl/dcigettext.c (_nl_find_msg): Remove test for domain->hash_size,
now done in loadmsgcat.c. Add support for system dependent strings.

21 years agoUpdate.
Ulrich Drepper [Sat, 27 Jul 2002 08:28:46 +0000 (08:28 +0000)]
Update.

2002-07-16  Stepan Kasal  <kasal@math.cas.cz>

* posix/bug-regex7.c: New file.
* posix/bug-regex8.c: New file.
* posix/Makefile (tests): Add bug-regex7 and bug-regex8.

2002-07-16  Stepan Kasal  <kasal@math.cas.cz>

* posix/bug-regex4.c (main): Fix typos.
* posix/bug-regex6.c (main): Likewise.

* posix/bug-regex6.c (main): Fix warnings.

* stdio-common/printf_fp.c (__printf_fp): If _FPIO_CONST_SHIFT is

21 years agoUpdate.
Ulrich Drepper [Sat, 27 Jul 2002 08:20:17 +0000 (08:20 +0000)]
Update.

2002-07-27  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/Makefile (CPPFLAGS): Add NOT_IN_libc.

* iconv/iconv_prog.c (main): Improve error message for the cases
where -t and/or -f parameter are missing.

2002-07-10  Stepan Kasal  <kasal@math.cas.cz>

* posix/regexec.c (re_match): Reorganize to remove duplicate code.
(re_search): Likewise.
(re_match_2): Likewise.
(re_search_2): Likewise.
(re_search_stub): New function.
(re_search_2_stub): New function.
* regcomp.c (re_compile_pattern): Typo in a comment fixed.

2002-07-10  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regex_internal.h: Add new member STOP to struct re_string_t.
(re_string_eoi): Use STOP instead of LEN.
* posix/regex_internal.c (re_string_allocate): Initialize pstr->len.
(re_string_construct): Likewise.
(re_string_reconstruct): Adjust pstr->stop like pstr->len.
* posix/regexec.c (re_search_internal): Add a new argument STOP
so that it can handle the argument STOP of re_search_2 and re_match_2
correctly.
(regexec): Adapt to new I/F of re_search_internal.
(re_search_stub): Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 25 Jul 2002 19:35:04 +0000 (19:35 +0000)]
Update.

* sunrpc/clnt_gen.c: Don't include <sys/errno.h>.

21 years agoUpdate.
Ulrich Drepper [Thu, 25 Jul 2002 08:29:34 +0000 (08:29 +0000)]
Update.

* elf/dl-minimal.c: Remove definition of __assert_perror_fail.

21 years agoUpdate.
Ulrich Drepper [Thu, 25 Jul 2002 08:19:59 +0000 (08:19 +0000)]
Update.

2002-07-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/wordsize-32/divdi3.c: Define __divdi3_internal.
* sysdeps/wordsize-32/lldiv.c: Make gcc use __divdi3_internal instead
of __divdi3.

* sysdeps/unix/sysv/linux/adjtime.c: Use __adjtimex_internal.
* sysdeps/unix/sysv/linux/ntp_gettime.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add __adjtimex_internal
alias for adjtimex syscall.

* elf/dl-minimal.c: Define __assert_fail_internal.
* assert/assert.c: Likewise.
* include/assert.h: Define __assert_file macro if !SHARED and not
NOT_IN_libc.

* iconv/Makefile: Define NOT_IN_libc for objects in standalone
programs.
* locale/Makefile: Likewise.
* nscd/Makefile: Likewise.
* catgets/Makefile: Likewise.

succesful seek call.  Simplify error checking.

22 years agoUpdate.
Ulrich Drepper [Thu, 25 Jul 2002 01:30:57 +0000 (01:30 +0000)]
Update.

2002-07-24  Ulrich Drepper  <drepper@redhat.com>

* libio/fileops.c (_IO_file_seekoff_mmap): Do use fp->_offset to
compute current position.

* stdio-common/tst-fseek.c (main): Improve error messages.

* libio/tst-freopen.c (main): Remove unused variable.

* libio/fileops.c (_IO_file_seekoff_mmap): Set fp->_offset after
succesful seek call.  Simply error checking.

2002-07-25  Jakub Jelinek  <jakub@redhat.com>

* config.h.in: Use __ASSEMBLER__ test macro not ASSEMBLER.
* sysdeps/ia64/fpu/libm_support.h: Likewise.

22 years ago(_IO_file_seekoff_mmap): Set fp->_offset after succesful seek call. Simply error...
Ulrich Drepper [Thu, 25 Jul 2002 00:48:18 +0000 (00:48 +0000)]
(_IO_file_seekoff_mmap): Set fp->_offset after succesful seek call. Simply error checking.

22 years ago* hurd/hurdsig.c (_hurdsig_getenv): Always return null if
Roland McGrath [Wed, 24 Jul 2002 23:05:17 +0000 (23:05 +0000)]
* hurd/hurdsig.c (_hurdsig_getenv): Always return null if

__libc_enable_secure is set.

22 years agoAdded <ifaddrs.h> interface with functions `getifaddrs', `freeifaddrs'.
Roland McGrath [Wed, 24 Jul 2002 22:56:44 +0000 (22:56 +0000)]
Added <ifaddrs.h> interface with functions `getifaddrs', `freeifaddrs'.

This implementation supports only IPv4.
* inet/ifaddrs.h: New file.
* sysdeps/generic/ifaddrs.c: New file.
* sysdeps/gnu/ifaddrs.c: New file.
* inet/test-ifaddrs.c: New file.
* inet/Makefile (routines): Add ifaddrs.
(headers): Add ifaddrs.h here.
(tests): Add test-ifaddrs.
* inet/Versions (GLIBC_2.3): New set, add getifaddrs and freeifaddrs.

* resolv/res_hconf.c (_res_hconf_reorder_addrs): Use an explicit
socket call to get an AF_INET socket, instead of using __opensock.
The SIOCGIFNETMASK ioctl will work only with a PF_INET socket.

* sysdeps/generic/ifreq.h (__ifreq): Take third argument SOCKFD,
if not -1 use it instead of calling __opensock.
* sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise.
* sysdeps/mach/hurd/ifreq.h (__ifreq): Take new argument and ignore it.
* resolv/res_hconf.c (_res_hconf_reorder_addrs): Pass new argument.

* sysdeps/mach/hurd/ifreq.h: New file.
* sysdeps/generic/ifreq.h (__if_freereq): Take second argument NUM_IFS.
* sysdeps/unix/sysv/linux/ifreq.h (__if_freereq): Likewise.
* resolv/res_hconf.c (_res_hconf_reorder_addrs): Update caller.

22 years ago* libio/fileops.c (_IO_file_seekoff_mmap): Don't rely on FP->_offset,
Roland McGrath [Wed, 24 Jul 2002 22:54:53 +0000 (22:54 +0000)]
* libio/fileops.c (_IO_file_seekoff_mmap): Don't rely on FP->_offset,

which gets moved around.  Calculate size of mmap'd buffer instead.

22 years agoCosmetic edits.
Roland McGrath [Wed, 24 Jul 2002 19:26:31 +0000 (19:26 +0000)]
Cosmetic edits.

22 years agoUpdate.
Ulrich Drepper [Wed, 24 Jul 2002 17:39:23 +0000 (17:39 +0000)]
Update.

2002-07-24  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/arm/brk.S: Improve schedule.
* sysdeps/unix/sysv/linux/arm/socket.S (PUSHARGS_1): Use more
efficient instruction.
(__socket): Optimize return sequence.

* locale/hashval.h: Make more self-contained by defining LONG_BITS.

22 years agoUpdate.
Ulrich Drepper [Wed, 24 Jul 2002 11:51:16 +0000 (11:51 +0000)]
Update.

2002-07-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/opensock.c (__opensock): Prefer inet
sockets on old kernels.

22 years agoUpdate.
Ulrich Drepper [Wed, 24 Jul 2002 11:18:48 +0000 (11:18 +0000)]
Update.

2002-07-22  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/errlist.c: Remove extra weak alias
definiton of _old_sys_nerr.  Define _old_sys_errlist as strong
alias.

22 years agoUpdate.
Ulrich Drepper [Wed, 24 Jul 2002 10:44:53 +0000 (10:44 +0000)]
Update.

2002-07-24  Ulrich Drepper  <drepper@redhat.com>

* locale/hashval.h: Make more self-containedby defining LONG_BITS.
* locale/programs/simple-hash.c: Remove LONG_BITS definition.

* locale/programs/locarchive.c (add_locale_to_archive): Correct
test to detect duplicate locales.

* libio/fileops.c (_IO_new_file_seekoff): Fail if relative
position would be before beginning of file.
(_IO_file_seekoff_mmap): Likewise.
* libio/Makefile (tests): Add bug-fseek.
* libio/bug-fseek.c: New file.

* intl/explodename.c: Remove support for CEN-style locale variables.
It was never used and shouldn't be since it's not portable.
* intl/finddomain.c: Likewise.
* intl/l10nflist.c: Likewise.
* intl/loadinfo.h: Likewise.
* locale/findlocale.c: Likewise.

22 years agoRemove support for CEN-style locale variables. It was never used and shouldn't be...
Ulrich Drepper [Wed, 24 Jul 2002 10:07:08 +0000 (10:07 +0000)]
Remove support for CEN-style locale variables. It was never used and shouldn't be since it's not portable.

22 years ago* libio/fileops.c (_IO_file_seekoff_mmap): When just examining the
Roland McGrath [Wed, 24 Jul 2002 09:35:24 +0000 (09:35 +0000)]
* libio/fileops.c (_IO_file_seekoff_mmap): When just examining the

position, calculate it to take into account an active pushback buffer.

* libio/Makefile (tests): Add bug-ungetc.
* libio/bug-ungetc.c: New file.

22 years ago2002-07-24 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 24 Jul 2002 09:34:59 +0000 (09:34 +0000)]
2002-07-24  Roland McGrath  <roland@frob.com>

* libio/Makefile (tests): Add bug-ungetc.
* libio/bug-ungetc.c: New file.

22 years agoMoved to misc/sys.
Ulrich Drepper [Tue, 23 Jul 2002 23:19:44 +0000 (23:19 +0000)]
Moved to misc/sys.

22 years agoUpdate.
Ulrich Drepper [Tue, 23 Jul 2002 23:12:01 +0000 (23:12 +0000)]
Update.

2002-07-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/libc-tls.c: New file.
* csu/Makefile (routines): Add libc-tls.
(static-only-routines): Add libc-tls.
* elf/dl-support.c (_dl_phdr): New variable.
(_dl_phnum): New variable.
(_dl_aux_init): Initialize _dl_phdr and _dl_phnum from aux vector.
* sysdeps/generic/libc-start.c (__libc_start_main): Reorganize code
for !SHARED.  First look through auxiliary vector.  If TLS always
call __pthread_initialize_minimal.

* sysdeps/generic/dl-tls.c (_dl_allocate_tls): Make sure size argument
in mmap call is never zero.

22 years ago(_dl_phdr): New variable. (_dl_phnum): New variable. (_dl_aux_init): Initialize _dl_p...
Ulrich Drepper [Tue, 23 Jul 2002 22:59:19 +0000 (22:59 +0000)]
(_dl_phdr): New variable. (_dl_phnum): New variable. (_dl_aux_init): Initialize _dl_phdr and _dl_phnum from aux vector.

22 years agoFix whitespace.
Andreas Jaeger [Tue, 23 Jul 2002 19:36:49 +0000 (19:36 +0000)]
Fix whitespace.

22 years agoUpdate.
Andreas Jaeger [Tue, 23 Jul 2002 19:36:35 +0000 (19:36 +0000)]
Update.

2002-07-23  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/fpu/s_copysign.S: Use optimized version.
* sysdeps/x86_64/fpu/s_copysignf.S: Likewise.

22 years agoUse optimized version.
Andreas Jaeger [Tue, 23 Jul 2002 19:36:20 +0000 (19:36 +0000)]
Use optimized version.

22 years agoUpdate.
Ulrich Drepper [Tue, 23 Jul 2002 00:37:27 +0000 (00:37 +0000)]
Update.

2002-07-22  Ulrich Drepper  <drepper@redhat.com>

* Makefile: Actually creat tst-signal.out file when running the test.

22 years agopdate.
Ulrich Drepper [Tue, 23 Jul 2002 00:31:41 +0000 (00:31 +0000)]
pdate.

* libio/tst-eof.c: Rewrite to let test-skeleton.c deal with
creation and removal of the temp file.

22 years agoUpdate.
Ulrich Drepper [Mon, 22 Jul 2002 22:25:20 +0000 (22:25 +0000)]
Update.

2002-07-22  Ulrich Drepper  <drepper@redhat.com>

* libio/bug-rewind.c: Use test skeleton.  Use create_temp_file for
file creation.
* test-skeleton.c (create_temp_file): New function.

22 years ago(create_temp_file): New function.
Ulrich Drepper [Mon, 22 Jul 2002 22:18:27 +0000 (22:18 +0000)]
(create_temp_file): New function.

22 years agoUpdate.
Andreas Jaeger [Mon, 22 Jul 2002 11:21:37 +0000 (11:21 +0000)]
Update.

2002-07-22  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Use
local label.

22 years ago(elf_machine_load_address): Use local label.
Andreas Jaeger [Mon, 22 Jul 2002 11:21:26 +0000 (11:21 +0000)]
(elf_machine_load_address): Use local label.

22 years ago* wcsmbs/Makefile (strtox-CFLAGS): New variable,
Roland McGrath [Mon, 22 Jul 2002 04:39:52 +0000 (04:39 +0000)]
* wcsmbs/Makefile (strtox-CFLAGS): New variable,

put -I../include before -I../stdlib so we get the right errno.h et al.
(CFLAGS-wcstod.c): Use that variable instead of -I../stdlib.
(CFLAGS-wcstof.c): Likewise.
(CFLAGS-wcstold.c): Likewise.
(CFLAGS-wcstod_l.c): Likewise.
(CFLAGS-wcstof_l.c): Likewise.
(CFLAGS-wcstold_l.c): Likewise.

22 years ago* sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output.
Roland McGrath [Mon, 22 Jul 2002 03:54:50 +0000 (03:54 +0000)]
* sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output.

22 years ago2002-07-19 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 22 Jul 2002 03:54:21 +0000 (03:54 +0000)]
2002-07-19  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output.

22 years ago(Hooks for Malloc): Correct order of arguments for __memalign_hook.
Ulrich Drepper [Mon, 22 Jul 2002 00:57:09 +0000 (00:57 +0000)]
(Hooks for Malloc): Correct order of arguments for __memalign_hook.

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Jul 2002 17:31:30 +0000 (17:31 +0000)]
Update.

* sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define if
__ASSUME_AT_XID is defined.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_XID): Define
for 2.4.1 and up.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Optimize handling
of AT_UID, AT_EUID, AT_GID, and AT_EGID.

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Jul 2002 16:19:49 +0000 (16:19 +0000)]
Update.

2002-07-20  Ulrich Drepper  <drepper@redhat.com>

* wcsmbs/Makefile (CFLAGS-wcstod.c): Add -I../stdlib.
(CFLAGS-wcstof.c): Likewise.
(CFLAGS-wcstold.c): Likewise.
(CFLAGS-wcstod_l.c): Likewise.
(CFLAGS-wcstof_l.c): Likewise.
(CFLAGS-wcstold_l.c): Likewise.

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Jul 2002 04:01:22 +0000 (04:01 +0000)]
Update.

2002-07-18  Jakub Jelinek  <jakub@redhat.com>

* resource/sys/resource.h (__rlimit_resource_t, __rusage_who_t,
__priority_which_t): Always typedef to int for C++.

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Jul 2002 01:14:41 +0000 (01:14 +0000)]
Update.

2002-07-19  Ulrich Drepper  <drepper@redhat.com>

* configure.in: Add test for __thread support in compiler.
* config.h.in: Add HAVE___THREAD.
* Makefile (headers): Remove errno.h, sys/errno.h, and bits/errno.h.
* include/sys/errno.h: Moved to...
* stdlib/sys/errno.h: ...here.  New file.
* stdlib/errno.h: New file.  Moved from...
* include/errno.h: ...here.  Changed into an internal header defining
libc-local things like __set_errno.
* stdlib/Makefile (headers): Add errno.h, sys/errno.h, and
bits/errno.h.
* elf/dl-minimal.c: Include <tls.h>.  Define errno as thread-local
variable if USE_TLS && HAVE___THREAD.  Don't define __errno_location
either.
* elf/rtld.c (_dl_start): Add code to initialize TLS for ld.so
from...
(_dl_start_final): ...here.  Add code to initialize tls elements from
bootstrap_map.
* sysdeps/generic/errno-loc.c: Define errno as thread-local variable
if USE_TLS && HAVE___THREAD.
* sysdeps/generic/bits/errno.h: Remove __set_errno definition.
* sysdeps/mach/hurd/bits/errno.h: Likewise.
* sysdeps/standalone/arm/bits/errno.h: Likewise.
* sysdeps/standalone/bits/errno.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
* sysdeps/unix/sysv/aix/bits/errno.h: Likewise.
* sysdeps/unix/sysv/hpux/bits/errno.h: Likewise.
* sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/errno.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: Likewise.
* sysdeps/i386/dl-machine.c (elf_machine_rel) [RTLD_BOOTSTRAP]: Don't
use GL(dl_rtld_map), use map parameter.
* sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.S: Define errno in .tbss if
USE_TLS && HAVE___THREAD.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Unify SETUP_PIC_REG
definitions.  If USE_TLS && HAVE___THREAD store errooor value using
TLS code sequence.
* sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.

* sysdeps/unix/sysv/linux/getcwd.c: No real need to restore errno.
* sysdeps/unix/sysv/linux/grantpt.c: Likewise.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
* sysdeps/unix/sysv/linux/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Wed, 17 Jul 2002 23:44:03 +0000 (23:44 +0000)]
Update.

2002-07-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Fix MS_SYNC and
MS_INVALIDATE values.

22 years agoUpdate.
Ulrich Drepper [Wed, 17 Jul 2002 20:44:55 +0000 (20:44 +0000)]
Update.

2002-07-17  Andreas Schwab  <schwab@suse.de>
    Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/pread.c: Sign extend offset.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Wed, 17 Jul 2002 00:34:35 +0000 (00:34 +0000)]
Update.

2002-07-01  H.J. Lu  <hjl@gnu.org>

* elf/circleload1.c (load_dso): Call "circlemod1" and check
return value.

* elf/circlemod1.c (circlemod1): Return int.
* elf/circlemod2.c (circlemod2): Likewise.
* elf/circlemod2a.c (circlemod2): Likewise.
* elf/circlemod3.c (circlemod3): Likewise.
(circlemod3a): A new function.

22 years agoUpdate.
Ulrich Drepper [Wed, 17 Jul 2002 00:03:55 +0000 (00:03 +0000)]
Update.

* catgets/tst-catgets.c (main): Don't expect results for
untranslated messages.

* math/Makefile (CPPFLAGS-test-ifloat.c): Also define TEST_FAST_MATH.
(CPPFLAGS-test-idouble.c): Likewise.
(CPPFLAGS-test-ildouble.c): Likewise.

22 years agoUpdate.
Ulrich Drepper [Tue, 16 Jul 2002 20:18:42 +0000 (20:18 +0000)]
Update.

2002-07-16  Ulrich Drepper  <drepper@redhat.com>

* locales/th_TH: Change tel_dom_fmt.
Patch by Theppitak Karoonboonyanan <thep@links.nectec.or.th>.

22 years agoUpdate.
Ulrich Drepper [Tue, 16 Jul 2002 18:15:34 +0000 (18:15 +0000)]
Update.

2002-07-16  Ulrich Drepper  <drepper@redhat.com>

* glibcbug.in: Fix little typo.  Remove STDIO.

* config.h.in: Fail if __FAST_MATH__ is defined.

22 years agoUpdate.
Ulrich Drepper [Tue, 16 Jul 2002 04:56:00 +0000 (04:56 +0000)]
Update.

2002-07-15  Ulrich Drepper  <drepper@redhat.com>

* intl/tst-gettext.sh: Pass -f option to msgfmt.
* intl/tst-gettext.c: Correctly handle untranslated messages in
positive tests.

* po/de.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Tue, 16 Jul 2002 01:02:04 +0000 (01:02 +0000)]
Update.

2002-07-02  H.J. Lu  <hjl@gnu.org>

* sysdeps/mips/atomicity.h: Don't include <sgidefs.h>.  Always
use ll/sc.
* sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.

* sysdeps/unix/sysv/linux/configure.in: Set arch_minimum_kernel
to 2.4.0 for mips.

TLS fail if USE_TLS is not defined.

22 years agoUpdate.
Ulrich Drepper [Tue, 16 Jul 2002 00:18:20 +0000 (00:18 +0000)]
Update.

* elf/dl-load.c (_dl_map_object_from_fd): If loaded object uses
TLS fail is USE_TLS is not defined.

22 years agoUpdate.
Ulrich Drepper [Mon, 15 Jul 2002 23:37:22 +0000 (23:37 +0000)]
Update.

2002-07-15  Ulrich Drepper  <drepper@redhat.com>

* libio/wfileops.c (_IO_wfile_seekoff): Reposition wide pointers
and adjust state for seek position.  [PR libc/4070]
* libio/Makefile (tests): Add bug-rewind.
* libio/bug-rewind.c: New file.

22 years agoUpdate.
Ulrich Drepper [Mon, 15 Jul 2002 03:58:49 +0000 (03:58 +0000)]
Update.

2002-07-12  Philip Blundell  <philb@gnu.org>

* sysdeps/generic/backtrace.c (FIRST_FRAME_POINTER): New macro.
(__backtrace): Use it.
* sysdeps/arm/frame.h (FIRST_FRAME_POINTER): Define.  [PR libc/2632]

2002-07-12  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/dl-machine.h (elf_machine_rel): Don't handle
R_ARM_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC.  Only check
for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
(elf_machine_rela): Remove unused variable.

* sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
(sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't
define.

2002-07-12  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/gconv-modules: Add aliases for ISO-8859-11.

22 years agoUpdate.
Ulrich Drepper [Mon, 15 Jul 2002 02:05:23 +0000 (02:05 +0000)]
Update.

2002-07-14  Ulrich Drepper  <drepper@redhat.com>

* manager.c (pthread_handle_create): Initialize self-reference in
descriptor.

22 years ago(pthread_handle_create): Initialize self-reference in descriptor.
Ulrich Drepper [Mon, 15 Jul 2002 02:02:58 +0000 (02:02 +0000)]
(pthread_handle_create): Initialize self-reference in descriptor.

22 years agoUpdate.
Andreas Jaeger [Sun, 14 Jul 2002 09:39:23 +0000 (09:39 +0000)]
Update.

2002-07-14  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/bits/link.h: Add biarch support.

22 years agoUpdate.
Andreas Jaeger [Fri, 12 Jul 2002 23:26:06 +0000 (23:26 +0000)]
Update.

2002-07-13  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
Use correct indices.
Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.

22 years ago* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
Andreas Jaeger [Fri, 12 Jul 2002 23:25:56 +0000 (23:25 +0000)]
* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):

Use correct indices.
Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.