platform/upstream/linaro-glibc.git
21 years agoUpdate.
Ulrich Drepper [Sat, 10 May 2003 07:17:50 +0000 (07:17 +0000)]
Update.

2003-05-10  Ulrich Drepper  <drepper@redhat.com>

* posix/sched.h (NCPUBITS): Define.

21 years agoUpdate.
Ulrich Drepper [Sat, 10 May 2003 06:33:37 +0000 (06:33 +0000)]
Update.

* Makeconfig (gnulib): Remove -lgcc_eh again.

21 years agoUpdate.
Ulrich Drepper [Sat, 10 May 2003 05:36:37 +0000 (05:36 +0000)]
Update.

* posix/sched.h: Change prototypes of sched_getaffinity and
sched_setaffinity.  Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO.
* sysdeps/generic/sched_getaffinity.c: Adjust definition.
* sysdeps/generic/sched_setaffinity.c: Likewise.
* sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS,
__CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET,
__CPU_CLR, and __CPU_ISSET.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
* sysdeps/unix/sysv/linux/sched_getaffinity.c: New file.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: New file.

* include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange.
(atomic_exchange_rel): New #define.
* sysdeps/ia64/bits/atomic.h: Likewise.
* sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from
atomic_exchange.
* sysdeps/m68k/m68020/bits/atomic.h: Likewise.
* sysdeps/powerpc/bits/atomic.h: Likewise.
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise.
* sysdeps/sparc/sparc64/bits/atomic.h: Likewise.
* sysdeps/x86_64/bits/atomic.h: Likewise.
* csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange.

21 years agoUpdate.
Ulrich Drepper [Fri, 9 May 2003 07:53:33 +0000 (07:53 +0000)]
Update.

2003-05-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file.

21 years agoUpdate.
Ulrich Drepper [Fri, 9 May 2003 03:17:42 +0000 (03:17 +0000)]
Update.

2003-05-08  Ulrich Drepper  <drepper@redhat.com>

* malloc/thread-m.h: Remove special handling of thread_atfork if
HAVE_register_atfork_malloc is defined.

21 years ago(unwind_cleanup): Print error message and then abort. This function must never be...
Ulrich Drepper [Fri, 9 May 2003 03:00:52 +0000 (03:00 +0000)]
(unwind_cleanup): Print error message and then abort.  This function must never be reached.

21 years agoUpdate.
Andreas Jaeger [Wed, 7 May 2003 13:38:57 +0000 (13:38 +0000)]
Update.

2003-05-07  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind
information.

21 years agoAdd DWARF2 unwind information.
Andreas Jaeger [Wed, 7 May 2003 13:38:40 +0000 (13:38 +0000)]
Add DWARF2 unwind information.

21 years agoUpdate.
Ulrich Drepper [Wed, 7 May 2003 03:48:45 +0000 (03:48 +0000)]
Update.

2003-05-06  Ulrich Drepper  <drepper@redhat.com>

* libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init.
* libio/oldiofopen.c (_IO_old_fopen): Likewise.
* libio/libioP.h: Declare _IO_old_init.
* libio/genops.c (_IO_no_init): Split in two.  New function
_IO_old_init.

21 years agoUpdate.
Ulrich Drepper [Tue, 6 May 2003 23:42:06 +0000 (23:42 +0000)]
Update.

2003-05-06  Ulrich Drepper  <drepper@redhat.com>

* locales/de_DE: Use two-letter abday values.

21 years agoUpdate.
Ulrich Drepper [Tue, 6 May 2003 06:34:21 +0000 (06:34 +0000)]
Update.

* sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New
variable.
(__libc_init_secure): Don't do anything if __libc_enable_secure_decided
is nonzero.
* include/unistd.h: Declare __libc_enable_secure_decided.
* elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID,
and AT_EGID.  If all found, set __libc_enable_secure and
__libc_enable_secure_decided.

21 years agoUpdate.
Ulrich Drepper [Tue, 6 May 2003 05:55:00 +0000 (05:55 +0000)]
Update.

2003-05-05  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/libc-start.c [!SHARED]: Call
__libc_check_standard_fds after __libc_init_first.

21 years ago(TLS_INIT_TP): Include \n in error message.
Ulrich Drepper [Tue, 6 May 2003 05:40:11 +0000 (05:40 +0000)]
(TLS_INIT_TP): Include \n in error message.

21 years ago* Makerules (common-before-compile): New variable.
Roland McGrath [Mon, 5 May 2003 19:14:13 +0000 (19:14 +0000)]
* Makerules (common-before-compile): New variable.

($(common-objpfx)%.make): Depend on that instead of $(before-compile).
($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.  Move this rule
to after all setting of before-compile.

* sunrpc/Makefile (generated-dirs): New variable.
* resolv/Makefile (generated): New variable.

21 years ago2003-05-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 5 May 2003 19:13:59 +0000 (19:13 +0000)]
2003-05-05  Roland McGrath  <roland@redhat.com>

* Makerules (common-before-compile): New variable.
($(common-objpfx)%.make): Depend on that instead of $(before-compile).
($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.  Move this rule
to after all setting of before-compile.

21 years agoUpdate.
Ulrich Drepper [Mon, 5 May 2003 18:24:09 +0000 (18:24 +0000)]
Update.

2003-05-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type.
* sysdeps/powerpc/powerpc32/bits/atomic.h
(__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
(__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq,
__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/sparc/sparc64/bits/atomic.h
(__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq): Likewise.
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq,
__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/unix/sysv/linux/sh/bits/atomic.h
(__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut
up warning.
* sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise.

* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
(INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0):
Return long instead of int.
(INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace
0xfffff001u with -4095UL.

21 years ago(tst_wcsxfrm): Use %zu instead of %d format specifier when printing ret.
Ulrich Drepper [Mon, 5 May 2003 18:17:05 +0000 (18:17 +0000)]
(tst_wcsxfrm): Use %zu instead of %d format specifier when printing ret.

21 years agoUpdate.
Andreas Jaeger [Mon, 5 May 2003 17:36:15 +0000 (17:36 +0000)]
Update.

* sunrpc/Makefile (generated-dirs): New.

* resolv/Makefile (generate): New.

21 years agoUpdate.
Andreas Jaeger [Mon, 5 May 2003 13:25:41 +0000 (13:25 +0000)]
Update.

* sysdeps/x86_64/fpu_control.h: New from i386.

21 years agoUpdate.
Andreas Jaeger [Mon, 5 May 2003 08:45:31 +0000 (08:45 +0000)]
Update.

2003-05-05  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_semtimedop):
Define if not defined.

21 years ago(__NR_semtimedop): Define if not defined.
Andreas Jaeger [Mon, 5 May 2003 08:45:16 +0000 (08:45 +0000)]
(__NR_semtimedop): Define if not defined.

21 years ago* csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.
Roland McGrath [Sun, 4 May 2003 23:27:34 +0000 (23:27 +0000)]
* csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.

Depend on $(before-compile).

21 years ago* csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static
Roland McGrath [Sun, 4 May 2003 23:06:08 +0000 (23:06 +0000)]
* csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static

pattern rule.  The implicit rule could be ruled out when $(objpfx)
didn't exist at the time of its consideration (ugh!).

* Makerules (+make-deps): Fix target matching.
Use $(sed-remove-dotdot).

21 years ago2003-05-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 4 May 2003 23:05:44 +0000 (23:05 +0000)]
2003-05-04  Roland McGrath  <roland@redhat.com>

* Makerules (+make-deps): Fix target matching.
Use $(sed-remove-dotdot).

21 years agoUpdate.
Ulrich Drepper [Sun, 4 May 2003 07:00:44 +0000 (07:00 +0000)]
Update.

2003-05-03  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd.c (main): Parse config file right after parsing
parameters.  Then, if get_stats is true, call receive_print_stats.
Drop parameter from nscd_init call.
(get_stats): New variable.
(parse_opt): Set get_stats, don't call receive_print_stats here.
* nscd/nscd.h: Declare dbs, stat_user, and stat_uid.  Adjust nscd_init
prototype.
* nscd/connections.c (stat_user, stat_uid): New variables.
(dbs): Make global.
(nscd_init): Don't read configuration file here.  Drop parameter.
(handle_request): Cleanup handling of non-database lookup requests.
* nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry.
Get UID of the specified user.  Use xstrdup instead of strdup.
* nscd/nscd_stat.c (receive_print_stats): Check UID.  If not zero,
check stat_user.
* nscd/Makefile (nscd-modules): Add xstrdup.
* nscd/nscd.conf: Document stat-user entry.

2003-05-03  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define
if not defined.

21 years agoUpdate.
Ulrich Drepper [Sun, 4 May 2003 04:30:13 +0000 (04:30 +0000)]
Update.

2003-04-22  Roland McGrath  <roland@redhat.com>

* elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.
* sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead.
* elf/dl-support.c: Update defn.
* sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR.
(_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME.
* elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is
set, set up a link_map for the preloaded, prelinked object.

21 years ago(AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.
Ulrich Drepper [Sun, 4 May 2003 04:15:55 +0000 (04:15 +0000)]
(AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.

21 years ago* sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...
Roland McGrath [Sat, 3 May 2003 09:08:37 +0000 (09:08 +0000)]
* sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...

* stdio-common/Makefile: ... not here.

* csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile).
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.

21 years ago2003-05-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 3 May 2003 09:08:21 +0000 (09:08 +0000)]
2003-05-03  Roland McGrath  <roland@redhat.com>

* sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...
* stdio-common/Makefile: ... not here.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 May 2003 05:06:25 +0000 (05:06 +0000)]
Update.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 May 2003 05:05:57 +0000 (05:05 +0000)]
Update.

2003-05-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
(pthread_condattr_t): Size is only an int, don't use long for
alignment.
(pthread_mutexattr_t): Likewise.
(pthread_barrierattr_t): Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 May 2003 00:29:56 +0000 (00:29 +0000)]
Update.

* sysdeps/unix/sysv/linux/s390/semtimedop.c: New file.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 May 2003 23:25:53 +0000 (23:25 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/ipc_priv.h (IPCOP_semtimedop): Define.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 May 2003 22:37:58 +0000 (22:37 +0000)]
Update.

* sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for
comparing ftab elements.
(_dl_unmap): Fix typo in test.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 May 2003 22:33:15 +0000 (22:33 +0000)]
Update.

* sysdeps/generic/dl-fptr.c (_dl_unmap): Fix typo in test.
(_dl_make_fptr): Fix typos introduced in last change.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 May 2003 08:21:14 +0000 (08:21 +0000)]
Update.

2003-05-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-fptr.c: Put back one optimization from the
original patch.  Use non-exported symbols.  Mark translatable
strings.  Pretty printing.

21 years agoPut back one optimization from the original patch. Use non-exported symbols. Mark...
Ulrich Drepper [Fri, 2 May 2003 08:19:41 +0000 (08:19 +0000)]
Put back one optimization from the original patch. Use non-exported symbols.  Mark translatable strings.  Pretty printing.

21 years ago* Makerules (do-stamp): Do $(make-target-directory).
Roland McGrath [Fri, 2 May 2003 07:19:38 +0000 (07:19 +0000)]
* Makerules (do-stamp): Do $(make-target-directory).

21 years ago2003-05-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 May 2003 07:19:19 +0000 (07:19 +0000)]
2003-05-02  Roland McGrath  <roland@redhat.com>

* Makerules (do-stamp): Do $(make-target-directory).

21 years agoGeneric symbol address handling for platforms with function pointers.
Ulrich Drepper [Fri, 2 May 2003 03:28:25 +0000 (03:28 +0000)]
Generic symbol address handling for platforms with function pointers.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 May 2003 02:41:09 +0000 (02:41 +0000)]
Update.

2003-04-07  H.J. Lu  <hjl@gnu.org>

* sysdeps/generic/dl-fptr.c: Modify to remove the lock.

2003-04-03  H.J. Lu  <hjl@gnu.org>

* sysdeps/ia64/dl-fptr.c: Moved to ...
* sysdeps/generic/dl-fptr.c: Here.

* sysdeps/generic/dl-fptr.h: New.
* sysdeps/ia64/dl-fptr.h: New.

* sysdeps/ia64/dl-symaddr.c: Moved to ...
* sysdeps/generic/dl-symaddr.c: here.

* sysdeps/ia64/dl-machine.h: Include <dl-fptr.h>.
(IA64_BOOT_FPTR_TABLE_LEN): Removed.
(ia64_fdesc): Likewise.
(ia64_fdesc_table): Likewise.
(__ia64_make_fptr): Likewise.
(__ia64_init_bootstrap_fdesc_table): Replace __ia64_boot_fptr_table
with _dl_boot_fptr_table.
(elf_machine_runtime_setup): Replace `struct ia64_fdesc' with
`struct fdesc'.
(elf_machine_rela): Replace __ia64_make_fptr with _dl_make_fptr.

21 years agoNot needed anymore.
Ulrich Drepper [Fri, 2 May 2003 02:34:55 +0000 (02:34 +0000)]
Not needed anymore.

21 years ago* sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__].
Roland McGrath [Fri, 2 May 2003 02:21:25 +0000 (02:21 +0000)]
* sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__].

* sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.

* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h):
Use $(make-target-directory).
* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.

* Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d.
(compile-command.S): Don't use ifndef.  Append $(compile-mkdep-flags).
(compile-command.s, compile-command.c): Likewise.
($(objpfx)%.d): All such pattern rules removed.
($(+sysdir_pfx)sysd-rules): Don't generate them.
($(common-objpfx)dummy.d): Target removed.
(make-dummy-dep): Variable removed.
(generate-md5): Likewise.
(%.d: %.dt): New pattern rule.
(+depfiles): Use $(wildcard) function to get just existing *.d files
and .d files for existing *.dt files.
(common-clean): Remove all *.d and *.dt files.
(before-compile): Add $(objpfx). when it doesn't exist,
regardless of $(no_deps).
* elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed.
(rtld-depfiles): Use .os.d instead of .d names.
Include existing *.d files and .d files for existing *.dt files.

* Makerules ($(common-objpfx)%.make): Protect with [! subdir].
Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable.

* sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack.
Do s-*.d includes only if we have some syscall routines in this subdir.

* include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of
@nobits.  The former is accepted by gas on any ELF platform.

21 years ago2003-05-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 May 2003 02:20:45 +0000 (02:20 +0000)]
2003-05-01  Roland McGrath  <roland@redhat.com>

* Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d.
(compile-command.S): Don't use ifndef.  Append $(compile-mkdep-flags).
(compile-command.s, compile-command.c): Likewise.
($(objpfx)%.d): All such pattern rules removed.
($(+sysdir_pfx)sysd-rules): Don't generate them.
($(common-objpfx)dummy.d): Target removed.
(make-dummy-dep): Variable removed.
(generate-md5): Likewise.
(%.d: %.dt): New pattern rule.
(+depfiles): Use $(wildcard) function to get just existing *.d files
and .d files for existing *.dt files.
(common-clean): Remove all *.d and *.dt files.
(before-compile): Add $(objpfx). when it doesn't exist,
regardless of $(no_deps).
* elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed.
(rtld-depfiles): Use .os.d instead of .d names.
Include existing *.d files and .d files for existing *.dt files.
* Makerules ($(common-objpfx)%.make): Protect with [! subdir].
Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable.

21 years agoUpdate.
Ulrich Drepper [Thu, 1 May 2003 23:19:51 +0000 (23:19 +0000)]
Update.

2003-05-01  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/tls.h: Define THREAD_ID.
* sysdeps/ia64/tls.h: Likewise.
* sysdeps/powerpc/tls.h: Likewise.
* sysdeps/s390/tls.h: Likewise.
* sysdeps/sh/tls.h: Likewise.
* sysdeps/x86_64/tls.h: Likewise.
* pthread_mutex_lock.c: Use THREAD_ID instead of THREAD_SELF to
record ownership.
* pthread_mutex_timedlock.c: Likewise.
* pthread_mutex_trylock.c: Likewise.
* pthread_mutex_unlock.c: Likewise.
* pthread_rwlock_trywrlock.c: Likewise.
* sysdeps/pthread/pthread_rwlocklock_rdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise.

* sysdeps/pthread/createthread.c (create_thread): Use CLONE_SYSVSEM
flag.

21 years agoUpdate.
Ulrich Drepper [Thu, 1 May 2003 21:41:01 +0000 (21:41 +0000)]
Update.

* sysdeps/unix/sysv/linux/semtimedop.c: New file.

21 years agoUpdate.
Ulrich Drepper [Thu, 1 May 2003 07:38:32 +0000 (07:38 +0000)]
Update.

2003-05-01  Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary.

2003-04-29  Andreas Schwab  <schwab@suse.de>

* string/test-strcat.c (do_one_test): Fix attribute name.

21 years ago(__SIZEOF_PTHREAD_COND_T): Define to 48. (pthread_rwlock_t): Add 16 bytes of pad...
Ulrich Drepper [Thu, 1 May 2003 07:12:52 +0000 (07:12 +0000)]
(__SIZEOF_PTHREAD_COND_T): Define to 48. (pthread_rwlock_t): Add 16 bytes of pad instead of 8 before __flags.

21 years ago* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make uc_flags long for...
Alexandre Oliva [Wed, 30 Apr 2003 23:22:09 +0000 (23:22 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make uc_flags long for all ABIs.

2003-04-30  Alexandre Oliva  <aoliva@redhat.com>

* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make
uc_flags long for all ABIs.

21 years agoUpdate.
Ulrich Drepper [Wed, 30 Apr 2003 20:52:21 +0000 (20:52 +0000)]
Update.

2003-04-30  Ulrich Drepper  <drepper@redhat.com>

* tst-rwlock6.c (do_test): Use correct printf format specifiers.
* tst-rwlock7.c (do_test): Likewise.

21 years ago(do_test): Use correct printf format specifiers.
Ulrich Drepper [Wed, 30 Apr 2003 20:51:59 +0000 (20:51 +0000)]
(do_test): Use correct printf format specifiers.

21 years agoUpdate.
Andreas Jaeger [Wed, 30 Apr 2003 10:03:47 +0000 (10:03 +0000)]
Update.

2003-04-30  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h
(DR_CONTROL_RESERVED): Use correct value for 64-bit.
Reported by Andrew Derrick Balsa <andrebalsa@mailingaddress.org>.
Add bi-arch support.

21 years ago(DR_CONTROL_RESERVED): Use correct value for 64-bit.
Andreas Jaeger [Wed, 30 Apr 2003 10:03:25 +0000 (10:03 +0000)]
(DR_CONTROL_RESERVED): Use correct value for 64-bit.

Reported by Andrew Derrick Balsa <andrebalsa@mailingaddress.org>.
Add bi-arch support.

21 years agoUpdate.
Ulrich Drepper [Wed, 30 Apr 2003 08:11:33 +0000 (08:11 +0000)]
Update.

2003-04-30  Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c (mEMALIGn): Define alias __memalign_internal.
(__posix_memalign): Use __memalign_internal instead of memalign.

21 years ago(mEMALIGn): Define alias __memalign_internal. (__posix_memalign): Use __memalign_inte...
Ulrich Drepper [Wed, 30 Apr 2003 08:07:51 +0000 (08:07 +0000)]
(mEMALIGn): Define alias __memalign_internal. (__posix_memalign): Use __memalign_internal instead of memalign.

21 years ago* configure.in: Search for AUTOCONF unconditionally.
Roland McGrath [Wed, 30 Apr 2003 04:18:12 +0000 (04:18 +0000)]
* configure.in: Search for AUTOCONF unconditionally.

Just don't complain about missing it under --without-cvs.
* configure: Regenerated.

* include/libc-symbols.h (__symbol_set_attribute): New macro,
give hidden for [SHARED] and weak for [! SHARED].
(symbol_set_declare): Use that.  Never need weak_extern these days.
* Makerules ($(common-objpfx)shlib.lds): Go back to using PROVIDE.
Depend on $(..)Makerules.

21 years ago2003-04-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 30 Apr 2003 04:17:59 +0000 (04:17 +0000)]
2003-04-29  Roland McGrath  <roland@redhat.com>

* configure.in: Search for AUTOCONF unconditionally.
Just don't complain about missing it under --without-cvs.
* configure: Regenerated.

21 years agoUpdate.
Ulrich Drepper [Tue, 29 Apr 2003 23:49:37 +0000 (23:49 +0000)]
Update.

* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected
variants of socket, bind, recvmsg, and sendto.

21 years agoUpdate.
Ulrich Drepper [Tue, 29 Apr 2003 22:49:58 +0000 (22:49 +0000)]
Update.

* sysdeps/i386/fpu/ftestexcept.c: Also check SSE status word.

* include/signal.h: Use libc_hidden_proto for sigaddset and sigdelset.
* signal/sigaddset.c: Add libc_hidden_def.
* signal/sigdelset.c: Likewise.

2003-04-29  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/i486/string-inlines.c (__memcpy_g, __strchr_g): Move
to the end of the file.

* configure.in: Change __oline__ to $LINENO.
(HAVE_BUILTIN_REDIRECTION): New check.
* config.h.in (HAVE_BUILTIN_REDIRECTION): Add.
* include/libc-symbols.h (libc_hidden_builtin_proto,
libc_hidden_builtin_def, libc_hidden_builtin_weak,
libc_hidden_builtin_ver): Define.
* include/string.h (memchr, memcpy, memmove, memset, strcat, strchr,
strcmp, strcpy, strcspn, strlen, strncmp, strncpy, strpbrk, strrchr,
strspn, strstr): Add libc_hidden_builtin_proto.
* intl/plural.y: Include string.h.
* sysdeps/alpha/alphaev6/memchr.S (memchr): Add
libc_hidden_builtin_def.
* sysdeps/alpha/alphaev6/memcpy.S (memcpy): Likewise.
* sysdeps/alpha/alphaev6/memset.S (memset): Likewise.
* sysdeps/alpha/alphaev67/strcat.S (strcat): Likewise.
* sysdeps/alpha/alphaev67/strchr.S (strchr): Likewise.
* sysdeps/alpha/alphaev67/strlen.S (strlen): Likewise.
* sysdeps/alpha/alphaev67/strrchr.S (strrchr): Likewise.
* sysdeps/alpha/memchr.S (memchr): Likewise.
* sysdeps/alpha/memset.S (memset): Likewise.
* sysdeps/alpha/strcat.S (strcat): Likewise.
* sysdeps/alpha/strchr.S (strchr): Likewise.
* sysdeps/alpha/strcmp.S (strcmp): Likewise.
* sysdeps/alpha/strcpy.S (strcpy): Likewise.
* sysdeps/alpha/strlen.S (strlen): Likewise.
* sysdeps/alpha/strncmp.S (strncmp): Likewise.
* sysdeps/alpha/strncpy.S (strncpy): Likewise.
* sysdeps/alpha/strrchr.S (strrchr): Likewise.
* sysdeps/arm/memset.S (memset): Likewise.
* sysdeps/arm/strlen.S (strlen): Likewise.
* sysdeps/generic/memchr.c (memchr): Likewise.
* sysdeps/generic/memcpy.c (memcpy): Likewise.
* sysdeps/generic/memmove.c (memmove): Likewise.
* sysdeps/generic/memset.c (memset): Likewise.
* sysdeps/generic/strcat.c (strcat): Likewise.
* sysdeps/generic/strchr.c (strchr): Likewise.
* sysdeps/generic/strcmp.c (strcmp): Likewise.
* sysdeps/generic/strcpy.c (strcpy): Likewise.
* sysdeps/generic/strcspn.c (strcspn): Likewise.
* sysdeps/generic/strlen.c (strlen): Likewise.
* sysdeps/generic/strncmp.c (strncmp): Likewise.
* sysdeps/generic/strncpy.c (strncpy): Likewise.
* sysdeps/generic/strpbrk.c (strpbrk): Likewise.
* sysdeps/generic/strrchr.c (strrchr): Likewise.
* sysdeps/generic/strspn.c (strspn): Likewise.
* sysdeps/generic/strstr.c (strstr): Likewise.
* sysdeps/i386/i486/strcat.S (strcat): Likewise.
* sysdeps/i386/i486/strlen.S (strlen): Likewise.
* sysdeps/i386/i586/memcpy.S (memcpy): Likewise.
* sysdeps/i386/i586/memset.S (memset): Likewise.
* sysdeps/i386/i586/strchr.S (strchr): Likewise.
* sysdeps/i386/i586/strcpy.S (strcpy): Likewise.
* sysdeps/i386/i586/strlen.S (strlen): Likewise.
* sysdeps/i386/i686/memcpy.S (memcpy): Likewise.
* sysdeps/i386/i686/memmove.S (memmove): Likewise.
* sysdeps/i386/i686/memset.S (memset): Likewise.
* sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
* sysdeps/i386/memchr.S (memchr): Likewise.
* sysdeps/i386/memset.c (memset): Likewise.
* sysdeps/i386/strchr.S (strchr): Likewise.
* sysdeps/i386/strcspn.S (strcspn): Likewise.
* sysdeps/i386/strlen.c (strlen): Likewise.
* sysdeps/i386/strpbrk.S (strpbrk): Likewise.
* sysdeps/i386/strrchr.S (strrchr): Likewise.
* sysdeps/i386/strspn.S (strspn): Likewise.
* sysdeps/ia64/memchr.S (memchr): Likewise.
* sysdeps/ia64/memcpy.S (memcpy): Likewise.
* sysdeps/ia64/memmove.S (memmove): Likewise.
* sysdeps/ia64/memset.S (memset): Likewise.
* sysdeps/ia64/strcat.S (strcat): Likewise.
* sysdeps/ia64/strchr.S (strchr): Likewise.
* sysdeps/ia64/strcmp.S (strcmp): Likewise.
* sysdeps/ia64/strcpy.S (strcpy): Likewise.
* sysdeps/ia64/strlen.S (strlen): Likewise.
* sysdeps/ia64/strncmp.S (strncmp): Likewise.
* sysdeps/ia64/strncpy.S (strncpy): Likewise.
* sysdeps/m68k/memchr.S (memchr): Likewise.
* sysdeps/m68k/strchr.S (strchr): Likewise.
* sysdeps/mips/mips64/memcpy.S (memcpy): Likewise.
* sysdeps/mips/mips64/memset.S (memset): Likewise.
* sysdeps/mips/memcpy.S (memcpy): Likewise.
* sysdeps/mips/memset.S (memset): Likewise.
* sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
* sysdeps/powerpc/powerpc32/strchr.S (strchr): Likewise.
* sysdeps/powerpc/powerpc32/strcmp.S (strcmp): Likewise.
* sysdeps/powerpc/powerpc32/strcpy.S (strcpy): Likewise.
* sysdeps/powerpc/powerpc32/strlen.S (strlen): Likewise.
* sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
* sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
* sysdeps/powerpc/powerpc64/strchr.S (strchr): Likewise.
* sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Likewise.
* sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Likewise.
* sysdeps/powerpc/powerpc64/strlen.S (strlen): Likewise.
* sysdeps/powerpc/strcat.c (strcat): Likewise.
* sysdeps/sparc/sparc32/memchr.S (memchr): Likewise.
* sysdeps/sparc/sparc32/memcpy.S (memcpy): Likewise.
* sysdeps/sparc/sparc32/memset.S (memset): Likewise.
* sysdeps/sparc/sparc32/strcat.S (strcat): Likewise.
* sysdeps/sparc/sparc32/strchr.S (strchr, strrchr): Likewise.
* sysdeps/sparc/sparc32/strcmp.S (strcmp): Likewise.
* sysdeps/sparc/sparc32/strcpy.S (strcpy): Likewise.
* sysdeps/sparc/sparc32/strlen.S (strlen): Likewise.
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy, memmove): Likewise.
* sysdeps/sparc/sparc64/memchr.S (memchr): Likewise.
* sysdeps/sparc/sparc64/memcpy.S (memcpy, memmove): Likewise.
* sysdeps/sparc/sparc64/memset.S (memset): Likewise.
* sysdeps/sparc/sparc64/strcat.S (strcat): Likewise.
* sysdeps/sparc/sparc64/strchr.S (strchr, strrchr): Likewise.
* sysdeps/sparc/sparc64/strcmp.S (strcmp): Likewise.
* sysdeps/sparc/sparc64/strcpy.S (strcpy): Likewise.
* sysdeps/sparc/sparc64/strcspn.S (strcspn): Likewise.
* sysdeps/sparc/sparc64/strlen.S (strlen): Likewise.
* sysdeps/sparc/sparc64/strncmp.S (strncmp): Likewise.
* sysdeps/sparc/sparc64/strncpy.S (strncpy): Likewise.
* sysdeps/sparc/sparc64/strpbrk.S (strpbrk): Likewise.
* sysdeps/sparc/sparc64/strspn.S (strspn): Likewise.
* sysdeps/sh/memcpy.S (memcpy): Likewise.
* sysdeps/sh/memset.S (memset): Likewise.
* sysdeps/sh/strlen.S (strlen): Likewise.
* sysdeps/s390/s390-32/memchr.S (memchr): Likewise.
* sysdeps/s390/s390-32/memcpy.S (memcpy): Likewise.
* sysdeps/s390/s390-32/memset.S (memset): Likewise.
* sysdeps/s390/s390-32/strcmp.S (strcmp): Likewise.
* sysdeps/s390/s390-32/strcpy.S (strcpy): Likewise.
* sysdeps/s390/s390-32/strncpy.S (strncpy): Likewise.
* sysdeps/s390/s390-64/memchr.S (memchr): Likewise.
* sysdeps/s390/s390-64/memcpy.S (memcpy): Likewise.
* sysdeps/s390/s390-64/memset.S (memset): Likewise.
* sysdeps/s390/s390-64/strcmp.S (strcmp): Likewise.
* sysdeps/s390/s390-64/strcpy.S (strcpy): Likewise.
* sysdeps/s390/s390-64/strncpy.S (strncpy): Likewise.
* sysdeps/x86_64/memcpy.S (memcpy): Likewise.
* sysdeps/x86_64/memset.S (memset): Likewise.
* sysdeps/x86_64/strcat.S (strcat): Likewise.
* sysdeps/x86_64/strchr.S (strchr): Likewise.
* sysdeps/x86_64/strcmp.S (strcmp): Likewise.
* sysdeps/x86_64/strcpy.S (strcpy): Likewise.
* sysdeps/x86_64/strcspn.S (strcspn): Likewise.
* sysdeps/x86_64/strlen.S (strlen): Likewise.
* sysdeps/x86_64/strspn.S (strspn): Likewise.
* string/string-inlines.c: Move...
* sysdeps/generic/string-inlines.c: ...here.
(__memcpy_g, __strchr_g): Remove.
(__NO_INLINE__): Define before including <string.h>,
undefine after.  Include bits/string.h and bits/string2.h.
* sysdeps/i386/i486/string-inlines.c: New file.
* sysdeps/i386/string-inlines.c: New file.
* sysdeps/i386/i486/Versions: Remove.
All GLIBC_2.1.1 symbols moved...
* sysdeps/i386/Versions (libc): ...here.

2003-04-29  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Tue, 29 Apr 2003 07:18:57 +0000 (07:18 +0000)]
Update.

2003-04-29  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/fpu/Makefile: New file.
* sysdeps/i386/fpu/fedisblxcpt.c: Also set SSE control word.
* sysdeps/i386/fpu/feenablxcpt.c: Likewise.
* sysdeps/i386/fpu/feholdexcpt.c: Likewise.
* sysdeps/i386/fpu/fesetround.c: Also set SSE rounding mode
[PR libc/4987].

21 years agoBump to 0.37.
Ulrich Drepper [Tue, 29 Apr 2003 01:20:23 +0000 (01:20 +0000)]
Bump to 0.37.

21 years ago* Makefile ($(test-modules)): Depend on $(common-objpfx)shlib.lds.
Roland McGrath [Mon, 28 Apr 2003 10:34:41 +0000 (10:34 +0000)]
* Makefile ($(test-modules)): Depend on $(common-objpfx)shlib.lds.

21 years ago2003-04-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 28 Apr 2003 10:34:34 +0000 (10:34 +0000)]
2003-04-26  Roland McGrath  <roland@redhat.com>

* Makefile ($(test-modules)): Depend on $(common-objpfx)shlib.lds.

21 years agoUpdate.
Ulrich Drepper [Mon, 28 Apr 2003 08:17:29 +0000 (08:17 +0000)]
Update.

2003-04-28  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd_getgr_r.c: Compact code a bit.  Add some __builtin_expect.
* nscd/nscd_getpw_r.c: Likewise.
* nscd/nscd_gethst_r.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 28 Apr 2003 05:30:22 +0000 (05:30 +0000)]
Update.

2003-04-27  Ulrich Drepper  <drepper@redhat.com>

* nscd/pwdcache.c: Initialize .version element in result.
* nscd/grpcache.c: Likewise.
* nscd/pwdcache.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 28 Apr 2003 03:40:26 +0000 (03:40 +0000)]
Update.

* nscd/connections.c (client_queued): New variable.
(nscd_run): Revamp the loop.  Don't call poll except for cleanup
threads.  Keep track of the number of delays caused because of busy
worker threads.
* nscd/nscd.h: Declare client_queued.
* nscd/nscd_stat.c: Transmit and print client_queued information.

21 years ago(client_queued): New variable. (nscd_run): Revamp the loop. Don't call poll except...
Ulrich Drepper [Mon, 28 Apr 2003 02:43:30 +0000 (02:43 +0000)]
(client_queued): New variable. (nscd_run): Revamp the loop.  Don't call poll except for cleanup threads.  Keep track of the number of delays caused because of busy worker threads.

21 years ago* Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in
Roland McGrath [Sun, 27 Apr 2003 18:36:27 +0000 (18:36 +0000)]
* Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in

subdirectory.

2003-04-27  Andreas Schwab  <schwab@suse.de>

21 years ago2003-04-27 Andreas Schwab <schwab@suse.de>
Roland McGrath [Sun, 27 Apr 2003 18:36:13 +0000 (18:36 +0000)]
2003-04-27  Andreas Schwab  <schwab@suse.de>

* Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in
subdirectory.

21 years ago* sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file.
Andreas Schwab [Sun, 27 Apr 2003 17:08:55 +0000 (17:08 +0000)]
* sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file.

21 years agosemtimedop implementation for Linux/m68k.
Andreas Schwab [Sun, 27 Apr 2003 17:08:00 +0000 (17:08 +0000)]
semtimedop implementation for Linux/m68k.

21 years agoUpdate.
Ulrich Drepper [Sun, 27 Apr 2003 09:02:51 +0000 (09:02 +0000)]
Update.

* locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX.

21 years agoUpdate.
Ulrich Drepper [Sun, 27 Apr 2003 08:18:54 +0000 (08:18 +0000)]
Update.

2003-04-27  Ulrich Drepper  <drepper@redhat.com>

* Makerules ($(common-objpfx)shlib.lds): Don't use PROVIDE to
define __start_libc_freeres_ptrs and __stop___libc_freeres_ptrs.

21 years agoUpdate.
Ulrich Drepper [Sun, 27 Apr 2003 06:20:14 +0000 (06:20 +0000)]
Update.

2003-04-26  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement
tracking of freed memory in static TLS block.
* elf/Makefile: Add rules to build and run tst-tls13.
* elf/tst-tls13.c: New file.
* elf/tst-tlsmod13.c: New file.
* elf/tst-tlsmod13a.c: New file.

* elf/tst-tls8.c: Adjust types of variables to avoid warnings.

* elf/dl-reloc.c: Pretty printing.

21 years agoTest for unloading of modules with TLS in static block.
Ulrich Drepper [Sun, 27 Apr 2003 06:15:09 +0000 (06:15 +0000)]
Test for unloading of modules with TLS in static block.

21 years ago(LDSEDCMD-c.so): Variable removed.
Roland McGrath [Sat, 26 Apr 2003 23:41:17 +0000 (23:41 +0000)]
(LDSEDCMD-c.so): Variable removed.

21 years ago* Makerules ($(common-objpfx)shlib.lds): New target.
Roland McGrath [Sat, 26 Apr 2003 23:38:49 +0000 (23:38 +0000)]
* Makerules ($(common-objpfx)shlib.lds): New target.

(common-generated): Add it.
(build-shlib, build-module): Use that instead of generating every time.
($(common-objpfx)libc.so): Depend on it.
(lib%.so rule): Likewise.
(build-module-helper-objlist): Remove %.lds.
* iconvdata/extra-module.mk ($(objpfx)$(mod).so):
Depend on $(common-objpfx)shlib.lds.
* dlfcn/Makefile ($(test-modules)): Likewise.

21 years ago* sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals.
Roland McGrath [Sat, 26 Apr 2003 22:32:58 +0000 (22:32 +0000)]
* sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals.

21 years ago2003-04-26 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 26 Apr 2003 22:32:41 +0000 (22:32 +0000)]
2003-04-26  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals.

21 years agoUpdate.
Ulrich Drepper [Sat, 26 Apr 2003 20:14:27 +0000 (20:14 +0000)]
Update.

2003-04-26  Andreas Schwab  <schwab@suse.de>

* elf/dl-close.c (remove_slotinfo): Fix missing parens.

21 years agoUpdate.
Ulrich Drepper [Sat, 26 Apr 2003 17:09:16 +0000 (17:09 +0000)]
Update.

2003-04-26  Ulrich Drepper  <drepper@redhat.com>

* pthread.c (__pthread_initialize_manager): Remove one last
p_multiple_threads call.

21 years ago(__pthread_initialize_manager): Remove one last p_multiple_threads call.
Ulrich Drepper [Sat, 26 Apr 2003 17:08:49 +0000 (17:08 +0000)]
(__pthread_initialize_manager): Remove one last p_multiple_threads call.

21 years agoFix.
Jakub Jelinek [Sat, 26 Apr 2003 09:24:41 +0000 (09:24 +0000)]
Fix.

21 years agoUpdate.
Ulrich Drepper [Sat, 26 Apr 2003 04:15:50 +0000 (04:15 +0000)]
Update.

* nscd/cache.c (cache_search): Keep track of how many chain links
we searched and update table statistics.
(cache_add): Keep track of how many values are in the table.
(prune_cache): Likewise.  Keep track of locking success.
Print messages about removed entries in separate pass.
* nscd/connections.c (handle_request): Don't print debug message here.
The caller will do it.  Keep track of locking success.
(nscd_run): Print debug message.  Also print PID of the client process.
* nscd/nscd.c (start_time): New variable.
(main): Remember start time.
* nscd/nscd.h: Declare start_time.
(struct database): Add more members for new statistics.
* nscd/nscd_stat.c: Add support for sending, receiving, and printing
of new statistics.

21 years agoUpdate.
Ulrich Drepper [Fri, 25 Apr 2003 22:28:13 +0000 (22:28 +0000)]
Update.

* pthread.c (__pthread_initialize_manager): Subtract
TLS_PRE_TCB_SIZE bytes from tcbp to get to descr.
* manager.c (pthread_handle_create): Subtract or add TLS_PRE_TCB_SIZE
instead of sizeof (pthread_descr).
(pthread_free): Add TLS_PRE_TCB_SIZE instead of sizeof (pthread_descr).
* sysdeps/powerpc/tls.h (TLS_INIT_TCB_SIZE, TLS_TCB_SIZE): Define to 0.

21 years agoUpdate.
Ulrich Drepper [Fri, 25 Apr 2003 17:54:19 +0000 (17:54 +0000)]
Update.

2003-04-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c: Include <stdbool.h>.

21 years agoUpdate.
Ulrich Drepper [Fri, 25 Apr 2003 09:12:43 +0000 (09:12 +0000)]
Update.

2003-04-22  Jakub Jelinek  <jakub@redhat.com>

* include/link.h (NO_TLS_OFFSET): Define to 0 if not defined.
* elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET.
* elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to
NO_TLS_OFFSET.
* elf/rtld.c (_dl_start_final, _dl_start): Likewise.
* elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET.
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise.
* sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract
TLS_TCB_SIZE.

21 years agoUpdate.
Ulrich Drepper [Fri, 25 Apr 2003 00:46:36 +0000 (00:46 +0000)]
Update.

* nss/getent.c: Implement alternative host database lookup via
getaddrinfo.

unbinding it.

21 years agoUpdate.
Ulrich Drepper [Thu, 24 Apr 2003 23:45:17 +0000 (23:45 +0000)]
Update.

2003-04-24  Ulrich Drepper  <drepper@redhat.com>

* include/ifaddrs.h: New file.
* include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and
AI_ADDRCONFIG...
* resolv/netdb.h: ...here.
* sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate.
* sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
* sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and
AI_ADDRCONFIG.

21 years agoInternal shadow header for <ifaddrs.h>.
Ulrich Drepper [Thu, 24 Apr 2003 23:38:24 +0000 (23:38 +0000)]
Internal shadow header for <ifaddrs.h>.

21 years ago* elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function.
Roland McGrath [Thu, 24 Apr 2003 17:18:42 +0000 (17:18 +0000)]
* elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function.

* nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be !=

21 years ago* elf/dl-reloc.c (allocate_static_tls): Rename to...
Roland McGrath [Thu, 24 Apr 2003 17:11:08 +0000 (17:11 +0000)]
* elf/dl-reloc.c (allocate_static_tls): Rename to...

(_dl_allocate_static_tls): ... this function.  No longer static.
(CHECK_STATIC_TLS): Adjust.
* sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype.
* sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela):
Add SYM_MAP argument.
(elf_machine_rela): Adjust caller.  Declare SYM_MAP unconditionally.
Check if SYM_MAP != NULL for R_PPC_DTPREL32.  Only handle 32-bit
TLS relocs here.  #ifdef out relocs which never appear in
.gnu.conflict section from dl-conflict.c processing.
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
Add SYM_MAP argument.  Handle 16-bit TLS relocs here.

* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef
out relocs which never appear in .gnu.conflict section from
dl-conflict.c processing.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
Use r_type in RESOLVE macro.

21 years ago2003-04-24 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Thu, 24 Apr 2003 17:10:52 +0000 (17:10 +0000)]
2003-04-24  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-reloc.c (allocate_static_tls): Rename to...
(_dl_allocate_static_tls): ... this function.  No longer static.
(CHECK_STATIC_TLS): Adjust.
* sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype.
* sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela):
Add SYM_MAP argument.
(elf_machine_rela): Adjust caller.  Declare SYM_MAP unconditionally.
Check if SYM_MAP != NULL for R_PPC_DTPREL32.  Only handle 32-bit
TLS relocs here.  #ifdef out relocs which never appear in
.gnu.conflict section from dl-conflict.c processing.
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
Add SYM_MAP argument.  Handle 16-bit TLS relocs here.

21 years agoUpdate.
Ulrich Drepper [Wed, 23 Apr 2003 22:18:09 +0000 (22:18 +0000)]
Update.

* nis/ypclnt.c (__yp_bind): Expect ypdb parameter to always we !=
NULL.  Remove code made redundant by this assumption.
(__yp_unbind): Add call to free.  Adjust all callers.

21 years agoUpdate.
Ulrich Drepper [Wed, 23 Apr 2003 22:06:25 +0000 (22:06 +0000)]
Update.

* nis/ypclnt.c (yp_all): Free the dom_binding object after
unwinding it.

21 years agoUpdate.
Ulrich Drepper [Wed, 23 Apr 2003 21:27:36 +0000 (21:27 +0000)]
Update.

2003-04-23  Ulrich Drepper  <drepper@redhat.com>

* grp/initgroups.c (getgrouplist): Don't copy too much into the
user buffer if more groups are found than fit into it.

* nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use
extend_alloca.

21 years agoUpdate.
Ulrich Drepper [Wed, 23 Apr 2003 17:21:02 +0000 (17:21 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE,
not rc == errno.  Use extend_alloca.

21 years ago(gaih_inet): Check for rc == ERANGE, not rc == errno. Use extend_alloca.
Ulrich Drepper [Wed, 23 Apr 2003 17:19:51 +0000 (17:19 +0000)]
(gaih_inet): Check for rc == ERANGE, not rc == errno.  Use extend_alloca.

21 years ago* Makeconfig (shared-thread-library): Reverse link order to work
Roland McGrath [Wed, 23 Apr 2003 06:09:13 +0000 (06:09 +0000)]
* Makeconfig (shared-thread-library): Reverse link order to work

around linker bug.

21 years ago* elf/tst-tls12.c (main): Fix declaration.
Roland McGrath [Wed, 23 Apr 2003 01:54:52 +0000 (01:54 +0000)]
* elf/tst-tls12.c (main): Fix declaration.

* elf/tst-tls10.c (dummy): Make hidden instead of static.
* elf/tst-tlsmod7.c (dummy): Likewise.
* elf/tst-tlsmod8.c (dummy): Likewise.
* elf/tst-tlsmod9.c (dummy): Likewise.

2003-04-22  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args.
(open_not_cancel): Make last argument non-optional.
* sysdeps/generic/check_fds.c (check_one_fd): Update caller.
* sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
* iconv/gconv_cache.c (__gconv_load_cache): Likewise.

* include/tls.h: Protect against multiple inclusion.