platform/upstream/linaro-glibc.git
22 years agoUpdate.
Ulrich Drepper [Sun, 3 Feb 2002 01:05:29 +0000 (01:05 +0000)]
Update.

2002-02-02  Paul Eggert  <eggert@twinsun.com>

* src/mktime.c [defined DEBUG && STDC_HEADERS]: Include <string.h>.
(__mktime_internal): If no tm_isdst is requested, prefer solutions
with tm_isdst > 0 when the requested time falls within a
spring-forward gap [PR libc/2894].

22 years agoUpdate.
Ulrich Drepper [Sun, 3 Feb 2002 01:03:00 +0000 (01:03 +0000)]
Update.

2002-02-03  Andreas Schwab  <schwab@suse.de>

* stdio-common/tst-rndseek.c: Increase timeout.

22 years agoUpdate.
Ulrich Drepper [Sun, 3 Feb 2002 00:31:37 +0000 (00:31 +0000)]
Update.

Change ld.so to not use functions which are exported.  One cannot
interpose them anyway.  Use INT() to mark uses, INTDEF() to mark
definitions.
* include/libc-symbols.h: Define INT and INTDEF.
* sysdeps/generic/ldsodefs.h: Declare _dl_debug_printf_internal,
_dl_signal_error_internal, _dl_map_object_internal,
_dl_map_object_deps_internal, _dl_lookup_symbol_internal,
_dl_lookup_versioned_symbol_internal,
_dl_relocate_object_internal, _dl_debug_state_internal,
_dl_start_profile_internal, and _dl_unload_cache_internal.
* include/dlfcn.h: Declare _dl_catch_error_internal.
* elf/rtld.c: Use INT for calls to any of the *_internal functions
above.  Add INTDEF to function definitions.
* elf/dl-debug.c: Likewise.
* elf/dl-deps.c: Likewise.
* elf/dl-dst.h: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-init.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-misc.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-profile.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/do-lookup.h: Likewise.
* sysdeps/generic/dl-cache.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/alpha/dl-machine.h (RTLD_START): Call _dl_init_internal
instead of _dl_init.
* sysdeps/arm/dl-machine.h: Likewise.
* sysdeps/cris/dl-machine.h: Likewise.
* sysdeps/hppa/dl-machine.h: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/ia64/dl-machine.h: Likewise.
* sysdeps/m68k/dl-machine.h: Likewise.
* sysdeps/mips/dl-machine.h: Likewise.
* sysdeps/mips/mips64/dl-machine.h: Likewise.
* sysdeps/s390/s390-32/dl-machine.h: Likewise.
* sysdeps/s390/s390-64/dl-machine.h: Likewise.
* sysdeps/sh/dl-machine.h: Likewise.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
* sysdeps/x86_64/dl-machine.h: Likewise.
* sysdeps/powerpc/dl-start.S (_dl_start_user): Likewise.

* elf/Versions: Don't export _dl_check_all_versions, _dl_sysdep_start,
and _dl_debug_initialize.

22 years agoUpdate.
Ulrich Drepper [Sat, 2 Feb 2002 20:17:54 +0000 (20:17 +0000)]
Update.

* elf/dl-object.c (_dl_new_object): Avoid using strrchr.  We have
more information.
* elf/rtld.c (dl_main): Avoid strrchr.
* sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use the
result of readlink.  Search from the back for '/'.

22 years agoUpdate.
Ulrich Drepper [Sat, 2 Feb 2002 09:53:48 +0000 (09:53 +0000)]
Update.

* elf/dl-profile.c (_dl_start_profile): Help the compiler to avoid
strncpy if possible.

22 years agoUpdate.
Ulrich Drepper [Sat, 2 Feb 2002 09:49:35 +0000 (09:49 +0000)]
Update.

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

* sysdeps/generic/dl-environ.c (unsetenv): Optimize.  Don't use
strncmp.
* elf/dl-load.c (is_dst): Optimize.  Don't call strncmp twice.
* elf/rtld.c (process_dl_debug): Optimize. Avoid calls to strncmp,
strspn, and strcspn.
(process_envvars): Don't use strcspn.

* elf/dl-load.c (_dl_dst_count): Fix possible endless loop.
(_dl_dst_substitute): Likewise.

22 years agoUpdate.
Ulrich Drepper [Sat, 2 Feb 2002 07:26:22 +0000 (07:26 +0000)]
Update.

* elf/do-rel.h (elf_dynamic_do_rel): Help the compiler recognize
code which is never used when relocating ld.so itself.

(_ELF_DYNAMIC_DO_RELOC): Help the compiler optimize a bit.

22 years agoUpdate.
Ulrich Drepper [Sat, 2 Feb 2002 05:20:42 +0000 (05:20 +0000)]
Update.

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

* elf/dynamic-link.h (elf_get_dynamic_info): Optimize a bit for
starting ld.so itself.  Move l_addr variable initialization closer
to use.

22 years agoUpdate.
Ulrich Drepper [Fri, 1 Feb 2002 23:24:05 +0000 (23:24 +0000)]
Update.

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

* Versions.def (libc): Add GLIBC_PRIVATE.
(libdb, libnss_db, libdb1): Remove.
(libnss_compat, libnss_dns, libnss_files, libnss_hesiod, libnss_nis,
libnss_nisplus): Move all symbols to GLIBC_PRIVATE.
(libpthread): Add GLIBC_PRIVATE.
(libresolv): Likewise, remove GLIBC_2.1.
(ld): Add GLIBC_PRIVATE, remove GLIBC_2.1.1, GLIBC_2.2, GLIBC_2.2.1,
GLIBC_2.2.3, GLIBC_2.3.
* catgets/Versions (__open_catalog): Move to GLIBC_PRIVATE.
* elf/Versions (_dl_open, _dl_close, _dl_addr, _dl_init_first,
_dl_sym, _dl_vsym): Likewise.
(__libc_enable_secure, __libc_stack_end, _dl_argv, _dl_catch_error,
_dl_check_all_versions, _dl_check_map_versions, _dl_debug_initialize,
_dl_debug_printf, _dl_debug_state, _dl_dst_count, _dl_dst_substitute,
_dl_init, _dl_lookup_symbol, _dl_lookup_symbol_skip,
_dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip,
_dl_map_object, _dl_map_object_deps, _dl_out_of_memory,
_dl_relocate_object, _dl_signal_error, _dl_start_profile,
_dl_starting_up, _dl_sysdep_start, _dl_unload_cache, _rtld_global):
Likewise.
(_dl_object_relocation_scope): Remove.
* hesiod/Versions: Move all symbols to GLIBC_PRIVATE.
* iconv/Versions (__gconv_alias_db, __gconv_modules_db,
__gconv_cache): Move to GLIBC_PRIVATE.
* inet/Versions (__internal_endnetgrent, __internal_getnetgrent_r,
__internal_setnetgrent): Likewise.
* io/Versions (__libc_open, __libc_close, __libc_read, __libc_write,
__libc_lseek, __libc_fcntl, __libc_open64, __libc_lseek64): Likewise.
* locale/Versions (__collate_element_hash, __collate_element_strings,
__collate_symbol_classes, __collate_symbol_hash,
__collate_symbol_strings, _nl_current_LC_COLLATE,
_nl_current_LC_CTYPE): Likewise.
* misc/Versions (__libc_fsync, __libc_msync): Likewise.
* nis/Versions (libnss_compat): Move all symbols to GLIBC_PRIVATE.
(libnss_nis, libnss_nisplus): Likewise.
* nss/Versions (_nss_files_parse_grent, _nss_files_parse_pwent,
_nss_files_parse_spent): Move to GLIBC_PRIVATE.
(libnss_files): Move all symbols to GLIBC_PRIVATE.
* posix/Versions (__libc_wait, __libc_waitpid, __libc_pause,
__libc_nanosleep, __libc_fork, __libc_pread, __libc_pread64,
__libc_pwrite, __libc_pwrite64): Move to GLIBC_PRIVATE.
* resolv/Versions (__gai_sigqueue, __ns_name_unpack, __ns_name_ntop,
__ns_get16, __ns_samename): Likewise.
(libnss_dns): Move all symbols to GLIBC_PRIVATE.
* setjmp/Versions (__libc_longjmp, __libc_siglongjmp): Move to
GLIBC_PRIVATE.
* socket/Versions (__libc_accept, __libc_send, __libc_recvfrom,
__libc_recvmsg, __libc_sendmsg, __libc_recv, __libc_sendto,
__libc_connect): Likewise.
* stdio-common/Versions (_itoa_lower_digits, _itoa_upper_digits):
Likewise.
* stdlib/Versions (__libc_system): Likewise.
* sunrpc/Versions (__rpc_thread_destroy): Likewise.
* sysdeps/hppa/Versions: Move all symbols to GLIBC_PRIVATE.
* sysdeps/ia64/fpu/Versions: Likewise.
* sysdeps/ia64/Versions: Likewise.
* sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
* sysdeps/unix/sysv/linux/i386/Versions (__modify_ldt): Move
to GLIBC_PRIVATE.
* sysdeps/unix/sysv/linux/x86_64/Versions (__modify_ldt): Likewise.
* sysdeps/unix/sysv/linux/Versions (__syscall_rt_sigqueueinfo,
__libc_sigaction): Likewise.
* termios/Versions (__libc_tcdrain): Likewise.

* misc/sys/cdefs (__attribute_noinline__): Define.
* elf/dl-lookup.c (_dl_do_lookup, _dl_do_lookup_versioned): Add
__attribute_noinline__.

* elf/Makefile (rtld-routines): Add dl-xstat64, dl-fxstat64.
* elf/dl-xstat64.c: New file.
* elf/dl-fxstat64.c: New file.
* sysdeps/unix/sysv/linux/fxstat64.c: If RTLD_STAT64 is defined,
don't export __fxstat64 at multiple versions.
* sysdeps/unix/sysv/linux/lxstat64.c: Similarly.
* sysdeps/unix/sysv/linux/xstat64.c: Similarly.

22 years agoUpdate.
Ulrich Drepper [Fri, 1 Feb 2002 21:08:09 +0000 (21:08 +0000)]
Update.

2002-01-18  Isamu Hasegawa  <isamu@yamato.ibm.com>

* locale/program/ld-collate.c (collate_finish): Assign a wide
char collation sequence value to multi character collating
elements, and avoid over writing by non-character elements.

22 years agoUpdate.
Ulrich Drepper [Fri, 1 Feb 2002 19:13:09 +0000 (19:13 +0000)]
Update.

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

* elf/Makefile (distribute): Add dl-procinfo.c.
* sysdeps/unix/sysv/linux/i386/Dist: Remove dl-procinfo.c.
* sysdeps/unix/sysv/linux/arm/Dist: Likewise.

22 years agoUpdate.
Ulrich Drepper [Fri, 1 Feb 2002 19:06:42 +0000 (19:06 +0000)]
Update.

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

* sysdeps/generic/ldsodefs.h (_dl_load_lock): Remove duplicate
definition.
* sysdeps/ia64/hp-timing.h: Move _dl_hp_timing_overhead in
_rtld_global struct.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
* sysdeps/sparc/sparc64/hp-timing.c: Likewise.
* sysdeps/sparc/sparc64/hp-timing.h: Likewise.
* sysdeps/sparc/sparc64/Makefile: Make hp-timing static only.
* sysdeps/unix/sysv/aix/init-first.c (_dl_fpu_control,
_dl_fpu_control_set): Remove unused externs.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Move procinfo
related variables in _rtld_global struct.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
* sysdeps/unix/sysv/linux/init-first.c (_dl_fpu_control_set): Remove
unused extern.

22 years agoUpdate.
Ulrich Drepper [Fri, 1 Feb 2002 18:27:43 +0000 (18:27 +0000)]
Update.

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

* sysdeps/generic/dl-procinfo.c: New file.

22 years agoDummy dl-procinfo.c file for platforms which don't have one.
Ulrich Drepper [Fri, 1 Feb 2002 18:25:44 +0000 (18:25 +0000)]
Dummy dl-procinfo.c file for platforms which don't have one.

22 years ago* sysdeps/m68k/dl-machine.h: Don't use multi-line string literals.
Andreas Schwab [Fri, 1 Feb 2002 10:29:57 +0000 (10:29 +0000)]
* sysdeps/m68k/dl-machine.h: Don't use multi-line string literals.

22 years agoDon't use multi-line string literals.
Andreas Schwab [Fri, 1 Feb 2002 10:28:20 +0000 (10:28 +0000)]
Don't use multi-line string literals.

22 years agoUpdate.
Ulrich Drepper [Fri, 1 Feb 2002 09:36:26 +0000 (09:36 +0000)]
Update.

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

* elf/rtld.c (_dl_start): Mark as internal_function.
* sysdeps/i386/dl-machine.h (RTLD_START): Pass parameter for _dl_start
in register.
(elf_machine_rel): Cleanup and minor optimization for RTLD_BOOTSTRAP.
General pretty printing.

22 years agoUpdate.
Ulrich Drepper [Fri, 1 Feb 2002 07:49:47 +0000 (07:49 +0000)]
Update.

* elf/dl-minimal.c: Define _itoa for 32-bit machines with HP timing.
* elf/dl-reloc.c: Pretty printing.
* sysdeps/generic/ldsodefs.h: Move _dl_hp_timing_overhead and
procinfo-related variables in rtld_global struct.
* elf/dl-support.c: Likewise.
* elf/rtld.c: Likewise.
* sysdeps/i386/i686/Makefile: Likewise.
* sysdeps/i386/i686/hp-timing.c: Likewise.
* sysdeps/i386/i686/hp-timing.h: Likewise.
* sysdeps/ia64/Makefile: Likewise.
* sysdeps/ia64/hp-timing.c: Likewise.
* sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
* sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Likewise.
* sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Likewise.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
* sysdeps/x86_64/Makefile: Likewise.

22 years agoUpdate.
Ulrich Drepper [Fri, 1 Feb 2002 01:33:04 +0000 (01:33 +0000)]
Update.

* sysdeps/generic/ldsodefs.h: Add _dl_load_lock, _dl_lazy,
_dl_dynamic_weak, _dl_fpu_control, _dl_cpuclock_offset, and
_dl_debug_fd to rtld_global.
* elf/Versions: Likewise.
* elf/dl-close.c: Likewise.
* elf/dl-iteratephdr.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-misc.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/do-lookup.h: Likewise.
* elf/rtld.c: Likewise.
* sysdeps/generic/dl-cache.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/ia64/Versions: Likewise.
* sysdeps/unix/clock_gettime.c: Likewise.
* sysdeps/unix/clock_settime.c: Likewise.
* sysdeps/unix/sysv/linux/init-first.c: Likewise.
* sysdeps/sparc/Versions: Removed.
* sysdeps/i386/i686/Versions : Removed.
* sysdeps/x86_64/Versions: Removed.
* configure.in: Define HAVE_PROTECTED if .protected is available.
* config.h.in: Add entry for HAVE_PROTECTED.

2002-01-31  Jakub Jelinek  <jakub@redhat.com.

* sysdeps/alpha/dl-machine.h: Move global variables for SHARED
code in struct _rtld_global.  Export this struct, remove all
exports for the signal variables.
* sysdeps/arm/dl-machine: Likewise.
* sysdeps/generic/dl-origin: Likewise.
* sysdeps/generic/dl-sysdep: Likewise.
* sysdeps/generic/dl-cache: Likewise.
* sysdeps/hppa/dl-fptr: Likewise.
* sysdeps/hppa/dl-machine: Likewise.
* sysdeps/cris/dl-machine: Likewise.
* sysdeps/i386/dl-machine: Likewise.
* sysdeps/ia64/dl-machine: Likewise.
* sysdeps/m68k/dl-machine: Likewise.
* sysdeps/mach/hurd/dl-sysdep: Likewise.
* sysdeps/mips/mips64/dl-machine: Likewise.
* sysdeps/mips/dl-machine: Likewise.
* sysdeps/powerpc/elf/libc-start: Likewise.
* sysdeps/powerpc/dl-machine: Likewise.
* sysdeps/powerpc/dl-start: Likewise.
* sysdeps/sparc/sparc32/dl-machine: Likewise.
* sysdeps/sparc/sparc64/dl-machine: Likewise.
* sysdeps/sh/dl-machine: Likewise.
* sysdeps/s390/s390-32/dl-machine: Likewise.
* sysdeps/s390/s390-64/dl-machine: Likewise.
* sysdeps/unix/sysv/aix/libc-start: Likewise.
* sysdeps/unix/sysv/aix/start-libc: Likewise.
* sysdeps/unix/sysv/linux/ia64/dl-static: Likewise.
* sysdeps/unix/sysv/linux/m68k/getpagesize: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize: Likewise.
* sysdeps/x86_64/dl-machine: Likewise.

2002-01-31  Ulrich Drepper  <drepper@redhat.com>

22 years agoUpdate.
Ulrich Drepper [Thu, 31 Jan 2002 19:43:44 +0000 (19:43 +0000)]
Update.

2002-01-31  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/readv.c: Don't use alloca if the memory requirements
are too high.

2002-01-31  Andreas Schwab  <schwab@suse.de>

* sysdeps/posix/readv.c: Check for ssize_t overflow.

2002-01-31  Andreas Schwab  <schwab@suse.de>

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix leftover
reference to _dl_pagesize.

22 years agoUpdate.
Ulrich Drepper [Thu, 31 Jan 2002 03:41:25 +0000 (03:41 +0000)]
Update.

2002-01-30  Ulrich Drepper  <drepper@redhat.com>

* Versions.def [ld]: Add GLIBC_2.3.
* elf/dl-addr.c: Move global variables for SHARED code in struct
_rtld_global.  Export this struct, remove all exports for the
signal variables.
* elf/dl-close.c: Likewise.
* elf/dl-conflict.c: Likewise.
* elf/dl-debug.c: Likewise.
* elf/dl-deps.c: Likewise.
* elf/dl-dst.h: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-init.c: Likewise.
* elf/dl-iteratephdr.c: Likewise.
* elf/dl-libc.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-minimal.c: Likewise.
* elf/dl-object.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-profile.c: Likewise.
* elf/dl-profstub.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/dl-sym.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/do-lookup.h: Likewise.
* elf/do-rel.h: Likewise.
* elf/dynamic-link.h: Likewise.
* elf/rtld.c: Likewise.
* sysdeps/generic/dl-cache.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/generic/ldsodefs.h: Likewise.
* sysdeps/generic/libc-start.c: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/ia64/dl-fptr.c: Likewise.
* sysdeps/ia64/dl-machine.h: Likewise.
* sysdeps/unix/sysv/linux/dl-librecon.h: Likewise.
* sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
* sysdeps/unix/sysv/linux/getclktck.c: Likewise.
* sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/dl-static.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise.

* malloc/thread-m.h: Spinlock definitions for x86/x86_64.

22 years agoUpdate.
Ulrich Drepper [Wed, 30 Jan 2002 00:38:09 +0000 (00:38 +0000)]
Update.

* sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): Add cast
to avoid warning
(DL_STATIC_FUNCTION_ADDRESS): Likewise.

22 years agoUpdate.
Ulrich Drepper [Tue, 29 Jan 2002 23:20:28 +0000 (23:20 +0000)]
Update.

* elf/dl-lookup.c: Only define or handle _dl_num_relocations for the
SHARED version.
* elf/dl-reloc.c: Likewise for _dl_num_cache_relocations.

22 years agoUpdate.
Ulrich Drepper [Tue, 29 Jan 2002 20:56:09 +0000 (20:56 +0000)]
Update.

2002-01-29  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (_dl_start): Use __builtin_memset if available.

22 years agoUpdate.
Ulrich Drepper [Tue, 29 Jan 2002 19:07:57 +0000 (19:07 +0000)]
Update.

2002-01-29  Ben Collins  <bcollins@debian.org>

* string/bits/string2.h (__mempcpy): Protect size arg for
addition when using __builtin_memcpy.

22 years agoUpdate.
Ulrich Drepper [Tue, 29 Jan 2002 09:21:41 +0000 (09:21 +0000)]
Update.

* stdlib/Makefile (tests): Add tst-qsort.
* stdlib/tst-qsort.c: New file.  Written by Paul Eggert.

22 years agoUpdate.
Ulrich Drepper [Tue, 29 Jan 2002 08:58:51 +0000 (08:58 +0000)]
Update.

* manual/signal.texi (Process Signal Mask): Document that
pthread_sigmask, not sigprocmask, must be used in MT programs.
Patch by Bertold Kolics <Bertold.Kolics@Sun.COM>.

22 years agoUpdate.
Ulrich Drepper [Tue, 29 Jan 2002 08:25:15 +0000 (08:25 +0000)]
Update.

2002-01-29  Ulrich Drepper  <drepper@redhat.com>

* misc/hsearch_r.c (hsearch_r): Don't insert anything if entry is
found.
* misc/Makefile (tests): Add tst-hsearch.
* misc/tst-hsearch.c: New file.

22 years agoUpdate.
Ulrich Drepper [Tue, 29 Jan 2002 07:54:51 +0000 (07:54 +0000)]
Update.

2002-01-18  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c: Rewrite, adapted from Doug Lea's malloc-2.7.0.c.
* malloc/malloc.h: Likewise.
* malloc/arena.c: New file.
* malloc/hooks.c: New file.
* malloc/tst-mallocstate.c: New file.
* malloc/Makefile: Add new testcase tst-mallocstate.
Add arena.c and hooks.c to distribute.  Fix commented CPPFLAGS.

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

* stdlib/msort.c: Remove last patch.  The optimization violates the
same rule which qsort.c had problems with.

2002-01-27  Paul Eggert  <eggert@twinsun.com>

* stdlib/qsort.c (_quicksort): Do not apply the comparison function
to a pivot element that lies outside the array to be sorted, as
ISO C99 requires that the comparison function be called only with
addresses of array elements [PR libc/2880].

22 years agoUpdate.
Ulrich Drepper [Tue, 29 Jan 2002 04:37:30 +0000 (04:37 +0000)]
Update.

* elf/dl-load.c (_dl_map_object): Remove incorrect optimization
for SHARED code.  Reported by Ben Collins <bcollins@debian.org>.

22 years agoUpdate.
Ulrich Drepper [Tue, 29 Jan 2002 04:25:28 +0000 (04:25 +0000)]
Update.

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

* timezone/asia: Update from tzdata2002b.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/leapseconds: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/zone.tab: Likewise.

22 years agoUpdate.
Ulrich Drepper [Tue, 29 Jan 2002 03:56:50 +0000 (03:56 +0000)]
Update.

2002-01-23  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/Makefile (pic-ccflag): New variable.

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

* string/strxfrm.c: Allocate one more byte for rulearr and clear
this element [PR libc/2855].

* string/strcoll.c: Handle zero-length arguments specially
[PR libc/2856].

2002-01-23  Jakub Jelinek  <jakub@redhat.com>

* string/bits/string2.h (__mempcpy): For gcc 3.0+, don't use
__mempcpy_small but instead use __builtin_memcpy ( , , n) + n for
short lengths and constant src.
(strcpy): Don't optimize for gcc 3.0+.
(__stpcpy): For gcc 3.0+, don't use
__stpcpy_small but instead use __builtin_strcpy (, src) + strlen (src)
for short string literal src.

2002-01-23  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>

* sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
Set for arm, too.

2001-01-22  Paul Eggert  <eggert@twinsun.com>

* manual/llio.texi (Linked Channels, Cleaning Streams):
Make it clearer that a just-opened input stream might need cleaning.

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

* sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
Don't use label at end of compound statement.

22 years ago(ELF_MACHINE_BEFORE_RTLD_RELOC): Don't use label at end of compound statement.
Ulrich Drepper [Tue, 29 Jan 2002 02:58:00 +0000 (02:58 +0000)]
(ELF_MACHINE_BEFORE_RTLD_RELOC): Don't use label at end of compound statement.

22 years ago(__pthread_spin_init): Clear *LOCK to 0.
Andreas Jaeger [Mon, 28 Jan 2002 10:49:11 +0000 (10:49 +0000)]
(__pthread_spin_init): Clear *LOCK to 0.

2002-01-28  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/pspinlock.c (__pthread_spin_init): Clear *LOCK to
0. Patch by Machida Hiroyuki <machida@sm.sony.co.jp>.

* sysdeps/s390/s390-32/pt-machine.h (MEMORY_BARRIER): Define.
(CURRENT_STACK_FRAME): Remove duplicate definition.
* sysdeps/s390/s390-64/pt-machine.h: Likewise.

22 years agoUpdate.
Andreas Jaeger [Mon, 28 Jan 2002 10:18:52 +0000 (10:18 +0000)]
Update.

2002-01-28  Stephen L Moshier  <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
Remove test for negative integer arg; sin_pi does it correctly.

22 years ago(__ieee754_lgammal_r): Remove test for negative integer arg; sin_pi does it correctly.
Andreas Jaeger [Mon, 28 Jan 2002 10:18:33 +0000 (10:18 +0000)]
(__ieee754_lgammal_r): Remove test for negative integer arg; sin_pi does it correctly.

22 years agoUpdate.
Ulrich Drepper [Mon, 21 Jan 2002 07:15:25 +0000 (07:15 +0000)]
Update.

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

* nscd/Makefile (distribute): Filter out xmalloc.c.

* manual/syslog.texi (openlog): Describe possible problems with

22 years agoUpdate.
Ulrich Drepper [Sat, 19 Jan 2002 17:51:34 +0000 (17:51 +0000)]
Update.

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

* libio/fileops.c (_IO_file_underflow_mmap): Don't define as static.
Set offset if read end wasn't the buffer end.
(_IO_file_seekoff_mmap): New function.
(_IO_file_xsgetn_mmap): New function.
(_IO_file_jumps_mmap): Use the two new functions.
* libio/wfileops.c (_IO_wfile_underflow_mmap): Handle end read buffer
!= end buffer.
* libio/libioP.h: Declare _IO_file_seekoff_mmap and
_IO_file_underflow_mmap.
* libio/iofopen.c: Don't position file descriptor at end of file.
* libio/tst-widetext.c: Improve error messages.
* stdio-common/tst-rndseek.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Fri, 18 Jan 2002 23:39:39 +0000 (23:39 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at
end of enum for !_GNU_SOURCE.
* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise.
* sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_*
values unless _GNU_SOURCE.

22 years agoUpdate.
Ulrich Drepper [Fri, 18 Jan 2002 18:13:36 +0000 (18:13 +0000)]
Update.

2002-01-18  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/tcvn5712-1.c: Minor cleanups.

22 years agoUpdate.
Ulrich Drepper [Fri, 18 Jan 2002 16:19:25 +0000 (16:19 +0000)]
Update.

* nscd/Makefile (nscd-modules): Add xmalloc for nscd.

22 years ago(nscd-modules): Add xmalloc for nscd.
Ulrich Drepper [Fri, 18 Jan 2002 16:11:39 +0000 (16:11 +0000)]
(nscd-modules): Add xmalloc for nscd.

22 years ago* sysdeps/unix/sysv/linux/configure.in
Andreas Schwab [Fri, 18 Jan 2002 13:03:37 +0000 (13:03 +0000)]
* sysdeps/unix/sysv/linux/configure.in

(libc_cv_gcc_unwind_find_fde): Set for m68k, too.

22 years ago(libc_cv_gcc_unwind_find_fde): Set for m68k, too.
Andreas Schwab [Fri, 18 Jan 2002 13:03:16 +0000 (13:03 +0000)]
(libc_cv_gcc_unwind_find_fde): Set for m68k, too.

22 years agoUpdate.
Ulrich Drepper [Fri, 18 Jan 2002 06:26:02 +0000 (06:26 +0000)]
Update.

2002-01-16  Roger Sayle  <roger@eyesopen.com>

* stdlib/msort.c (msort_with_tmp): Replace implementation with
more efficient "Towers of Hanoi" mergesort.
(hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions,
for generic, sizeof(int) and sizeof(long) variants respectively.

* manial/syslog.texi (openlog): Describe possible problems with
first parameter.
Patch by Christopher Allen Wing <wingc@engin.umich.edu>.

22 years agoUpdate.
Ulrich Drepper [Fri, 18 Jan 2002 02:17:00 +0000 (02:17 +0000)]
Update.

Patch by Christopher Allen Wing <wingc@engin.umich.edu>.

22 years agoUpdate.
Ulrich Drepper [Fri, 18 Jan 2002 02:10:41 +0000 (02:10 +0000)]
Update.

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

* nscd/nscd.c (drop_privileges): Removed.  Adjust caller.
* nscd/connections.c (begin_drop_privileges): New function.
(finish_drop_privileges): New function.
(nscd_init): Call the new functions which also install all groups
for the server user.

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

* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Remove
`const' from `got'.

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 23:07:30 +0000 (23:07 +0000)]
Update.

2002-01-17  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Use 64 bit
instructions for pointer operations.
* sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.

22 years agoUse 64 bit instructions for pointer operations.
Ulrich Drepper [Thu, 17 Jan 2002 22:56:53 +0000 (22:56 +0000)]
Use 64 bit instructions for pointer operations.

22 years agoUpdate.
Andreas Jaeger [Thu, 17 Jan 2002 17:35:57 +0000 (17:35 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has
__uint128_t build-in.

22 years agoUpdate.
Andreas Jaeger [Thu, 17 Jan 2002 17:22:57 +0000 (17:22 +0000)]
Update.

2002-01-17  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and
PowerPC, sync with 2.2 branch.

22 years ago* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and
Andreas Jaeger [Thu, 17 Jan 2002 17:22:51 +0000 (17:22 +0000)]
* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and

PowerPC, sync with 2.2 branch.

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 07:38:47 +0000 (07:38 +0000)]
Update.

* posix/getconf.c: Update copyright year.
* nss/getent.c: Likewise.
* nscd/nscd_nischeck.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.

2002-01-16  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Fix regexp to
reliably remove "-ia64" from rtld name.

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

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 06:35:42 +0000 (06:35 +0000)]
Update.

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

* iconvdata/gb18030.c: Bug fixes and support for more characters.
Patch by Yu Shao <yshao@redhat.com>.

2002-01-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/swapcontext.c: Remove.
* sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: New file.

2002-01-14  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/fpu/libm-test-ulps: Update.

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 00:50:24 +0000 (00:50 +0000)]
Update.

2002-01-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>

     * sysdeps/s390/s390-32/pt-machine.h (MEMORY_BARRIER): Define.
     (CURRENT_STACK_FRAME): Remove duplicate definition.
     * sysdeps/s390/s390-64/pt-machine.h: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 00:36:30 +0000 (00:36 +0000)]
Update.

* Makefile (CFLAGS-tst-cancel.c): Add -fno-inline-functions to prevent
automatic inline.

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 00:32:33 +0000 (00:32 +0000)]
Update.

2002-01-14  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* linuxthreads/Makefile (CFLAGS-tst-cancel.c): Add
-fno-inline-functions to prevent automatic inline.

22 years agoUpdate.
Ulrich Drepper [Wed, 16 Jan 2002 17:44:51 +0000 (17:44 +0000)]
Update.

2002-01-12  Andreas Schwab  <schwab@suse.de>

* Makefile (test-srcs): Add tst-signal.
(tests): Run tst-signal.
(distribute): Add tst-signal.sh.
* tst-signal.c, tst-signal.sh: New files.

22 years agoTest for handling initial signal handler setting correctly.
Ulrich Drepper [Wed, 16 Jan 2002 00:28:45 +0000 (00:28 +0000)]
Test for handling initial signal handler setting correctly.

22 years ago* sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
Andreas Jaeger [Mon, 14 Jan 2002 15:43:08 +0000 (15:43 +0000)]
* sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.

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

* sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.

22 years ago(sighandler): Initialize all elements to SIG_ERR. (__sigaction): Don't use value...
Ulrich Drepper [Sat, 12 Jan 2002 01:36:35 +0000 (01:36 +0000)]
(sighandler): Initialize all elements to SIG_ERR. (__sigaction): Don't use value from sighandler if it is SIG_ERR.

22 years agoUpdate.
Ulrich Drepper [Sat, 12 Jan 2002 01:35:51 +0000 (01:35 +0000)]
Update.

2002-01-11  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h: Update x86 relocations.

22 years agoUpdate.
Ulrich Drepper [Fri, 11 Jan 2002 06:47:31 +0000 (06:47 +0000)]
Update.

2002-01-10  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/charmap.c (new_width): Check whether byte
sequences for both ends of range have the same length.

22 years agoUpdate.
Ulrich Drepper [Fri, 11 Jan 2002 01:06:11 +0000 (01:06 +0000)]
Update.

2002-01-09  Jakub Jelinek  <jakub@redhat.com>

* elf/elf.h (SHN_UNDEF): Remove duplicate definition.

2002-01-09  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/fpu/e_sqrt.c (__ieee754_sqrt): Don't use multi-line
string literals.
(__full_ieee754_sqrt): Add __attribute_used__.

2002-01-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/group_member.c (__group_member): Also check
groups[0] [PR libc/2781].

22 years agoUpdate.
Ulrich Drepper [Tue, 8 Jan 2002 22:00:09 +0000 (22:00 +0000)]
Update.

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

* Makefile (distribute): Add scripts/cpp.
* elf/Makefile (distribute): Add reldep6mod[01234].c,
unwind-dw2.c, unwind-dw2-fde.c, unwind.h, unwind-pe.h,
unwind-dw2-fde.h, and dwarf2.h.
* sysdeps/unix/bsd/bsd4.4/Dist: New file.
* sysdeps/unix/sysv/aix/Dist: Add sysv_termio.h and start-libc.c.
* sysdeps/unix/sysv/linux/ia64/Dist: Add ldd-rewrite.sed.
* sysdeps/unix/sysv/linux/s390/Dist: Likewise.

22 years agoAdd ldd-rewrite.sed.
Ulrich Drepper [Tue, 8 Jan 2002 21:54:06 +0000 (21:54 +0000)]
Add ldd-rewrite.sed.

22 years ago* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use
Roland McGrath [Tue, 8 Jan 2002 19:58:03 +0000 (19:58 +0000)]
* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use

volatile on type of ARGC so the compiler doesn't get clever.

22 years ago2002-01-07 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 8 Jan 2002 19:57:57 +0000 (19:57 +0000)]
2002-01-07  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use
volatile on type of ARGC so the compiler doesn't get clever.

22 years agoUpdate.
Andreas Jaeger [Tue, 8 Jan 2002 10:19:44 +0000 (10:19 +0000)]
Update.

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

* sysdeps/generic/bits/byteswap.h: Prevent double inclusion.
* sysdeps/i386/bits/byteswap.h: Likewise.
* sysdeps/ia64/bits/byteswap.h: Likewise.
* sysdeps/m68k/bits/byteswap.h: Likewise.
* sysdeps/s390/s390-32/bits/byteswap.h: Likewise.
* sysdeps/s390/s390-64/bits/byteswap.h: Likewise.

22 years agoPrevent double inclusion.
Andreas Jaeger [Tue, 8 Jan 2002 10:19:35 +0000 (10:19 +0000)]
Prevent double inclusion.

22 years agoUpdate.
Ulrich Drepper [Tue, 8 Jan 2002 06:38:01 +0000 (06:38 +0000)]
Update.

2002-01-02  Bruno Haible  <bruno@clisp.org>

* intl/plural.y: Fix %expect count.

22 years agoUpdate.
Ulrich Drepper [Tue, 8 Jan 2002 06:28:46 +0000 (06:28 +0000)]
Update.

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

* elf/Makefile (routines, shared-only-routines): Add
unwind-dw2-fde-glibc instead of unwind-dw2-fde.
* elf/elf.h (PT_GNU_EH_FRAME): Define.
* sysdeps/generic/unwind-dw2-fde-glibc.c: New file.
* sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases):
Optimize if .eh_frame section contains no FDEs.
(__register_frame, __deregister_frame_info_bases,
__deregister_frame): Likewise.
* sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix
DW_CFA_restore handling.

2002-01-07  Stephen L Moshier  <moshier@mediaone.net>

22 years agoUpdate.
Ulrich Drepper [Mon, 7 Jan 2002 23:08:16 +0000 (23:08 +0000)]
Update.

2002-01-06  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/elf/pt-initfini.c: New file.

2001-12-12  NIIBE Yutaka  <gniibe@m17n.org>

22 years agoSpecial init/fini sections for Alpha when using linuxthreads.
Ulrich Drepper [Mon, 7 Jan 2002 23:00:52 +0000 (23:00 +0000)]
Special init/fini sections for Alpha when using linuxthreads.

22 years agoUpdate.
Andreas Jaeger [Mon, 7 Jan 2002 13:28:49 +0000 (13:28 +0000)]
Update.

2002-01-07  Stephen L Moshier <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-96/s_erfl.c (erfcl): Fix K&R header.

* sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Fix typo in test
for x < 0.25 and restore original range reduction method.
(__ieee754_lgammal_r): Make sure signgam is set before returning.

22 years ago (erfcl): Fix K&R header.
Andreas Jaeger [Mon, 7 Jan 2002 13:28:04 +0000 (13:28 +0000)]
 (erfcl): Fix K&R header.

22 years agoUpdate.
Ulrich Drepper [Mon, 7 Jan 2002 09:33:53 +0000 (09:33 +0000)]
Update.

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

* libio/fileops.c (_IO_file_underflow_mmap): New function.
(_IO_file_close_mmap): New function.
(_IO_file_jumps_mmap): New variable.
* libio/wfileops.c (_IO_wfile_underflow): Reset read pointer before
trying to convert rest of byte buffer.
(_IO_wfile_underflow_mmap): New function.
(_IO_wfile_jumps_mmap): New variable.
* libio/iofopen.c (__fopen_maybe_mmap): New function.
(__fopen_internal): New function.  Split out from _IO_new_fopen.
(_IO_new_fopen): Call __fopen_internal.
* libio/iofopen64.c: Just call __fopen_internal.
* libio/iofdopen.c: Call __fopen_maybe_mmap before returning
successfully.
* libio/iolibio.h: Declare __fopen_internal and __fopen_maybe_mmap.
* libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps_mmap,
_IO_file_close_mmap.

* sysdeps/gnu/_G_config.h: Define _G_MMAP64.
* sysdeps/unix/sysv/linux/cris/_G_config.h: Likewise.

* stdio-common/Makefile (tests): Add tst-rndseek.
* stdio-common/tst-rndseek.c: New file.

22 years agoTest for fseek on input stream.
Ulrich Drepper [Mon, 7 Jan 2002 09:16:46 +0000 (09:16 +0000)]
Test for fseek on input stream.

22 years ago* config.h.in (HAVE_MIG_RETCODE): New #undef.
Roland McGrath [Sat, 5 Jan 2002 21:53:13 +0000 (21:53 +0000)]
* config.h.in (HAVE_MIG_RETCODE): New #undef.

* sysdeps/mach/hurd/configure.in (hurd_MIG_RETCODE: New macro
swiped from hurd package's aclocal.m4; use it to set HAVE_MIG_RETCODE.
* sysdeps/mach/hurd/configure: Regenerated.

22 years ago2002-01-05 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 5 Jan 2002 21:53:04 +0000 (21:53 +0000)]
2002-01-05  Roland McGrath  <roland@frob.com>

* config.h.in (HAVE_MIG_RETCODE): New #undef.
* sysdeps/mach/hurd/configure.in (hurd_MIG_RETCODE: New macro
swiped from hurd package's aclocal.m4; use it to set HAVE_MIG_RETCODE.
* sysdeps/mach/hurd/configure: Regenerated.

22 years agocygnus.com -> redhat.com
Ulrich Drepper [Sat, 5 Jan 2002 06:15:54 +0000 (06:15 +0000)]
cygnus.com -> redhat.com

22 years agoUpdate.
Ulrich Drepper [Thu, 3 Jan 2002 20:54:56 +0000 (20:54 +0000)]
Update.

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

* elf/elf.h: Add more TLS definitions.

22 years agoUpdate.
Ulrich Drepper [Thu, 3 Jan 2002 00:45:20 +0000 (00:45 +0000)]
Update.

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

* include/features.h (__GLIBC_MINOR__): Bump to 3.

22 years ago(__GLIBC_MINOR__): Bump to 3.
Ulrich Drepper [Thu, 3 Jan 2002 00:43:43 +0000 (00:43 +0000)]
(__GLIBC_MINOR__): Bump to 3.

22 years ago(_hurd_internal_post_signal): typo
Roland McGrath [Wed, 2 Jan 2002 10:54:54 +0000 (10:54 +0000)]
(_hurd_internal_post_signal): typo

22 years ago* sysdeps/mach/hurd/sigwait.c (__sigwait): Use __sigandset,
Roland McGrath [Wed, 2 Jan 2002 10:52:56 +0000 (10:52 +0000)]
* sysdeps/mach/hurd/sigwait.c (__sigwait): Use __sigandset,

__sigisemptyset.  Don't use MASK uninitialized.

* sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Use __sigorset.
* hurd/hurdinit.c (_hurd_new_proc_init): Use __sigisemptyset.
* hurd/hurdsig.c (_hurd_internal_post_signal): Use __sigismember,
__sigdelset, __sigaddset, __sigorset.

22 years ago* hurd/hurdinit.c (_hurd_ports_use): Return EGRATUITOUS when
Roland McGrath [Wed, 2 Jan 2002 10:27:25 +0000 (10:27 +0000)]
* hurd/hurdinit.c (_hurd_ports_use): Return EGRATUITOUS when

_hurd_ports is null.

22 years ago* sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t.
Roland McGrath [Wed, 2 Jan 2002 10:24:13 +0000 (10:24 +0000)]
* sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t.

* sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t.

22 years ago* hurd/hurdinit.c (_hurd_ports_use): Return error _hurd_ports is null.
Roland McGrath [Wed, 2 Jan 2002 10:23:33 +0000 (10:23 +0000)]
* hurd/hurdinit.c (_hurd_ports_use): Return error _hurd_ports is null.

* hurd/hurdsig.c (_hurdsig_init): Conditionalize exception port setup
for old CMU and new OSF Mach interface flavors.
* hurd/hurdfault.c (_hurdsig_fault_init): Likewise.
* sysdeps/mach/hurd/fork.c (__fork): Likewise.

* hurd/hurdsig.c (_hurd_internal_post_signal): Leave msgh_seqno unset.

* sysdeps/mach/hurd/spawni.c (__spawni) [KERN_INVALID_LEDGER]:
Pass extra arguments to task_create for OSF variant.
* sysdeps/mach/hurd/fork.c (__fork): Likewise.

22 years ago* sysdeps/powerpc/elf/libc-start.c: Make AUXVEC diddling code
Roland McGrath [Wed, 2 Jan 2002 09:52:33 +0000 (09:52 +0000)]
* sysdeps/powerpc/elf/libc-start.c: Make AUXVEC diddling code

conditional on [HAVE_AUX_VECTOR].

* mach/mach/mach_traps.h (thread_switch, __thread_switch): Use
mach_msg_timeout_t as type of final argument.

* hurd/privports.c (__get_privileged_ports):
Change host_priv_t to mach_port_t in argument type.
* hurd/hurd.h (get_privileged_ports, __get_privileged_ports):
Update decls.

* sysdeps/mach/hurd/i386/bits/sigcontext.h: Protect from
multiple inclusion.  Inhibit #error under [_SYS_UCONTEXT_H].
* sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.

22 years ago* sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching.
Roland McGrath [Wed, 2 Jan 2002 06:40:31 +0000 (06:40 +0000)]
* sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching.

22 years ago2002-01-01 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 2 Jan 2002 06:38:52 +0000 (06:38 +0000)]
2002-01-01  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching.

22 years agoUpdate.
Ulrich Drepper [Wed, 2 Jan 2002 06:29:28 +0000 (06:29 +0000)]
Update.

2002-01-01  Ulrich Drepper  <drepper@redhat.com>

* include/stdlib.h: Define inlines for the _l variants of the strto*
functions.

22 years agoDefine inlines for the _l variants of the strto* functions.
Ulrich Drepper [Wed, 2 Jan 2002 06:25:51 +0000 (06:25 +0000)]
Define inlines for the _l variants of the strto* functions.

22 years ago* sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash.
Roland McGrath [Wed, 2 Jan 2002 06:22:14 +0000 (06:22 +0000)]
* sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash.

* mach/Machrules (MIG): Set CPP as well as CC.

22 years ago2002-01-01 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 2 Jan 2002 06:21:52 +0000 (06:21 +0000)]
2002-01-01  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash.

22 years agoUpdate.
Ulrich Drepper [Mon, 31 Dec 2001 18:30:10 +0000 (18:30 +0000)]
Update.

locale to parse /proc/loadavg [PR libc/2760].

22 years agoUpdate.
Ulrich Drepper [Mon, 31 Dec 2001 17:46:59 +0000 (17:46 +0000)]
Update.

2001-12-31  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Always use C
locale to parse /proc/loadavg.

2001-12-31  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-conflict.c: Include sys/param.h.
(RESOLVE_CONFLICT_FIND_MAP): Cast r_offset to ElfW(Addr).
* sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Avoid
warning.
(TRAMPOLINE_TEMPLATE, RTLD_START): Don't use multi-line string
literals to avoid warnings.

* configure.in: Don't check for gsed since we do not use it anywhere.

22 years agoInclude sys/param.h. (RESOLVE_CONFLICT_FIND_MAP): Cast r_offset to ElfW(Addr).
Ulrich Drepper [Mon, 31 Dec 2001 17:33:22 +0000 (17:33 +0000)]
Include sys/param.h. (RESOLVE_CONFLICT_FIND_MAP): Cast r_offset to ElfW(Addr).

22 years agoUpdate.
Andreas Jaeger [Mon, 31 Dec 2001 06:57:18 +0000 (06:57 +0000)]
Update.

2001-12-31  Andreas Jaeger  <aj@suse.de>

* configure.in: Don't check for gsed since we do not use it
anywhere.