platform/upstream/glibc.git
24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 21:55:11 +0000 (21:55 +0000)]
Update.

2000-06-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
__cmsg_data field with __extension__.

24 years agoUpdate
Ulrich Drepper [Sat, 10 Jun 2000 21:04:36 +0000 (21:04 +0000)]
Update

2000-06-10  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 19:51:45 +0000 (19:51 +0000)]
Update.

2000-06-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/timer_routines.c (list_append): Little fix to
reall append the entry.

list and remove from active list.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 18:20:09 +0000 (18:20 +0000)]
Update.

* iconv/gconv_simple.c: Fix various small bugs in several
functions.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 17:34:04 +0000 (17:34 +0000)]
Update.

2000-06-10  Ulrich Drepper  <drepper@redhat.com>

* iconv/loop.c: Fix comment.

24 years agoFix comment.
Ulrich Drepper [Sat, 10 Jun 2000 17:33:20 +0000 (17:33 +0000)]
Fix comment.

24 years agolockfile.c (__fresetlockfiles): Remove unused variable fp.
Andreas Jaeger [Sat, 10 Jun 2000 10:17:31 +0000 (10:17 +0000)]
lockfile.c (__fresetlockfiles): Remove unused variable fp.

2000-06-10  Andreas Jaeger  <aj@suse.de>

* lockfile.c (__fresetlockfiles): Remove unused variable fp.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 08:28:06 +0000 (08:28 +0000)]
Update.

2000-06-10  Kaz Kylheku  <kaz@ashi.footprints.net>

* sysdeps/pthread/timer_create.c: Thread matching now done on
clock type as well as thread attributes.
There are individual global signal-delivering threads for
different clock types.
* sysdeps/pthread/posix-timer.h: Likewise.
* sysdeps/pthread/timer_routines.c: Likewise.

* sysdeps/pthread/timer_routines.c: Thread allocation and
deallocation function now remembers to put thread on active
list and remove from active list.
Thus now the feature of binding multiple timers
to a single thread actually works.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 08:02:29 +0000 (08:02 +0000)]
Update.

* joinrace.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 07:58:50 +0000 (07:58 +0000)]
Update.

* manager.c (pthread_handle_free): Likewise.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 07:45:56 +0000 (07:45 +0000)]
Update.

2000-06-10  Ulrich Drepper  <drepper@redhat.com>

* pthread.c (__pthread_create_2_1): Optimize a bit.

* internals.h (invalid_handle): Also test for p_terminated != 0.
(nonexisting_handle): New function.  Same as old invalid_handle.
* join.c (pthread_join): Use nonexisting_handle instead of
invalid_handle to test for acceptable thread handle.
Reported by Permaine Cheung <pcheung@cygnus.com>.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 05:48:35 +0000 (05:48 +0000)]
Update.

2000-06-10  Jakub Jelinek  <jakub@redhat.com>

* elf/link.h: Remove libc internal declarations.
* include/link.h: Move them here.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 04:37:32 +0000 (04:37 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
Patch by Dan Pop <Dan.Pop@cern.ch>.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 04:31:24 +0000 (04:31 +0000)]
Update.

2000-06-09  H.J. Lu  <hjl@gnu.org>

* dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
after freeing it.

* dlfcn/Makefile (distribute): Add failtestmod.c.
(tests): Add failtest.
Add rules to build and run failtest.
* dlfcn/failtest.c: New file.
* dlfcn/failtestmod.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 04:06:58 +0000 (04:06 +0000)]
Update.

* dlfcn/dlerror.c (struct dl_action_result): Add objname member.
(dlerror): Add objname to asprintf() parameters.
(_dl_error_run): Pass new parameter to _dl_catch_error.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 04:01:36 +0000 (04:01 +0000)]
Update.

2000-06-09  Ulrich Drepper  <drepper@redhat.com>

Rewrite error message handling.
* elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
_dl_catch_error.
* elf/dl-error (struct catch): Add objname member.
(_dl_signal_error): Take new parameter with object name.  When
passing message on simply store object name and duplicate error
message.
(_dl_catch_error): Take new parameter.  Store object name in the
place pointed to.
* include/dlfcn.h: Adjust _dl_catch_error prototype.
* sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
* elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
* elf/dl-open.c (_dl_open): Likewise.
* elf/rtld.c (dl_main): Likewise.
* elf/dl-close.c: Mark error messages with N_().
* elf/dl-deps.c: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/dl-sym.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/dl-lookup.c: Add comments about problems with error message
translations.
* elf/dl-reloc.c: Likewise.
* elf/dl-version.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 00:14:45 +0000 (00:14 +0000)]
Update.

2000-06-09  David Mosberger-Tang  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
* sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
* sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
* sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 00:10:30 +0000 (00:10 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/brk.S: New file.
* sysdeps/unix/sysv/linux/ia64/pipe.S: New file.

2000-06-09  Jes Sorensen  <jes@linuxcare.com>

24 years agoUpdate.
Ulrich Drepper [Sat, 10 Jun 2000 00:05:44 +0000 (00:05 +0000)]
Update.

2000-06-09  Jes Sorensen  <jes@linuxcare.com>
    Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
* sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.

24 years agoUpdate.
Ulrich Drepper [Fri, 9 Jun 2000 17:34:27 +0000 (17:34 +0000)]
Update.

2000-06-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
to find correct mount point despite wrong information from the
kernel.

24 years agoUpdate.
Ulrich Drepper [Fri, 9 Jun 2000 16:45:21 +0000 (16:45 +0000)]
Update.

2000-06-09  Jes Sorensen  <jes@linuxcare.com>

* elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
the address of a symbol so function pointers are handled properly.

24 years agoUpdate.
Ulrich Drepper [Fri, 9 Jun 2000 06:45:09 +0000 (06:45 +0000)]
Update.

* sysdeps/i386/Dist: Add bp-asm.h.

24 years agoUpdate.
Ulrich Drepper [Fri, 9 Jun 2000 06:42:46 +0000 (06:42 +0000)]
Update.

* sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
defaultdir variable instead of "/var/shm" everywhere.
(defaultdir): Change to /dev/shm/.

24 years agoUpdate.
Ulrich Drepper [Fri, 9 Jun 2000 06:35:03 +0000 (06:35 +0000)]
Update.

2000-06-08  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/shm_open.c (defaultdir): Change to /dev/shm/.

24 years ago(__timer_thread_queue_timer): Correct handling of matching variable.
Ulrich Drepper [Fri, 9 Jun 2000 06:30:08 +0000 (06:30 +0000)]
(__timer_thread_queue_timer): Correct handling of matching variable.

24 years ago* sysdeps/i386/bp-asm.h: New file.
Greg McGary [Fri, 9 Jun 2000 06:14:39 +0000 (06:14 +0000)]
* sysdeps/i386/bp-asm.h: New file.

* sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
offsets.  Add ENTER/LEAVE macros for optionally maintaining
frame-pointer chain when debugging.
* sysdeps/i386/add_n.S: Likewise.
* sysdeps/i386/addmul_1.S: Likewise.
* sysdeps/i386/lshift.S: Likewise.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/rawmemchr.S: Likewise.
* sysdeps/i386/rshift.S: Likewise.
* sysdeps/i386/stpcpy.S: Likewise.
* sysdeps/i386/stpncpy.S: Likewise.
* sysdeps/i386/strchr.S: Likewise.
* sysdeps/i386/strchrnul.S: Likewise.
* sysdeps/i386/strcspn.S: Likewise.
* sysdeps/i386/strpbrk.S: Likewise.
* sysdeps/i386/strrchr.S: Likewise.
* sysdeps/i386/strspn.S: Likewise.
* sysdeps/i386/strtok.S: Likewise.
* sysdeps/i386/sub_n.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/i386/i486/strcat.S: Likewise.
* sysdeps/i386/i486/strlen.S: Likewise.
* sysdeps/i386/i586/add_n.S: Likewise.
* sysdeps/i386/i586/lshift.S: Likewise.
* sysdeps/i386/i586/memcpy.S: Likewise.
* sysdeps/i386/i586/memset.S: Likewise.
* sysdeps/i386/i586/rshift.S: Likewise.
* sysdeps/i386/i586/strchr.S: Likewise.
* sysdeps/i386/i586/strcpy.S: Likewise.
* sysdeps/i386/i586/strlen.S: Likewise.
* sysdeps/i386/i586/sub_n.S: Likewise.
* sysdeps/i386/i686/add_n.S: Likewise.
* sysdeps/i386/i686/memcpy.S: Likewise.
* sysdeps/i386/i686/mempcpy.S: Likewise.
* sysdeps/i386/i686/memset.S: Likewise.
* sysdeps/i386/i686/strcmp.S: Likewise.
2000-06-08  Greg McGary  <greg@mcgary.org>

* sysdeps/i386/bp-asm.h: New file.
* sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
offsets.  Add ENTER/LEAVE macros for optionally maintaining
frame-pointer chain when debugging.
* sysdeps/i386/add_n.S: Likewise.
* sysdeps/i386/addmul_1.S: Likewise.
* sysdeps/i386/lshift.S: Likewise.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/rawmemchr.S: Likewise.
* sysdeps/i386/rshift.S: Likewise.
* sysdeps/i386/stpcpy.S: Likewise.
* sysdeps/i386/stpncpy.S: Likewise.
* sysdeps/i386/strchr.S: Likewise.
* sysdeps/i386/strchrnul.S: Likewise.
* sysdeps/i386/strcspn.S: Likewise.
* sysdeps/i386/strpbrk.S: Likewise.
* sysdeps/i386/strrchr.S: Likewise.
* sysdeps/i386/strspn.S: Likewise.
* sysdeps/i386/strtok.S: Likewise.
* sysdeps/i386/sub_n.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/i386/i486/strcat.S: Likewise.
* sysdeps/i386/i486/strlen.S: Likewise.
* sysdeps/i386/i586/add_n.S: Likewise.
* sysdeps/i386/i586/lshift.S: Likewise.
* sysdeps/i386/i586/memcpy.S: Likewise.
* sysdeps/i386/i586/memset.S: Likewise.
* sysdeps/i386/i586/rshift.S: Likewise.
* sysdeps/i386/i586/strchr.S: Likewise.
* sysdeps/i386/i586/strcpy.S: Likewise.
* sysdeps/i386/i586/strlen.S: Likewise.
* sysdeps/i386/i586/sub_n.S: Likewise.
* sysdeps/i386/i686/add_n.S: Likewise.
* sysdeps/i386/i686/memcpy.S: Likewise.
* sysdeps/i386/i686/mempcpy.S: Likewise.
* sysdeps/i386/i686/memset.S: Likewise.
* sysdeps/i386/i686/strcmp.S: Likewise.

24 years ago(main): Rewrite initializers to avoid warnings.
Ulrich Drepper [Fri, 9 Jun 2000 06:09:51 +0000 (06:09 +0000)]
(main): Rewrite initializers to avoid warnings.

24 years agoUpdate.
Ulrich Drepper [Fri, 9 Jun 2000 04:59:48 +0000 (04:59 +0000)]
Update.

* sysdeps/pthread/timer_routines.c (__timer_thread_queue_timer):
Be prepared for empty timer list.

24 years agoUpdate.
Ulrich Drepper [Fri, 9 Jun 2000 04:33:59 +0000 (04:33 +0000)]
Update.

* sysdeps/pthread/timer_create.c (timer_create): Correct names of
CPUTIME clock ID.  Add support for thread clocks.

24 years agoUpdate.
Ulrich Drepper [Fri, 9 Jun 2000 04:33:00 +0000 (04:33 +0000)]
Update.

* sysdeps/pthread/posix-timer.h (timer_ptr2id): Operands in
subtraction were switched.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 21:13:20 +0000 (21:13 +0000)]
Update.

* sysdeps/pthread/timer_routines.c (init_module): Use
THREAD_MAXNODES threads.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 20:38:08 +0000 (20:38 +0000)]
Update.

* sysdeps/pthread/posix-timer.h (struct timer_node): Add creator_pid.
* sysdeps/pthread/timer_create.c: Fill in creator_pid.
* sysdeps/pthread/timer_routines.c (thread_expire_timer): Send signal
with sigqueueinfo is this system call is available.

* sysdeps/pthread/timer_create.c (timer_create): Allow
CLOCK_CPUTIME if _POSIX_CPUTIME is defined.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 19:54:27 +0000 (19:54 +0000)]
Update.

* sysdeps/pthread/Makefile: New file.  Add rules to build timer
functionality.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Add TIMER_MAX.

2000-06-04  Kaz Kylheku  <kaz@ashi.footprints.net>

* sysdeps/pthread/posix-timer.h: New file.
* sysdeps/pthread/timer_create.c: New file.
* sysdeps/pthread/timer_delete.c: New file.
* sysdeps/pthread/timer_getoverr.c: New file.
* sysdeps/pthread/timer_gettime.c: New file.
* sysdeps/pthread/timer_routines.c: New file.
* sysdeps/pthread/timer_settime.c: New file.
* sysdeps/pthread/tst-timer.c: New file.

2000-06-08  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 15:14:02 +0000 (15:14 +0000)]
Update.

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

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 10:09:10 +0000 (10:09 +0000)]
Update.

* sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
256 and don't use OPEN_MAX.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 10:05:46 +0000 (10:05 +0000)]
Update.

* sysdeps/unix/sysv/linux/fpathconf.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 10:03:13 +0000 (10:03 +0000)]
Update.

2000-06-08  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
use it instead of LINK_MAX.

24 years agoDefine LINUX_LINK_MAX and use it instead of LINK_MAX.
Ulrich Drepper [Thu, 8 Jun 2000 10:00:47 +0000 (10:00 +0000)]
Define LINUX_LINK_MAX and use it instead of LINK_MAX.

24 years agoUpdate.
Andreas Jaeger [Thu, 8 Jun 2000 09:02:03 +0000 (09:02 +0000)]
Update.

2000-06-08  Andreas Jaeger  <aj@suse.de>

* libio/genops.c (_IO_list_lock): Only compile body if we're
thread safe.
(_IO_list_unlock): Likewise.
(_IO_list_resetlock): Likewise.

24 years ago* libio/genops.c (_IO_list_lock): Only compile body if we're
Andreas Jaeger [Thu, 8 Jun 2000 09:01:34 +0000 (09:01 +0000)]
* libio/genops.c (_IO_list_lock): Only compile body if we're

thread safe.
(_IO_list_unlock): Likewise.
(_IO_list_resetlock): Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 08:07:07 +0000 (08:07 +0000)]
Update.

2000-06-08  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/local_lim.h: Remove OPEN_MAX and
LINK_MAX definitions if necessary.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 06:48:41 +0000 (06:48 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
unless user defined it.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 06:32:43 +0000 (06:32 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
if not defined by the user.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 06:17:50 +0000 (06:17 +0000)]
Update.

* libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
* libio/iofwrite.c (_IO_fwrite): Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 04:57:40 +0000 (04:57 +0000)]
Update.

* time/time.h: Add missing __THROW for clock_getcpuclockid
prototype.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 04:54:46 +0000 (04:54 +0000)]
Update.

* elf/Makefile (distribute): Add dl-dtprocnum.h.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 04:48:56 +0000 (04:48 +0000)]
Update.

* include/elf.h: Include also <dl-dtprocnum.h>.
* elf/dl-deps.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/do-rel.h: Likewise.
* elf/dynamic-link.h: Likewise.
* elf/link.h: Likewise.
* elf/rtld.c: Likewise.
* sysdeps/generic/dl-dtprocnum.h: New file.
* sysdeps/ia64/dl-dtprocnum.h: New file.
* sysdeps/mips/dl-dtprocnum.h: New file.
* sysdeps/sparc/dl-dtprocnum.h: New file.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 04:19:30 +0000 (04:19 +0000)]
Update.

* sysdeps/i386/dl-machine.h: Add more __builtin_expect.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 03:31:44 +0000 (03:31 +0000)]
Update.

* elf/do-lookup.h: Add some __builtin_expect.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 03:03:00 +0000 (03:03 +0000)]
Update.

* dlfcn/dlfcn.h: Pretty print dladdr declaraction.

* elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
(_dl_dynamic_weak): New variable.
* elf/dl-support.c: Likewise.
* sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
* elf/do-lookup.h: If we find a weak definition treat it like a
normal symbol unless _dl_dynamic_weak is nonzero.  In the latter
case treat it like before.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 02:19:27 +0000 (02:19 +0000)]
Update.

* elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
is in main program.
* elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 01:50:04 +0000 (01:50 +0000)]
Update.

* elf/dl-addr.c (_dl_addr): Do exact testing of address range
using l_map_start and l_map_end.

24 years agoUpdate.
Ulrich Drepper [Thu, 8 Jun 2000 01:12:15 +0000 (01:12 +0000)]
Update.

* elf/dl-version.c: Add __builtin_expect in many places.

24 years agoUpdate.
Ulrich Drepper [Wed, 7 Jun 2000 23:43:59 +0000 (23:43 +0000)]
Update.

2000-06-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
Update.

24 years agoUpdate.
Ulrich Drepper [Wed, 7 Jun 2000 22:50:32 +0000 (22:50 +0000)]
Update.

2000-06-04  Kaz Kylheku  <kaz@ashi.footprints.net>

Lock for stdio stream list becomes global, for use in LinuxThreads.

* libio/genops.c (_IO_iter_begin, _IO_iter_end,
_IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
_IO_list_resetlock): New interface for iterating global list of
streams without accessing the _IO_list_all global variable,
and for manipulating the lock which protects this list.
* libio/libioP.h: Likewise.
* libio/Version: Add entries for the new functions.

* libio/libioP.h (_IO_ITER): New typedef, just an alias for
pointer to _IO_FILE.

24 years agoUpdate.
Ulrich Drepper [Wed, 7 Jun 2000 19:32:36 +0000 (19:32 +0000)]
Update.

* locale/programs/ld-ctype.c (set_class_defaults): Several uses of
BIT() must actually be BITw().

24 years agoUpdate.
Ulrich Drepper [Wed, 7 Jun 2000 19:13:50 +0000 (19:13 +0000)]
Update.

* locale/programs/ld-ctype.c: Handle SP and space consistently.

24 years agoUpdate.
Ulrich Drepper [Wed, 7 Jun 2000 17:20:28 +0000 (17:20 +0000)]
Update.

2000-06-07  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/charmap.c: Allow string arguments for
code_set_name and repertoiremap.

24 years agoUpdate.
Ulrich Drepper [Wed, 7 Jun 2000 16:53:48 +0000 (16:53 +0000)]
Update.

2000-06-07  Andreas Jaeger  <aj@suse.de>

* elf/Makefile: Build ldconfig only when building shared libraries.

2000-06-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
__USE_ISOC99.
(fdimf, __fdim, fdim): Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 7 Jun 2000 16:36:48 +0000 (16:36 +0000)]
Update.

2000-06-07  Ulrich Drepper  <drepper@redhat.com>

* locale/findlocale.c: Add __builtin_expect in many places.
* locale/loadlocale.c: Likewise.

24 years agoAdd __builtin_expect in many places.
Ulrich Drepper [Wed, 7 Jun 2000 16:35:57 +0000 (16:35 +0000)]
Add __builtin_expect in many places.

24 years ago* sysdeps/mips/elf/start.S: Trim redundant code.
Greg McGary [Wed, 7 Jun 2000 00:30:05 +0000 (00:30 +0000)]
* sysdeps/mips/elf/start.S: Trim redundant code.

* sysdeps/mips/elf/start.S: Trim redundant code.

24 years agoUpdate.
Ulrich Drepper [Tue, 6 Jun 2000 22:59:19 +0000 (22:59 +0000)]
Update.

* iconvdata/utf-16.c: Add __builtin_expect in many places.
* iconvdata/unicode.c: Likewise.
* iconvdata/uhc.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.

24 years agoAdd __builtin_expect in many places.
Ulrich Drepper [Tue, 6 Jun 2000 22:58:45 +0000 (22:58 +0000)]
Add __builtin_expect in many places.

24 years ago* sysdeps/powerpc/memset.S: Define & use symbolic register names.
Greg McGary [Tue, 6 Jun 2000 22:37:40 +0000 (22:37 +0000)]
* sysdeps/powerpc/memset.S: Define & use symbolic register names.

Use C comments throughout.  Line up operands column with tabs.
* sysdeps/powerpc/strchr.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.
* sysdeps/powerpc/memset.S: Define & use symbolic register names.
Use C comments throughout.  Line up operands column with tabs.
* sysdeps/powerpc/strchr.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.

24 years agoAdd __builtin_expect in many places.
Ulrich Drepper [Tue, 6 Jun 2000 21:35:37 +0000 (21:35 +0000)]
Add __builtin_expect in many places.

24 years ago* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
Greg McGary [Tue, 6 Jun 2000 19:20:57 +0000 (19:20 +0000)]
* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:

Get low part of &__curbrk with @l.
2000-06-06  Greg McGary  <greg@mcgary.org>

* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
Get low part of &__curbrk with @l.

24 years agoFix typo.
Ulrich Drepper [Tue, 6 Jun 2000 16:59:49 +0000 (16:59 +0000)]
Fix typo.

24 years agoUpdate.
Ulrich Drepper [Tue, 6 Jun 2000 16:53:06 +0000 (16:53 +0000)]
Update.

2000-06-06  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/iso-2022-kr.c: Add __builtin_expect in many places.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/gbgbk.c: Likewise.
* iconvdata/gbk.c: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/euc-jp.c: Likewise.
* iconvdata/euc-cn.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 6 Jun 2000 06:49:00 +0000 (06:49 +0000)]
Update.

* iconvdata/big5hkscs.c: Add __builtin_expect in many places.
* iconvdata/big5.c: Likewise.
* iconvdata/ansi_x3.110.c: Likewise.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/8bit-gap.c: Likewise.
* iconv/loop.c: Likewise.
* iconv/gconv_db.c: Likewise.
* iconv/gconv_dl.c: Likewise.
* iconv/gconv_simple.c: Likewise.
* iconv/skeleton.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 6 Jun 2000 05:02:18 +0000 (05:02 +0000)]
Update.

* iconv/gconv_dl.c: Add __builtin_expect in many places.
* iconv/skeleton.c: Add more __builtin_expect.
* iconv/gconv_simple.c: Add __builtin_expect in many places.

24 years agoUpdate.
Ulrich Drepper [Tue, 6 Jun 2000 03:16:30 +0000 (03:16 +0000)]
Update.

* iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
(struct __gconv_step_data): Rename __is_last to __flags.
* iconv/gconv_close.c: Change all uses of __is_last.
* iconv/skeleton.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
* iconv/gconv_open.c: Likewise.  Avoid unneeded initializations.
Recognize IGNORE error handling, set flag, and remove from name.
* iconv/loop.c (ignore_errors_p): Define.
Add flags parameter to both functions.
* iconv/skeleton.c: Pass flags to all conversion functions.
* iconv/gconv_simple.c: Add flags parameter to all functions.
Don't return error for invald error if ignore flag is set.
(ucs4_internal_loop_single): Add missing pointer increment.
(internal_ucs4le_loop_single): Likewise.
* iconv/iconv_prog.c: Implement handling of -c parameter.
* iconvdata/8bit-gap.c: Don't return error for invald error if
ignore flag is set.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/ansi_x3.110.c: Likewise.
* iconvdata/big5.c: Likewise.
* iconvdata/big5hkscs.c: Likewise.
* iconvdata/euc-cn.c: Likewise.
* iconvdata/euc-jp.c: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/gbgbk.c: Likewise.
* iconvdata/gbk.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/uhc.c: Likewise.
* iconvdata/unicode.c: Likewise.
* iconvdata/utf-16.c: Likewise.
* libio/fileops.c: Likewise.
* libio/iofwide.c: Likewise.
* wcsmbs/btowc.c: Likewise.
* wcsmbs/mbrtowc.c: Likewise.
* wcsmbs/mbsnrtowcs.c: Likewise.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcrtomb.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/wctob.c: Likewise.

* iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of

24 years agoUpdate.
Ulrich Drepper [Mon, 5 Jun 2000 22:45:16 +0000 (22:45 +0000)]
Update.

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

* iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s in all cases of
an error.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 21:26:12 +0000 (21:26 +0000)]
Update.

2000-06-04  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_dl.c (do_release_shlib): Don't reset reference
counter for the object we are releasing, just decrement it.
Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 16:39:33 +0000 (16:39 +0000)]
Update.

2000-06-04  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
if -ffast-math.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 16:28:02 +0000 (16:28 +0000)]
Update.

* iconvdata/Makefile (modules): Add BIG5HKSCS.
(distribute): Add big5hkscs.c.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 16:25:27 +0000 (16:25 +0000)]
Update.

2000-06-04  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/big5hkscs.c: New file.
Modified from big5.c by Roger So <rogerso@sis.dhs.org>.

* iconvdata/gconv-modules: Add entry for new module.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 16:11:43 +0000 (16:11 +0000)]
Update.

2000-06-01  Jakub Jelinek  <jakub@redhat.com>

* libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
inlines to match prototypes in mathcalls.h.
* libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
* libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
* libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.

* sysdeps/powerpc/dl-start.S: Close open comment.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 03:07:32 +0000 (03:07 +0000)]
Update.

* elf/elf.h (SHT_SUNW_move): Define.

24 years agoUpdate.
Ulrich Drepper [Sat, 3 Jun 2000 22:33:49 +0000 (22:33 +0000)]
Update.

2000-06-03  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h: Add more Solaris compatiblity definitions.

24 years agoAdd more Solaris compatiblity definitions.
Ulrich Drepper [Sat, 3 Jun 2000 22:31:45 +0000 (22:31 +0000)]
Add more Solaris compatiblity definitions.

24 years agoUpdate.
Andreas Jaeger [Sat, 3 Jun 2000 08:16:58 +0000 (08:16 +0000)]
Update.

2000-06-03  Andreas Jaeger  <aj@suse.de>

  * sysdeps/powerpc/dl-start.S: Close open comment.

2000-06-03  Jakub Jelinek  <jakub@redhat.com>

* inet/Versions: Fix typo in rresvport_af export.

24 years ago* sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks.
Andreas Jaeger [Sat, 3 Jun 2000 08:12:26 +0000 (08:12 +0000)]
* sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks.

* sysdeps/sparc/sparc32/sparcv9/pspinlock.c: New.
* sysdeps/sparc/sparc64/pspinlock.c: Implement spinlocks.
2000-06-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks.
* sysdeps/sparc/sparc32/sparcv9/pspinlock.c: New.
* sysdeps/sparc/sparc64/pspinlock.c: Implement spinlocks.

24 years ago * inet/Versions: Fix typo in rresvport_af export.
Andreas Jaeger [Sat, 3 Jun 2000 08:08:21 +0000 (08:08 +0000)]
    * inet/Versions: Fix typo in rresvport_af export.

24 years agoUpdate.
Ulrich Drepper [Sat, 3 Jun 2000 00:58:47 +0000 (00:58 +0000)]
Update.

2000-06-02  Ulrich Drepper  <drepper@redhat.com>

* math/tgmath.h: Pretty print.

24 years agoPretty print.
Ulrich Drepper [Sat, 3 Jun 2000 00:58:24 +0000 (00:58 +0000)]
Pretty print.

24 years agoUpdate.
Andreas Jaeger [Fri, 2 Jun 2000 13:10:59 +0000 (13:10 +0000)]
Update.

2000-06-02  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

24 years ago* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
Andreas Jaeger [Fri, 2 Jun 2000 13:10:38 +0000 (13:10 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.

Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

24 years agoUpdate.
Ulrich Drepper [Fri, 2 Jun 2000 07:30:28 +0000 (07:30 +0000)]
Update.

2000-06-02  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (process_envvars): Test for = after variable name.

24 years agoUpdate.
Ulrich Drepper [Fri, 2 Jun 2000 01:19:56 +0000 (01:19 +0000)]
Update.

* sysdeps/generic/initfini.c (_init): One less relocation.  Don't
have extra call to __gmon_start__, use the pointer we already have.

24 years agoUpdate.
Ulrich Drepper [Fri, 2 Jun 2000 00:27:08 +0000 (00:27 +0000)]
Update.

* elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
shifting.

24 years agoUpdate.
Ulrich Drepper [Thu, 1 Jun 2000 07:14:15 +0000 (07:14 +0000)]
Update.

2000-06-01  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/elf/setjmp.S: Work around change is recent
binutils.  gas now emits a jump through the PLT instead of a
relative jump if the jump target is an exported symbol.

24 years agoUpdate.
Ulrich Drepper [Wed, 31 May 2000 18:12:15 +0000 (18:12 +0000)]
Update.

2000-05-31  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.

24 years agoDefine AIX_CBAUD.
Ulrich Drepper [Wed, 31 May 2000 18:12:09 +0000 (18:12 +0000)]
Define AIX_CBAUD.

24 years ago* sysdeps/mips/pspinlock.c: Implement spinlocks.
Andreas Jaeger [Wed, 31 May 2000 12:21:21 +0000 (12:21 +0000)]
* sysdeps/mips/pspinlock.c: Implement spinlocks.

2000-05-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/pspinlock.c: Implement spinlocks.

24 years agoUpdate.
Andreas Jaeger [Wed, 31 May 2000 12:04:03 +0000 (12:04 +0000)]
Update.

2000-05-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
gregset_t.

* sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
syscall.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.

24 years ago* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
Andreas Jaeger [Wed, 31 May 2000 12:00:45 +0000 (12:00 +0000)]
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of

syscall.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 30 May 2000 23:45:22 +0000 (23:45 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.

24 years agoUpdate.
Ulrich Drepper [Tue, 30 May 2000 20:37:26 +0000 (20:37 +0000)]
Update.

* locale/Versions [libc] (GLIBC_2.2): Add localeconv.
* locale/localeconv.c: Make function versioned (with same definition).

24 years agoUpdate.
Ulrich Drepper [Tue, 30 May 2000 20:09:44 +0000 (20:09 +0000)]
Update.

2000-05-30  Ulrich Drepper  <drepper@redhat.com>

* elf/Makefile (modules-names): Strip before using it.