kopensolaris-gnu/glibc.git
17 years agoUpdate.
drepper [Tue, 20 Aug 2002 10:14:15 +0000 (10:14 +0000)]
Update.

17 years ago(TLS_INIT_TP): Add new parameter and simply ignore it.
drepper [Tue, 20 Aug 2002 10:13:19 +0000 (10:13 +0000)]
(TLS_INIT_TP): Add new parameter and simply ignore it.

17 years ago(TLS_INIT_TP): Add new parameter and pass it on to TLS_SETUP_GS_SEGMENT.
drepper [Tue, 20 Aug 2002 10:10:48 +0000 (10:10 +0000)]
(TLS_INIT_TP): Add new parameter and pass it on to TLS_SETUP_GS_SEGMENT.
(TLS_SETUP_GS_SEGMENT): Add new parameter and pass it on to
TLS_DO_SET_THREAD_AREA.
(TLS_DO_SET_THREAD_AREA): If new parameter is zero determine
entry number from %gs value.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 10:05:36 +0000 (10:05 +0000)]
Update.

17 years ago(TLS_INIT_TP): Describe new parameter.
drepper [Tue, 20 Aug 2002 10:03:26 +0000 (10:03 +0000)]
(TLS_INIT_TP): Describe new parameter.

17 years ago(__libc_setup_tls): Pass extra argument 1 to TLS_INIT_TP.
drepper [Tue, 20 Aug 2002 10:02:58 +0000 (10:02 +0000)]
(__libc_setup_tls): Pass extra argument 1 to TLS_INIT_TP.

17 years ago(_dl_start): Pass extra argument 1 to TLS_INIT_TP.
drepper [Tue, 20 Aug 2002 10:02:13 +0000 (10:02 +0000)]
(_dl_start): Pass extra argument 1 to TLS_INIT_TP.
(dl_main): Padd extra argument 0 to TLS_INIT_TP.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 08:12:32 +0000 (08:12 +0000)]
Update.

17 years ago(allocate_dtv): Optimize a bit.
drepper [Tue, 20 Aug 2002 08:10:28 +0000 (08:10 +0000)]
(allocate_dtv): Optimize a bit.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 07:27:36 +0000 (07:27 +0000)]
Update.

17 years agoPass NULL to _dl_allocate_tls. Pass true to _dl_deallocate_tls.
drepper [Tue, 20 Aug 2002 07:25:00 +0000 (07:25 +0000)]
Pass NULL to _dl_allocate_tls. Pass true to _dl_deallocate_tls.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 07:22:11 +0000 (07:22 +0000)]
Update.

17 years agoAdjust prototypes of _dl_allocate_tls and _dl_deallocate_tls. Add
drepper [Tue, 20 Aug 2002 07:18:24 +0000 (07:18 +0000)]
Adjust prototypes of _dl_allocate_tls and _dl_deallocate_tls.  Add
prototype for _dl_get_tls_static_info.

17 years ago(_dl_allocate_tls_storage): Move dtv memory allocation to...
drepper [Tue, 20 Aug 2002 07:16:51 +0000 (07:16 +0000)]
(_dl_allocate_tls_storage): Move dtv memory allocation to...
(allocate_dtv): ...here.  New function.
(_dl_allocate_tls): Change to take parameter.  If parameter is non-NULL
call allocate_dtv instead of _dl_allocate_tls_storage.
(_dl_deallocate_tls): New parameter.  Deallocate TCB only if true.
(_dl_get_tls_static_info): New function.

17 years ago[ld] (GLIBC_PRIVATE): Add _dl_get_tls_static_info.
drepper [Tue, 20 Aug 2002 07:12:38 +0000 (07:12 +0000)]
[ld] (GLIBC_PRIVATE): Add _dl_get_tls_static_info.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 00:23:31 +0000 (00:23 +0000)]
Update.

17 years ago(_dl_allocate_tls_init): Return immediately if result == NULL.
drepper [Tue, 20 Aug 2002 00:19:42 +0000 (00:19 +0000)]
(_dl_allocate_tls_init): Return immediately if result == NULL.

17 years agoUpdate.
drepper [Mon, 19 Aug 2002 22:22:47 +0000 (22:22 +0000)]
Update.

17 years ago(DO_SET_THREAD_AREA): Use correct shift when computing index from %gs value.
drepper [Mon, 19 Aug 2002 22:21:32 +0000 (22:21 +0000)]
(DO_SET_THREAD_AREA): Use correct shift when computing index from %gs value.

17 years agoUpdate.
aj [Mon, 19 Aug 2002 07:42:11 +0000 (07:42 +0000)]
Update.

17 years agoRegenerate.
aj [Mon, 19 Aug 2002 07:41:58 +0000 (07:41 +0000)]
Regenerate.

17 years ago.
roland [Sun, 18 Aug 2002 20:37:12 +0000 (20:37 +0000)]
.

17 years ago2002-08-18 Roland McGrath <roland@frob.com>
roland [Sun, 18 Aug 2002 20:36:41 +0000 (20:36 +0000)]
2002-08-18  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/mkdir.c (__mkdir): Use __directory_name_split
instead of __file_name_split.
* sysdeps/mach/hurd/unlink.c (__unlink): Likewise.

17 years ago.
roland [Sun, 18 Aug 2002 19:56:27 +0000 (19:56 +0000)]
.

17 years ago2002-08-18 Roland McGrath <roland@frob.com>
roland [Sun, 18 Aug 2002 19:56:15 +0000 (19:56 +0000)]
2002-08-18  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dl-sysdep.c
[HP_TIMING_AVAIL] (_dl_cpuclock_offset): New variable.
[HP_TIMING_AVAIL] (_dl_sysdep_start): Set it with HP_TIMING_NOW.

17 years ago.
roland [Sat, 17 Aug 2002 06:54:04 +0000 (06:54 +0000)]
.

17 years ago2002-08-16 Roland McGrath <roland@redhat.com>
roland [Sat, 17 Aug 2002 06:53:55 +0000 (06:53 +0000)]
2002-08-16  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_SET_THREAD_AREA): Calculate segment
register value from entry number properly.

17 years ago.
roland [Fri, 16 Aug 2002 20:16:38 +0000 (20:16 +0000)]
.

17 years ago2002-08-16 Roland McGrath <roland@redhat.com>
roland [Fri, 16 Aug 2002 20:16:24 +0000 (20:16 +0000)]
2002-08-16  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): Rewrite asm to use %ebx
optimally conditional on [__PIC__].
(TLS_DO_SET_THREAD_AREA): New macro, implement inline syscall
without touching errno, and use latest modify_ldt-like interface.
(TLS_SETUP_GS_SEGMENT): Use that instead of INLINE_SYSCALL.
* sysdeps/i386/useldt.h (DO_MODIFY_LDT): Set %gs in this macro.
(DO_SET_THREAD_AREA): New macro, uses current syscall interface with
existing %gs value as the segment to set.
(INIT_THREAD_SELF): Rewritten using those.  Use set_thread_area only
under [HAVE_TLS_SUPPORT] so we can rely on the initialization done
by the first thread's early TLS setup.
2002-08-15  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_INIT_TP): Use statement expression and
return a value as callers now expect.

17 years ago2002-08-16 Roland McGrath <roland@redhat.com>
roland [Fri, 16 Aug 2002 20:16:22 +0000 (20:16 +0000)]
2002-08-16  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): Rewrite asm to use %ebx
optimally conditional on [__PIC__].
(TLS_DO_SET_THREAD_AREA): New macro, implement inline syscall
without touching errno, and use latest modify_ldt-like interface.
(TLS_SETUP_GS_SEGMENT): Use that instead of INLINE_SYSCALL.
* sysdeps/i386/useldt.h (DO_MODIFY_LDT): Set %gs in this macro.
(DO_SET_THREAD_AREA): New macro, uses current syscall interface with
existing %gs value as the segment to set.
(INIT_THREAD_SELF): Rewritten using those.  Use set_thread_area only
under [HAVE_TLS_SUPPORT] so we can rely on the initialization done
by the first thread's early TLS setup.

17 years ago.
roland [Fri, 16 Aug 2002 00:08:47 +0000 (00:08 +0000)]
.

17 years ago2002-08-16 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 16 Aug 2002 00:08:35 +0000 (00:08 +0000)]
2002-08-16  Jakub Jelinek  <jakub@redhat.com>

        * locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix
in change before last: MAX -> MIN.

17 years ago.
roland [Fri, 16 Aug 2002 00:06:09 +0000 (00:06 +0000)]
.

17 years ago2002-08-15 Roland McGrath <roland@redhat.com>
roland [Fri, 16 Aug 2002 00:06:02 +0000 (00:06 +0000)]
2002-08-15  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_INIT_TP): Use statement expression and
return a value as callers now expect.

17 years ago.
roland [Thu, 15 Aug 2002 23:57:00 +0000 (23:57 +0000)]
.

17 years ago2002-08-15 Roland McGrath <roland@redhat.com>
roland [Thu, 15 Aug 2002 23:56:48 +0000 (23:56 +0000)]
2002-08-15  Roland McGrath  <roland@redhat.com>

* libio/tst-mmap-offend.c: New file.
* libio/Makefile (tests): Add it.

17 years ago2002-08-15 Roland McGrath <roland@redhat.com>
roland [Thu, 15 Aug 2002 23:56:45 +0000 (23:56 +0000)]
2002-08-15  Roland McGrath  <roland@redhat.com>

* libio/fileops.c (_IO_file_seekoff_mmap): Leave read pointers at EOF
if seek would go past it.
(mmap_remap_check): If file position is at or past EOF after check,
leave read pointers at EOF and don't seek.

17 years ago.
roland [Thu, 15 Aug 2002 22:00:12 +0000 (22:00 +0000)]
.

17 years ago2002-08-15 Roland McGrath <roland@redhat.com>
roland [Thu, 15 Aug 2002 21:58:11 +0000 (21:58 +0000)]
2002-08-15  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive) Store strdup of
the name as passed, rather than the name in the archive dictionary.

17 years agoUpdate.
drepper [Thu, 15 Aug 2002 13:04:07 +0000 (13:04 +0000)]
Update.

17 years agoDefine elide-routines.os not static-only-routines.
drepper [Thu, 15 Aug 2002 13:00:31 +0000 (13:00 +0000)]
Define elide-routines.os not static-only-routines.

17 years agoUse TLS_INIT_HELPER is defined.
drepper [Thu, 15 Aug 2002 12:59:41 +0000 (12:59 +0000)]
Use TLS_INIT_HELPER is defined.

17 years agoset_thread_area was changed again after 2.5.31.
drepper [Thu, 15 Aug 2002 12:58:40 +0000 (12:58 +0000)]
set_thread_area was changed again after 2.5.31.

17 years ago(__clone): Add varargs at the end.
drepper [Thu, 15 Aug 2002 12:52:24 +0000 (12:52 +0000)]
(__clone): Add varargs at the end.

17 years ago(_dl_start): All TLS_INIT_TP to fail and stop in that case.
drepper [Thu, 15 Aug 2002 12:51:32 +0000 (12:51 +0000)]
(_dl_start): All TLS_INIT_TP to fail and stop in that case.
(TLS_INIT_HELPER): If defined use it.

17 years ago(TLS_INIT_TP): Convert to statement expression returning 0.
drepper [Thu, 15 Aug 2002 12:12:51 +0000 (12:12 +0000)]
(TLS_INIT_TP): Convert to statement expression returning 0.

17 years agoUpdate.
aj [Thu, 15 Aug 2002 09:02:50 +0000 (09:02 +0000)]
Update.

17 years agoAdd *xattr syscalls with version 2.3.
aj [Thu, 15 Aug 2002 09:01:49 +0000 (09:01 +0000)]
Add *xattr syscalls with version 2.3.

17 years ago.
roland [Thu, 15 Aug 2002 08:43:31 +0000 (08:43 +0000)]
.

17 years ago2002-08-15 Roland McGrath <roland@redhat.com>
roland [Thu, 15 Aug 2002 08:43:20 +0000 (08:43 +0000)]
2002-08-15  Roland McGrath  <roland@redhat.com>

* elf/dl-load.c (lose): Remove [!SHARED] conditional from null check
on L->l_prev; it can happen under rtld --verify too.

17 years ago.
roland [Thu, 15 Aug 2002 08:30:31 +0000 (08:30 +0000)]
.

17 years ago2002-08-15 Roland McGrath <roland@redhat.com>
roland [Thu, 15 Aug 2002 08:29:16 +0000 (08:29 +0000)]
2002-08-15  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive): Don't read the
header separately, just map an initial window of 2MB from the file
and remap if that is not large enough to cover the whole header.

17 years agoUpdate.
aj [Thu, 15 Aug 2002 08:28:31 +0000 (08:28 +0000)]
Update.

17 years agoAdd *xattr syscalls.
aj [Thu, 15 Aug 2002 08:25:16 +0000 (08:25 +0000)]
Add *xattr syscalls.

17 years ago.
roland [Thu, 15 Aug 2002 07:49:22 +0000 (07:49 +0000)]
.

17 years ago2002-08-14 Roland McGrath <roland@redhat.com>
roland [Thu, 15 Aug 2002 07:49:06 +0000 (07:49 +0000)]
2002-08-14  Roland McGrath  <roland@redhat.com>

* locale/locarchive.h (struct locale_category_data): Give this name to
the type of locale_data_t's elements.
* locale/programs/locarchive.c (cmpcategorysize): New static function.
(add_locale): Use that to sort the categories by size and put all
those that fit into two pages into the LC_ALL block, instead of
hard-coding it to do everything but LC_CTYPE and LC_COLLATE.
(show_archive_content): Detect categories inside LC_ALL block
directly, instead of hard-coding.
(oldlocrecentcmp): Compare just on file locations used.

17 years ago.
roland [Thu, 15 Aug 2002 07:02:19 +0000 (07:02 +0000)]
.

17 years ago2002-08-14 Roland McGrath <roland@frob.com>
roland [Thu, 15 Aug 2002 07:01:39 +0000 (07:01 +0000)]
2002-08-14  Roland McGrath  <roland@frob.com>

* locale/locarchive.h (struct locale_category_data): Give this name to
the type of locale_data_t's elements.
* locale/programs/locarchive.c (cmpcategorysize): New static function.
(add_locale): Use that to sort the categories by size and put all
those that fit into two pages into the LC_ALL block, instead of
hard-coding it to do everything but LC_CTYPE and LC_COLLATE.
(show_archive_content): Detect categories inside LC_ALL block
directly, instead of hard-coding.

17 years ago2002-08-14 Roland McGrath <roland@frob.com>
roland [Thu, 15 Aug 2002 05:59:53 +0000 (05:59 +0000)]
2002-08-14  Roland McGrath  <roland@frob.com>

* configure.in: Use "MISSING" as not-found value for MIG.
* sysdeps/mach/configure.in: Fatal if mig not found.
* configure, sysdeps/mach/configure: Regenerated.

17 years ago2002-08-14 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 15 Aug 2002 05:59:48 +0000 (05:59 +0000)]
2002-08-14  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/locarchive.c (struct oldlocrecent): New.
(oldlocrecentcmp): New.
(enlarge_archive): Re-add locales in the order they were added
to the archive.
(add_locale): Put all the small locale files together, if the small
locale file block would occupy less pages if page size aligned, align
it.
(show_archive_content): Adjust for locale archives optimized for speed.

17 years ago.
roland [Tue, 13 Aug 2002 17:17:02 +0000 (17:17 +0000)]
.

17 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 17:16:45 +0000 (17:16 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

        * sysdeps/generic/strtold.c (__strtold_internal): Add libc_hidden_def.
        * wcsmbs/wcstold.c (__wcstold_internal): Add libc_hidden_def.

17 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 17:16:43 +0000 (17:16 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

        * locale/loadarchive.c (archfname): Add missing slash.

17 years ago.
roland [Tue, 13 Aug 2002 01:08:15 +0000 (01:08 +0000)]
.

17 years ago2002-08-12 Roland McGrath <roland@redhat.com>
roland [Tue, 13 Aug 2002 01:07:58 +0000 (01:07 +0000)]
2002-08-12  Roland McGrath  <roland@redhat.com>

* include/grp.h (setgroups): Add libc_hidden_proto.
* sysdeps/generic/setgroups.c: Add libc_hidden_def.
* sysdeps/mach/hurd/setgroups.c: Likewise.
* sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.

17 years ago2002-08-12 Roland McGrath <roland@redhat.com>
roland [Tue, 13 Aug 2002 01:07:55 +0000 (01:07 +0000)]
2002-08-12  Roland McGrath  <roland@redhat.com>

* include/net/if.h: New file.  Use libc_hidden_proto
for if_nametoindex and if_indextoname.
* sysdeps/generic/if_index.c: Add libc_hidden_def.
* sysdeps/mach/hurd/if_index.c: Likewise.
* sysdeps/unix/sysv/linux/if_index.c: Likewise.

17 years ago2002-08-12 Roland McGrath <roland@redhat.com>
roland [Tue, 13 Aug 2002 01:07:51 +0000 (01:07 +0000)]
2002-08-12  Roland McGrath  <roland@redhat.com>

* include/sys/wait.h (__waitpid): Add libc_hidden_proto.
* sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def.
* sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
* sysdeps/unix/sysv/aix/waitpid.c: Likewise.
* sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
* sysdeps/generic/waitpid.c: Likewise.

17 years ago.
roland [Tue, 13 Aug 2002 00:24:58 +0000 (00:24 +0000)]
.

17 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:23:20 +0000 (00:23 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/string.h (strcoll): Add libc_hidden_proto.
* string/strcoll.c (strcoll): Add libc_hidden_def.

17 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:23:08 +0000 (00:23 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/sys/stat.h (__fxstat_internal, __fxstat64_internal,
__lxstat_internal, __lxstat64_internal): Remove.
(__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64):
Add hidden_proto.
* sysdeps/generic/fxstat.c (__fxstat): Add hidden_def.
Remove INTDEF where present, remove #undef at the beginning.
* sysdeps/generic/fxstat64.c (__fxstat64): Likewise.
* sysdeps/generic/lxstat.c (__lxstat): Likewise.
* sysdeps/generic/lxstat64.c (__lxstat64): Likewise.
* sysdeps/generic/xstat.c (__xstat): Likewise.
* sysdeps/generic/xstat64.c (__xstat64): Likewise.
* sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise.
* sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
* sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
* sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
* sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
* sysdeps/mach/hurd/xstat.c (__xstat): Likewise.
* sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/common/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/xstat.c (__xstat): Likewise.

17 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:23:04 +0000 (00:23 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
* sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
* sysdeps/generic/setegid.c (setegid): Likewise.
* sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
* sysdeps/mach/hurd/setegid.c (setegid): Likewise.
* sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
* sysdeps/unix/bsd/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
Remove fallback if __ASSUME_SETRESUID_SYSCALL.
* include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
* include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
* sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
* sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
Likewise.
* sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.

17 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:23:03 +0000 (00:23 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* misc/err.c (vwarn): Fix pasto in libc_hidden_def.

17 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:23:00 +0000 (00:23 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
* include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
* sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
* sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
Likewise.
* sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.

17 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:22:57 +0000 (00:22 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/sys/statvfs.h (statvfs, fstatvfs): Add libc_hidden_proto.
* sysdeps/generic/statvfs.c (statvfs): Add libc_hidden_def.
* sysdeps/generic/fstatvfs.c (fstatvfs): Likewise.
* sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
* sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Likewise.
* sysdeps/unix/sysv/linux/statvfs.c (statvfs): Likewise.
* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Likewise.

17 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:22:46 +0000 (00:22 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
* sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
* sysdeps/generic/setegid.c (setegid): Likewise.
* sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
* sysdeps/mach/hurd/setegid.c (setegid): Likewise.
* sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
* sysdeps/unix/bsd/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
Remove fallback if __ASSUME_SETRESUID_SYSCALL.

17 years agoUpdate.
drepper [Mon, 12 Aug 2002 19:50:26 +0000 (19:50 +0000)]
Update.

17 years agoMakefile for arm.
drepper [Mon, 12 Aug 2002 19:36:38 +0000 (19:36 +0000)]
Makefile for arm.

17 years ago(tests): Add bug-regex9.
drepper [Mon, 12 Aug 2002 19:20:52 +0000 (19:20 +0000)]
(tests): Add bug-regex9.

17 years agoTest for empty subexpressions.
drepper [Mon, 12 Aug 2002 19:20:29 +0000 (19:20 +0000)]
Test for empty subexpressions.

17 years ago(parse_reg_exp): If '|' is immediately followed by another '|', end of
drepper [Mon, 12 Aug 2002 19:18:45 +0000 (19:18 +0000)]
(parse_reg_exp): If '|' is immediately followed by another '|', end of
regex or enclosing ')', clear branch.

17 years ago.
roland [Mon, 12 Aug 2002 08:48:51 +0000 (08:48 +0000)]
.

17 years ago2002-08-12 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 08:48:38 +0000 (08:48 +0000)]
2002-08-12  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Fix inner loop
start count condition, use TOTAL instead of variable that was never
set.  Fix outer loop termination condition to TOTAL >= after update.

17 years ago2002-08-12 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 08:48:36 +0000 (08:48 +0000)]
2002-08-12  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize
dl_tls_static_align and dl_tls_static_nelem.

17 years ago.
roland [Mon, 12 Aug 2002 06:25:47 +0000 (06:25 +0000)]
.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 06:25:27 +0000 (06:25 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* elf/tst-tlsmod4.c (in_dso): Insert a random library call before use
of the TLS macros, otherwise the compiler might not have initialized
the PIC register yet when we use the PLT via asm.
* elf/tst-tlsmod3.c (in_dso2): Likewise.
* elf/tst-tlsmod2.c (in_dso): Likewise.

17 years ago.
roland [Mon, 12 Aug 2002 06:04:31 +0000 (06:04 +0000)]
.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 06:04:16 +0000 (06:04 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* manager.c (pthread_handle_create): Move p_header field initializers
together.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 06:04:09 +0000 (06:04 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* pthread.c (__pthread_initialize_manager): Initialize
p_header.data.tcb field of manager thread's descriptor.
(__pthread_initialize_minimal): Don't initialize p_header.data.self
field, already done by TLS_INIT_TP.

17 years ago.
roland [Mon, 12 Aug 2002 02:02:20 +0000 (02:02 +0000)]
.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:58 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* include/rpc/auth_des.h: Use libc_hidden_proto for rtime.
* sunrpc/rtime.c: Add libc_hidden_def.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:50 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* include/netdb.h: Use libc_hidden_proto for gai_strerror.
* sysdeps/posix/gai_strerror.c: Add libc_hidden_def.
* sysdeps/generic/gai_strerror.c: Likewise.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:43 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/opensock.c (__opensock): socket -> __socket.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:37 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* include/unistd.h: Use libc_hidden_proto for getdomainname
and getlogin_r.
* sysdeps/generic/getdomain.c: Add libc_hidden_def.
* sysdeps/mach/hurd/getdomain.c: Likewise.
* sysdeps/unix/getlogin_r.c: Likewise.
* sysdeps/mach/hurd/getlogin_r.c: Likewise.
* sysdeps/generic/getlogin_r.c: Likewise.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:30 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* sunrpc/svc_authux.c (_svcauth_unix): Remove spurious printf (ugh!).

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:24 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/bits/byteswap.h (__bswap_16, __bswap_32, __bswap_64):
Evaluate argument exactly once.  Remove __volatile__ from asm's.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:18 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* include/string.h: Use libc_hidden_proto for basename.
* string/basename.c [_LIBC]: Add libc_hidden_def.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:10 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c: munmap -> __munmap throughout.

17 years ago.
roland [Sun, 11 Aug 2002 22:06:06 +0000 (22:06 +0000)]
.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Sun, 11 Aug 2002 22:05:05 +0000 (22:05 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* include/sys/errno.h: New file.

17 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Sun, 11 Aug 2002 22:05:03 +0000 (22:05 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* include/signal.h: No libc_hidden_proto for raise,
__libc_current_sigrtmin, __libc_current_sigrtmax.
These need to be overridden by linuxthreads.
* sysdeps/posix/raise.c: Reverted.
* sysdeps/generic/raise.c: Reverted.
* signal/allocrtsig.c: Reverted.