platform/upstream/glibc.git
20 years agoUpdate.
Ulrich Drepper [Thu, 26 Feb 2004 01:32:44 +0000 (01:32 +0000)]
Update.

2004-02-24  Arnold D. Robbins  <arnold@skeeve.com>

* posix/regex_internal.c (build_wcs_upper_buffer): Enclose
`offsets_needed' label in `#ifdef _LIBC' to silence `unused label'
compiler warning.

2004-02-24  Nelson H.F. Beebe  <beebe@math.utah.edu>

* posix/regex_internal.c (build_wcs_buffer): Add cast to char* in call
to `wcrtomb'.
* posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge,
bitset_mask, re_string_char_size_a, re_string_wchar_at,
re_string_elem_size_at): Change to use prototypes.
(re_string_char_size_at, re_string_wchar_at,
re_string_elem_size_at): Declare as `internal_function'.

20 years agoUpdate.
Ulrich Drepper [Wed, 25 Feb 2004 23:28:54 +0000 (23:28 +0000)]
Update.

2004-02-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle
_SC_NGROUPS_MAX.

20 years agoUpdate.
Ulrich Drepper [Wed, 25 Feb 2004 18:43:42 +0000 (18:43 +0000)]
Update.

* Makefile (tests-nolibpthread): Add tst-unload.  Don't link with
libpthread for the files in this list.
(CFLAGS-tst-unload): Removed.
* tst-unload.c (do_test): Don't use complete path for
LIBPHREAD_SO.

20 years agoUpdate.
Ulrich Drepper [Wed, 25 Feb 2004 08:26:24 +0000 (08:26 +0000)]
Update.

2004-02-25  Ulrich Drepper  <drepper@redhat.com>

* Makefile: Define sonames for tst-tls5mod, tst-_res1mod1, and
tst-_res1mod2.

20 years agoUpdate.
Ulrich Drepper [Mon, 23 Feb 2004 23:30:12 +0000 (23:30 +0000)]
Update.

* wcsmbs/mbrtowc.c (__mbrtowc): Cap s + n at the end of address space.
* stdlib/Makefile (tests): Add testmb2.
(testmb2-ENV): New.
* stdlib/testmb2.c: New test.

2004-02-23  Jakub Jelinek  <jakub@redhat.com>

20 years agoUpdate.
Ulrich Drepper [Mon, 23 Feb 2004 19:54:06 +0000 (19:54 +0000)]
Update.

2004-02-23  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): If _res has not been
inited yet, try to init it before saving old _res.options.
* posix/Makefile (xtests): Add bug-ga2.
(generated): Add bug-ga2.mtrace and bug-ga2-mem.
(xtests): Depend on bug-ga2-mem.
($(objpfx)bug-ga2-mem, bug-ga2-ENV): New.
* posix/bug-ga2.c: New test.

20 years agoUpdate.
Ulrich Drepper [Sun, 22 Feb 2004 19:37:31 +0000 (19:37 +0000)]
Update.

2004-02-22  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Pop register
content also in case of an overflow in the parameter.
Reported by Momchil Velikov <velco@fadata.bg>.

20 years agoUpdate.
Ulrich Drepper [Sat, 21 Feb 2004 22:35:31 +0000 (22:35 +0000)]
Update.

2004-02-21  Ulrich Drepper  <drepper@redhat.com>

* elf/dynamic-link.h (elf_get_dynamic_info): Recognize DF_1_NOW.
In ld.so, neither DT_FLAGS nor DT_FLAGS_1 must be used.

20 years ago(elf_get_dynamic_info): Recognize DF_1_NOW. In ld.so, neither DT_FLAGS nor DT_FLAGS_...
Ulrich Drepper [Sat, 21 Feb 2004 22:34:38 +0000 (22:34 +0000)]
(elf_get_dynamic_info): Recognize DF_1_NOW.  In ld.so, neither DT_FLAGS nor DT_FLAGS_1 must be used.

20 years ago* posix/bug-ga1.c: Include <string.h> for memset prototype.
Andreas Jaeger [Sat, 21 Feb 2004 18:40:55 +0000 (18:40 +0000)]
* posix/bug-ga1.c: Include <string.h> for memset prototype.

20 years ago* elf/dl-load.c (_dl_map_object_from_fd): Fix casts used as lvalue.
Andreas Jaeger [Sat, 21 Feb 2004 18:25:59 +0000 (18:25 +0000)]
* elf/dl-load.c (_dl_map_object_from_fd): Fix casts used as lvalue.

* iconv/gconv_simple.c (internal_ucs4le_loop): Remove cast used as
lvalue.

20 years ago(internal_ucs4le_loop): Remove cast used as lvalue.
Andreas Jaeger [Sat, 21 Feb 2004 18:25:25 +0000 (18:25 +0000)]
(internal_ucs4le_loop): Remove cast used as lvalue.

20 years agoUpdate.
Ulrich Drepper [Sat, 21 Feb 2004 09:08:04 +0000 (09:08 +0000)]
Update.

2004-02-19  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/generic/framestate.c [__USING_SJLJ_EXCEPTIONS__]
(__frame_state_for): Set frame_State_for to abort if the compiler
is using sjlj.
* sysdeps/generic/unwind-dw2.c: Allow sjlj enabled compilers to
build the code by removing __USING_SJLJ_EXCEPTIONS__ wrapper.

20 years agoUpdate.
Ulrich Drepper [Sat, 21 Feb 2004 07:16:53 +0000 (07:16 +0000)]
Update.

2004-02-20  Alexandre Oliva  <aoliva@redhat.com>

* resolv/Versions: Remove semicolon from the end of libresolv's
GLIBC_2.3.2 version block.
* Versions.def (libresolv): Add GLIBC_2.3.2.

20 years agoUpdate.
Ulrich Drepper [Sat, 21 Feb 2004 03:20:32 +0000 (03:20 +0000)]
Update.

2004-02-20  Ulrich Drepper  <drepper@redhat.com>

* tst-cancel9.c (cleanup): Don't print to stderr.

20 years agoUpdate.
Ulrich Drepper [Sat, 21 Feb 2004 02:10:52 +0000 (02:10 +0000)]
Update.

2004-02-19  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Fix order of fp
status register loads.

20 years agoUpdate.
Ulrich Drepper [Sat, 21 Feb 2004 01:57:26 +0000 (01:57 +0000)]
Update.

2004-02-20  Thorsten Kukuk  <kukuk@suse.de>

* nscd/nscd.c (termination_handler): Use _exit instead of exit

* nscd/nscd.c (main): Report fork errors.

20 years agoUpdate.
Ulrich Drepper [Sat, 21 Feb 2004 01:06:02 +0000 (01:06 +0000)]
Update.

2004-02-20  Ulrich Drepper  <drepper@redhat.com>

* dlfcn/dlsym.c: Get ld.so loading lock before the call into ld.so.
* dlfcn/dlvsym.c: Likewise.
* elf/dl-addr.c: Get loading lock while using _dl_loaded data.
* elf/dl-fini.c: Likewise.
Patch by Shunichi Sagawa <s-sagawa@jp.fujitsu.com>.

20 years agoUpdate.
Ulrich Drepper [Fri, 20 Feb 2004 23:36:05 +0000 (23:36 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/ptlongjmp.c [SHARED]: Code only
valid for SHARED case.  Correct spelling of __vmx_longjmp.

20 years agoUpdate.
Ulrich Drepper [Fri, 20 Feb 2004 23:19:36 +0000 (23:19 +0000)]
Update.

2004-02-20  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/pspinlock.c: Move from here.
* sysdeps/powerpc/powerpc32/pspinlock.c: To here.
* sysdeps/powerpc/powerpc64/pspinlock.c: New file.
* sysdeps/powerpc/powerpc64/pt-machine.h: Define __compare_and_swap32
and __compare_and_swap32_with_release_semantics.

20 years agoUpdate.
Ulrich Drepper [Fri, 20 Feb 2004 20:32:36 +0000 (20:32 +0000)]
Update.

2004-02-19  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc32/bits/atomic.h: Add __make_section_unallocated
for .gnu.linkonce.b.__sparc32_atomic_locks section.
(__sparc32_atomic_locks): Add __sec_comment at the end of section name.

20 years agoUpdate.
Ulrich Drepper [Fri, 20 Feb 2004 20:24:34 +0000 (20:24 +0000)]
Update.

2004-02-20  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ulps for the
2003-11-27 atan2 test.

* sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Protect
with #ifndef __powerpc64__.

* sysdeps/generic/ldsodefs.h (_dl_argv, _dl_argv_internal): If
DL_ARGV_NOT_RELRO defined, don't use attribute_relro.
* sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Remove.
* sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove.
* sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Remove.
* sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove.
* sysdeps/alpha/dl-sysdep.h: New file.
* sysdeps/ia64/dl-sysdep.h: New file.
* sysdeps/sparc/dl-sysdep.h: New file.

20 years agoUpdate.
Ulrich Drepper [Fri, 20 Feb 2004 20:21:20 +0000 (20:21 +0000)]
Update.

* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ulps for the
2003-11-27 atan2 test.

20 years agoUpdate.
Ulrich Drepper [Fri, 20 Feb 2004 20:12:35 +0000 (20:12 +0000)]
Update.

2004-02-20  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/dl-sysdep.h (DL_ARGV_NOT_RELRO): Define.

20 years agoUpdate.
Ulrich Drepper [Fri, 20 Feb 2004 06:07:55 +0000 (06:07 +0000)]
Update.

2004-02-19  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/generic/libc-start.c [LIBC_START_DISABLE_INLINE] (STATIC):
Define as static.
* sysdeps/powerpc/elf/libc-start.c: Define LIBC_START_DISABLE_INLINE
because gcc does not allow inline of functions that call setjmp.

2004-02-19  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/Makefile: Use -finline-limit.

2004-02-19  Jakub Jelinek  <jakub@redhat.com>

* elf/rtld.c (_dl_argv): If DL_ARGV_NOT_RELRO defined, don't
use attribute_relro for _dl_argv.
* sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Define.
* sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Define.
* sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Define.
* sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Define.

vfork instead of fork.

20 years agoUpdate.
Ulrich Drepper [Thu, 19 Feb 2004 18:29:33 +0000 (18:29 +0000)]
Update.

* libio/iopopen.c (_IO_new_proc_open): It's not kosher to use
cfork instead of fork.
* libio/oldiopopen.c (_IO_old_proc_open): Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 19 Feb 2004 09:02:01 +0000 (09:02 +0000)]
Update.

2004-02-19  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/clock_settime.c (clock_settime): Fix typo which
prevented system-dependent handling from being used.

20 years agoUpdate.
Ulrich Drepper [Thu, 19 Feb 2004 04:10:16 +0000 (04:10 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
(pthread_barrier_wait): After wakeup, release lock only when the
last thread stopped using the barrier object.
* sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
(pthread_barrier_wait): Likewise.
* sysdeps/pthread/pthread_barrier_wait.c (pthread_barrier_wait):
Likewise.
* Makefile (tests): Add tst-barrier4.
* tst-barrier4.c: New file.

20 years agoUpdate.
Ulrich Drepper [Thu, 19 Feb 2004 00:55:28 +0000 (00:55 +0000)]
Update.

2004-02-18  Carlos O'Donell  <carlos@baldric.uwo.ca>

* test-skeleton.c (main): If set, use environment variable
TIMEOUTFACTOR to scale test TIMEOUT.

20 years agoUpdate.
Ulrich Drepper [Wed, 18 Feb 2004 20:02:17 +0000 (20:02 +0000)]
Update.

2004-02-18  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S
(__pthread_rwlock_unlock): Access WRITER as 32-bit value.
* Makefile (tests): Add tst-rwlock13.
* tst-rwlock13.c: New test.

20 years agoUpdate.
Ulrich Drepper [Wed, 18 Feb 2004 18:07:21 +0000 (18:07 +0000)]
Update.

2004-02-18  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd_conf.c: Include <stdio_ext.h>.

20 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 2004 07:08:51 +0000 (07:08 +0000)]
Update.

* stdlib/test-canon.c (do_test): Test realpath(,NULL) in the loop
as well.

20 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 2004 05:47:01 +0000 (05:47 +0000)]
Update.

* stdlib/canonicalize.c (__realpath): Remove unnecessary copy
operations.

20 years ago[BZ #18]
Ulrich Drepper [Tue, 17 Feb 2004 05:16:49 +0000 (05:16 +0000)]
[BZ #18]

Update.
* nscd/nscd_conf.c (nscd_parse_file): Little optimization.

2004-02-14  Thorsten Kukuk  <kukuk@suse.de>

* nscd/dbg_log.c (set_logfile): Only save name of logfile,
don't open it.
(init_logfile): New function, open logfile if requested.
* nscd/dbg_log.h: Adjust protoype for set_logfile, add init_logfile.
* nscd/nscd.c (main): Call init_logfile after forking in background.
* nscd/nscd_conf.c (nscd_parse_file): Adjust for new set_logfile.

2004-02-16  Ulrich Drepper  <drepper@redhat.com>

ld.so.preload is not present [BZ #18].

20 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 2004 02:35:52 +0000 (02:35 +0000)]
Update.

* elf/rtld.c (dl_main): Don't fail execution if file named in
ld.so.preload is not present.

20 years agoUpdate.
Ulrich Drepper [Mon, 16 Feb 2004 22:55:36 +0000 (22:55 +0000)]
Update.

2004-02-16  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Replace libc with
libpthread as "lib" parameter to SHLIB_COMPAT.
(__novmx_siglongjmp): Fix typo in function name.
(__novmx_longjmp): Fix typo in function name.

20 years agoUpdate.
Ulrich Drepper [Mon, 16 Feb 2004 21:00:54 +0000 (21:00 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (getaddrinfo): Undo unintended
changes in last patch.

20 years ago[BZ #6]
Ulrich Drepper [Mon, 16 Feb 2004 19:27:53 +0000 (19:27 +0000)]
[BZ #6]

Update.
* posix/regexec.c (transit_state): Fix typo in commented-out code
[BZ #6].

20 years agoUpdate.
Ulrich Drepper [Mon, 16 Feb 2004 19:07:47 +0000 (19:07 +0000)]
Update.

* posix/Makefile (tests): Add bug-ga1.
* posix/bug-ga1.c: New file.

20 years ago[BZ #24]
Ulrich Drepper [Mon, 16 Feb 2004 18:50:00 +0000 (18:50 +0000)]
[BZ #24]

Update.
partial bytes [BZ #24].

20 years agoUpdate.
Ulrich Drepper [Mon, 16 Feb 2004 18:48:51 +0000 (18:48 +0000)]
Update.

2004-02-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c (match_prefix): Correctly match
partial bytes.

20 years agoUpdate.
Ulrich Drepper [Sat, 14 Feb 2004 07:33:05 +0000 (07:33 +0000)]
Update.

* sysdeps/pthread/pthread_cond_wait.c (__pthread_cond_wait): Add a
__builtin_expect.

20 years agoUpdate.
Ulrich Drepper [Sat, 14 Feb 2004 07:30:42 +0000 (07:30 +0000)]
Update.

2004-02-13  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/pt-longjmp.c: Moved to...
* sysdeps/pthread/pt-longjmp.c: ...here.  New file.

20 years agoUpdate.
Ulrich Drepper [Sat, 14 Feb 2004 05:22:43 +0000 (05:22 +0000)]
Update.

2004-01-29  Steven Munroe  <sjmunroe@us.ibm.com>

* Makefile (libpthread-routines): Add pt-cleanup.
* pt-longjmp.c: Removed.
* pt-cleanup.c: Copied __pthread_cleanup_upto to here. New file.
* sysdeps/generic/pt-longjmp.c: Copied longjmp to here. New file.
* sysdeps/unix/sysv/linux/powerpc/Versions: New file.
Version longjmp, siglongjmp for GLIBC_2.3.4.
* sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: New File.

20 years agoPretty printing.
Ulrich Drepper [Sat, 14 Feb 2004 05:17:39 +0000 (05:17 +0000)]
Pretty printing.

* attr.c: Include ldsodefs.h.
(pthread_getattr_np): Don't declare __libc_stack_end.

20 years agoUpdate.
Ulrich Drepper [Sat, 14 Feb 2004 05:16:57 +0000 (05:16 +0000)]
Update.

2004-02-13  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/__longjmp-common.S: New file.
* sysdeps/powerpc/powerpc64/__longjmp.S [NOT_IN_libc](__longjmp):
Non-versioned __longjmp for rtld-__longjmp.
[!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as
default version of __longjmp.
[SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)]
(__novmx__longjmp): Original version of __longjmp.
* sysdeps/powerpc/powerpc64/bsd-_setjmp.S [NOT_IN_libc](_setjmp):
Non-versioned _setjmp for rtld-_setjmp.
[!NOT_IN_libc](__vmx_setjmp): Branch to __vmx__sigsetjmp and define
as default version of _setjmp.
[SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)]
(__novmx_setjmp): Original version of _setjmp.
* sysdeps/powerpc/powerpc64/bsd-setjmp.S (__vmxsetjmp): Branch to
__vmx__sigsetjmp and define as default version of setjmp.
[SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)]
(__novmxsetjmp): Original version of setjmp.
* sysdeps/powerpc/powerpc64/setjmp-common.S: New file.
* sysdeps/powerpc/powerpc64/setjmp.S [NOT_IN_libc](__setjmp):
Non-versioned __sigsetjmp for rtld-setjmp.
[!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define
as default version of __sigsetjmp.
[SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)]
(__novmx__sigsetjmp): Original version of __sigsetjmp.

* sysdeps/powerpc/powerpc32/__longjmp-common.S: New File
* sysdeps/powerpc/powerpc32/__longjmp.S [NOT_IN_libc](__longjmp):
Non-versioned __longjmp for rtld-__longjmp.
[!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as
default version of __longjmp.
[SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
(__novmx__longjmp): Original version of __longjmp.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S [NOT_IN_libc](_setjmp):
Non-versioned _setjmp for rtld-_setjmp.
[!NOT_IN_libc](__vmx_setjmp): Branch to __vmx__sigsetjmp and define
as default version of _setjmp.
[SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
(__novmx_setjmp): Original version of _setjmp.
* sysdeps/powerpc/powerpc32/bsd-setjmp.S (__vmxsetjmp): Branch to
__vmx__sigsetjmp and define as default version of setjmp.
[SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
(__novmxsetjmp): Original version of setjmp.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: New file.
* sysdeps/powerpc/powerpc32/fpu/__longjmp.S [NOT_IN_libc](__longjmp):
Non-versioned __longjmp for rtld-__longjmp.
[!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as
default version of __longjmp.
[SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
(__novmx__longjmp): Original version of __longjmp.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: New file.
* sysdeps/powerpc/powerpc32/fpu/setjmp.S [NOT_IN_libc](__setjmp):
Non-versioned __sigsetjmp for rtld-setjmp.
[!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define
as default version of __sigsetjmp.
[SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
(__novmx__sigsetjmp): Original version of __sigsetjmp.
* sysdeps/powerpc/powerpc32/setjmp-common.S: New file.
* sysdeps/powerpc/powerpc32/setjmp.S [NOT_IN_libc](__setjmp):
Non-versioned __sigsetjmp for rtld-setjmp.
[!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define
as default version of __sigsetjmp.
[SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
(__novmx__sigsetjmp): Original version of __sigsetjmp.

* sysdeps/powerpc/Dist: New File.
* sysdeps/powerpc/Makefile (sysdep_routines): Add novmx-longjmp.c
and novmx-sigjmp.c
* sysdeps/powerpc/Versions (libc): To GLIBC_2.3_4 add _longjmp,
__sigsetjmp, _setjmp, longjmp, and setjmp. To GLIBC_PRIVATE add
__novmx__libc_longjmp, __novmx__libc_siglongjmp, __vmx__libc_longjmp,
and __vmx__libc_siglongjmp.
* sysdeps/powerpc/bits/setjmp.h: Define JB_VRSAVE, JB_VRS, and adjust
JB_SIZE to add VMX regs to __jmp_buf.
* sysdeps/powerpc/longjmp.c: New file.
* sysdeps/powerpc/novmxsetjmp.h: New file.
* sysdeps/powerpc/novmx-longjmp.c: New file.
* sysdeps/powerpc/novmx-sigjmp.c: New file.
* sysdeps/powerpc/sigjmp.c: New file.

20 years agoUpdate.
Ulrich Drepper [Fri, 13 Feb 2004 18:17:54 +0000 (18:17 +0000)]
Update.

2004-02-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc64/fpu/s_llrintf.c (__lrintf, lrintf):
Define.
(__lrintl, lrintl): Remove.
* sysdeps/powerpc/powerpc64/fpu/s_llrint.c (__lrint): Fix a typo in
strong_alias spelling.
* sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: Remove.
* sysdeps/powerpc/powerpc64/fpu/s_lrint.S: New file.

20 years agoUpdate.
Ulrich Drepper [Fri, 13 Feb 2004 08:32:43 +0000 (08:32 +0000)]
Update.

* sysdeps/pthread/pthread_cond_timedwait.c
(__pthread_cond_timedwait): Optimize.  Drop internal lock earlier.
Reuse code.  Add __builtin_expects.

* init.c (pthread_functions): Make array const.

20 years agoUpdate.
Ulrich Drepper [Fri, 13 Feb 2004 08:04:27 +0000 (08:04 +0000)]
Update.

2004-02-13  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
(__pthread_cond_timedwait): Get internal lock in case timeout has
passed before the futex syscall.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.

20 years agoUpdate.
Ulrich Drepper [Fri, 13 Feb 2004 04:49:04 +0000 (04:49 +0000)]
Update.

2004-02-12  Ulrich Drepper  <drepper@redhat.com>

* posix/getopt.h: Add some non-gcc support.  Patch by Aharon Robbins.

2004-02-12  Mark Brown  <bmark@us.ibm.com>

* sysdeps/ia64/fpu/e_fmodf.S: Added text of Intel license.

* sysdeps/powerpc/fpu/s_lrint.c: Move to...
* sysdeps/powerpc/powerpc32/fpu/s_lrint.c: ... here.
* sysdeps/powerpc/fpu/s_llrint.c: Move to...
* sysdeps/powerpc/powerpc32/fpu/s_llrint.c: ... here.
* sysdeps/powerpc/fpu/s_llrintf.c: Move to...
* sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: ... here.
* sysdeps/powerpc/powerpc64/fpu/s_lrint.c: New file.
* sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
* sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: New file.

20 years agoUpdate.
Ulrich Drepper [Thu, 12 Feb 2004 21:00:59 +0000 (21:00 +0000)]
Update.

2004-02-12  Jakub Jelinek  <jakub@redhat.com>

* math/libm-test.inc (lrint_test): Add new test.
(llrint_test, lround_test, llround_test): Likewise.
* sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Fix special case
with result taking up 48 bits.
* sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
* sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
* sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Fix special case
with result taking up 31 bits.

20 years agoUpdate.
Ulrich Drepper [Thu, 12 Feb 2004 17:06:35 +0000 (17:06 +0000)]
Update.

2004-02-12  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/locale.c (show_locale_vars): Don't print a value
for LANG if it is not set.

20 years agoUpdate.
Ulrich Drepper [Wed, 11 Feb 2004 22:49:57 +0000 (22:49 +0000)]
Update.

2004-02-11  Jakub Jelinek  <jakub@redhat.com>

* posix/regexec.c (check_node_accept_bytes): Return 0 if char_len is 0.
(find_collation_sequence_value): Don't look beyond end of
SYMB_EXTRAMB table.
* posix/Makefile (tests): Add bug-regex23.
(bug-regex23-ENV): New.
* posix/bug-regex23.c: New file.

* include/rpc/rpc.h: Declare thread variables with their correct type.

20 years agoUpdate.
Ulrich Drepper [Wed, 11 Feb 2004 06:36:50 +0000 (06:36 +0000)]
Update.

* sysdeps/generic/setenv.c (__add_to_environ): Don't let the
temporary copies of the variables accumulate on the stack.

20 years ago(__add_to_environ): Don't let the temporary copies of the variables accumulate on...
Ulrich Drepper [Wed, 11 Feb 2004 06:32:32 +0000 (06:32 +0000)]
(__add_to_environ): Don't let the temporary copies of the variables accumulate on the stack.

20 years ago* sysdeps/mach/hurd/times.c (__times): Use union instead of cast.
Roland McGrath [Wed, 11 Feb 2004 02:01:22 +0000 (02:01 +0000)]
* sysdeps/mach/hurd/times.c (__times): Use union instead of cast.

* sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Likewise.

20 years ago* sysdeps/mach/hurd/configure.in: Move `retcode' check to ...
Roland McGrath [Wed, 11 Feb 2004 01:02:36 +0000 (01:02 +0000)]
* sysdeps/mach/hurd/configure.in: Move `retcode' check to ...

* sysdeps/mach/configure.in: ... here.
* sysdeps/mach/hurd/configure: Regenerated.
* sysdeps/mach/configure.in: Regenerated.

20 years ago2004-02-10 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 11 Feb 2004 01:02:11 +0000 (01:02 +0000)]
2004-02-10  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/configure.in: Move `retcode' check to ...
* sysdeps/mach/configure.in: ... here.
* sysdeps/mach/hurd/configure: Regenerated.
* sysdeps/mach/configure.in: Regenerated.

20 years ago(_i18n_number_rewrite): Few more changes to make the code smaller.
Ulrich Drepper [Tue, 10 Feb 2004 21:57:59 +0000 (21:57 +0000)]
(_i18n_number_rewrite): Few more changes to make the code smaller.

20 years agoUpdate.
Ulrich Drepper [Tue, 10 Feb 2004 08:02:07 +0000 (08:02 +0000)]
Update.

2004-02-10  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/_i18n_number.h: Finish last patch.

20 years agoUpdate.
Ulrich Drepper [Tue, 10 Feb 2004 01:56:53 +0000 (01:56 +0000)]
Update.

2004-02-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/i686/memcmp.S: New file.  Patch by HJ Lu.

20 years agomemcmp optimized for i686.
Ulrich Drepper [Tue, 10 Feb 2004 01:55:34 +0000 (01:55 +0000)]
memcmp optimized for i686.

20 years ago* sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old
Roland McGrath [Mon, 9 Feb 2004 21:46:48 +0000 (21:46 +0000)]
* sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old

for vm86@GLIBC_2.0 version.  Add new vm86@GLIBC_2.3.4.
* sysdeps/unix/sysv/linux/i386/Versions (libc: GLIBC_2.3.4): Add vm86.
* sysdeps/unix/sysv/linux/i386/sys/vm86.h: Update vm86 prototype.

20 years ago2003-12-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Feb 2004 21:46:35 +0000 (21:46 +0000)]
2003-12-05  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old
for vm86@GLIBC_2.0 version.  Add new vm86@GLIBC_2.3.4.
* sysdeps/unix/sysv/linux/i386/Versions (libc: GLIBC_2.3.4): Add vm86.
* sysdeps/unix/sysv/linux/i386/sys/vm86.h: Update vm86 prototype.

20 years ago#Update.
Ulrich Drepper [Mon, 9 Feb 2004 21:24:16 +0000 (21:24 +0000)]
#Update.

2004-02-09  Ulrich Drepper  <drepper@redhat.com>

* nis/ypclnt.c: Cleanup last patch.

20 years agoCleanup last patch.
Ulrich Drepper [Mon, 9 Feb 2004 21:19:19 +0000 (21:19 +0000)]
Cleanup last patch.

20 years ago* configure.in: Remove glibcbug creation.
Andreas Jaeger [Mon, 9 Feb 2004 20:58:22 +0000 (20:58 +0000)]
* configure.in: Remove glibcbug creation.

* configure: Regenerated.
* configure.in: Remove glibcbug creation.
* configure: Regenerated.

20 years agoUpdate.
Andreas Jaeger [Mon, 9 Feb 2004 20:47:09 +0000 (20:47 +0000)]
Update.

2004-02-09  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/fpu/s_copysignf.S: Only load 4 bytes.

20 years agoOnly load 4 bytes.
Andreas Jaeger [Mon, 9 Feb 2004 20:46:36 +0000 (20:46 +0000)]
Only load 4 bytes.

20 years ago* nis/ypclnt.c (__yp_bind_client_create): New, small chunk
Roland McGrath [Mon, 9 Feb 2004 20:33:35 +0000 (20:33 +0000)]
* nis/ypclnt.c (__yp_bind_client_create): New, small chunk

of duplicated code from __yp_bind.
(__yp_bind_file): New, binding dir code from __yp_bind.
(__yp_bind_client_create): New, ypbind code from __yp_bind.
(__ypclnt_call): New, make NIS query.
(do_ypcall): At first use cached data, then try data from
binding directory, after this ask ypbind for a working ypserv.
Based on a patch from Jeff Bastian <jmbastia@ti.com> and
Chris Barrera <cbarrera@ti.com>

20 years ago* configure.in: Don't set CCVERSION.
Roland McGrath [Mon, 9 Feb 2004 20:20:23 +0000 (20:20 +0000)]
* configure.in: Don't set CCVERSION.

* configure: Regenerated.
* glibcbug.in: File removed.
* Makefile (install-bin-script): Remove glibcbug.
(glibcbug): Target removed.
(distclean-1): Don't rm glibcbug.
(distribute): Remove glibcbug.in.

20 years ago* time/tzset.c (tzset_internal): Cap hour in POSIX $TZ rule format to
Roland McGrath [Mon, 9 Feb 2004 20:16:34 +0000 (20:16 +0000)]
* time/tzset.c (tzset_internal): Cap hour in POSIX $TZ rule format to

24, not 23.

20 years ago* io/ftwtest-sh: Use $tmp consistently, not literal /tmp.
Roland McGrath [Mon, 9 Feb 2004 20:13:16 +0000 (20:13 +0000)]
* io/ftwtest-sh: Use $tmp consistently, not literal /tmp.

Reported by Kevin P. Fleming <kpfleming@backtobasicsmgmt.com>.

20 years ago2004-01-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Feb 2004 20:12:23 +0000 (20:12 +0000)]
2004-01-29  Roland McGrath  <roland@redhat.com>

* io/ftwtest-sh: Use $tmp consistently, not literal /tmp.
Reported by Kevin P. Fleming <kpfleming@backtobasicsmgmt.com>.

20 years ago[BZ #7]
Ulrich Drepper [Mon, 9 Feb 2004 20:10:14 +0000 (20:10 +0000)]
[BZ #7]

#Update.
2004-02-09  Ulrich Drepper  <drepper@redhat.com>

* libio/genops.c (_IO_cleanup): Do not use locking when flushing
the buffers.  Some thread might be using a stream.

* sysdeps/x86_64/memcpy.S: Fix alignment [BZ #7].

20 years ago(_IO_cleanup): Do not use locking when flushing the buffers. Some thread might be...
Ulrich Drepper [Mon, 9 Feb 2004 20:08:44 +0000 (20:08 +0000)]
(_IO_cleanup): Do not use locking when flushing the buffers.  Some thread might be using a stream.

20 years agoUpdate.
Andreas Jaeger [Mon, 9 Feb 2004 18:21:32 +0000 (18:21 +0000)]
Update.

2004-02-09  Andreas Jaeger  <aj@suse.de>

PR 7
* sysdeps/x86_64/memcpy.S: Fix alignment.
Patch by Jan Beulich <jbeulich@novell.com>.

20 years agoPR 7
Andreas Jaeger [Mon, 9 Feb 2004 18:21:04 +0000 (18:21 +0000)]
PR 7

* sysdeps/x86_64/memcpy.S: Fix alignment.
Patch by Jan Beulich <jbeulich@novell.com>.

20 years ago* include/rpc/rpc.h: Declare thread variables with their correct
Andreas Schwab [Mon, 9 Feb 2004 10:47:53 +0000 (10:47 +0000)]
* include/rpc/rpc.h: Declare thread variables with their correct

type.
* sunrpc/clnt_perr.c: Don't cast thread variables.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/svcauth_des.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_raw.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
2004-02-09  Andreas Schwab  <schwab@suse.de>

* include/rpc/rpc.h: Declare thread variables with their correct
type.
* sunrpc/clnt_perr.c: Don't cast thread variables.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/svcauth_des.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_raw.c: Likewise.
* sunrpc/svc_simple.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 9 Feb 2004 10:05:22 +0000 (10:05 +0000)]
Update.

* stdio-common/_i18n_number.h: Support printing localized decimal
point and thousand separator.
* wctype/wctrans.c: Add __wctrans alias.
* include/wctype.h: Declare __wctrans.
Based on a patch by Hamed Malek.

20 years ago[BZ #10]
Ulrich Drepper [Mon, 9 Feb 2004 08:21:19 +0000 (08:21 +0000)]
[BZ #10]

Update.
2004-02-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Don't touch bits
other than the status bits [BZ #10].

20 years agoUpdate.
Ulrich Drepper [Mon, 9 Feb 2004 07:39:42 +0000 (07:39 +0000)]
Update.

Make stream locking operations really work.
* misc/Makefile (CFLAGS-mntent_r.c): Define.
* shadow/Makefile (CFLAGS-fgetspent_r.c): Define.
(CFLAGS-putspent.c): Define.
* grp/Makefile (CFLAGS-fgetgrent_r.c): Define.
(CFLAGS-putgrent.c): Define.
* pwd/Makefile (CFLAGS-fgetpwent_r.c): Define.
Reported by Shunichi Sagawa <s-sagawa@jp.fujitsu.com>.

20 years agoUpdate.
Ulrich Drepper [Mon, 9 Feb 2004 07:10:19 +0000 (07:10 +0000)]
Update.

* elf/dl-load.c (lose): Use noinline attribute instead of silly
alloca to prevent inlining.
* elf/dl-runtime.c (fixup): Likewise.
(profile_fixup): Likewise.

20 years agoUpdate.
Ulrich Drepper [Sun, 8 Feb 2004 08:27:03 +0000 (08:27 +0000)]
Update.

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

* stdio-common/printf_size.c: Undo parts of patch from 2000-2-11.
Initialize width correctly.

20 years agoUndo parts of patch from 2000-2-11. Initialize width correctly.
Ulrich Drepper [Sun, 8 Feb 2004 08:23:19 +0000 (08:23 +0000)]
Undo parts of patch from 2000-2-11.  Initialize width correctly.

20 years agoFix last commit.
Andreas Jaeger [Sat, 7 Feb 2004 16:27:50 +0000 (16:27 +0000)]
Fix last commit.

20 years agoUpdate.
Andreas Jaeger [Sat, 7 Feb 2004 15:57:44 +0000 (15:57 +0000)]
Update.

2004-02-07  Andreas Jaeger  <aj@suse.de>

* iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as
lvalue.
(internal_ucs4le_loop_single): Likewise.
(ucs4_internal_loop): Likewise.
(BODY): Likewise.
(internal_ucs4_loop_single): Likewise.
* iconvdata/iso8859-1.c (BODY): Likewise.
* iconvdata/cp1255.c (EMIT_SHIFT_TO_INIT): Likewise.
* iconvdata/cp1258.c (EMIT_SHIFT_TO_INIT): Likewise.
* iconvdata/gb18030.c (BODY): Likewise.
* iconvdata/armscii-8.c (BODY): Likewise.
* stdlib/msort.c (msort_with_tmp): Likewise.

* iconv/gconv_open.c (__gconv_open): Remove conditional expression
as lvalue.

20 years ago* iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as
Andreas Jaeger [Sat, 7 Feb 2004 15:56:44 +0000 (15:56 +0000)]
* iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as

lvalue.
(internal_ucs4le_loop_single): Likewise.
(ucs4_internal_loop): Likewise.
(BODY): Likewise.
(internal_ucs4_loop_single): Likewise.

20 years agoUpdate.
Ulrich Drepper [Sat, 7 Feb 2004 06:37:42 +0000 (06:37 +0000)]
Update.

2004-02-06  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc32/dl-machine.c: Declare __cache_line_size as
weak extern.
(__elf_machine_runtime_setup): Invalidate the instruction cache over
the whole range of the PLT.

20 years agoUpdate.
Ulrich Drepper [Fri, 6 Feb 2004 18:30:34 +0000 (18:30 +0000)]
Update.

2004-02-06  Andreas Schwab  <schwab@suse.de>

* posix/regcomp.c (build_range_exp): Fix off-by-one.
(parse_bracket_exp): Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 5 Feb 2004 21:00:13 +0000 (21:00 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Define
_HAVE_STAT_NSEC and _HAVE_STAT64_NSEC.  Patch by Anton Blanchard.

20 years ago#Update.
Ulrich Drepper [Mon, 2 Feb 2004 20:10:21 +0000 (20:10 +0000)]
#Update.

2004-02-02  Paolo Bonzini  <bonzini@gnu.org>

* posix/regexec.c (check_matching): Add P_MATCH_FIRST parameter.
(re_search_internal): Pass new parameter to check_matching.
(check_matching): Unless a parenthesized group is found at the
beginning of the regexp, advance P_MATCH_FIRST until we entered
a state different from the initial state.

20 years agoUpdate.
Ulrich Drepper [Sun, 1 Feb 2004 19:23:10 +0000 (19:23 +0000)]
Update.

* math/libm-test.inc (lround_test): Add new test.
(llround_test): Likewise.
(lrint_test): Likewise.
(llrint_test): Likewise.
* sysdeps/ieee754/dbl-64/s_lround.c (__lround): Fix special case
with result taking up 20 bits.
* sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
* sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise..
* sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Fix special
case with result taking up 31 bits.
* sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.

20 years agoUpdate.
Ulrich Drepper [Sun, 1 Feb 2004 18:07:44 +0000 (18:07 +0000)]
Update.

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

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

20 years agoUpdate.
Ulrich Drepper [Fri, 30 Jan 2004 20:44:00 +0000 (20:44 +0000)]
Update.

2004-01-30  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_BREAK,
FPE_DECOVF, FPE_DECDIV, FPE_DECERR, FPE_INVASC, FPE_INVDEC,
SEGV_PSTKOVF): Remove underscore prefix from definition.

20 years agoUpdate.
Ulrich Drepper [Fri, 30 Jan 2004 05:22:32 +0000 (05:22 +0000)]
Update.

2004-01-28  Paolo Bonzini  <bonzini@gnu.org>

Merge regex changes in gawk.
* posix/regcomp.c (build_range_exp) [!_LIBC]: Check validity
of collation elements.
* posix/regex.c: Include limits.h.
* posix/regex.h: Document REG_ECOLLATE correctly.
* posix/regex_internal.h [!_LIBC && !ENABLE_NLS]: Disable NLS.

20 years ago(build_range_exp) [!_LIBC]: Check validity of collation elements.
Ulrich Drepper [Fri, 30 Jan 2004 05:19:45 +0000 (05:19 +0000)]
(build_range_exp) [!_LIBC]: Check validity of collation elements.

20 years ago(Tools for Compilation): Grammar fixes.
Roland McGrath [Fri, 30 Jan 2004 01:58:22 +0000 (01:58 +0000)]
(Tools for Compilation): Grammar fixes.

20 years agoUpdate.
Ulrich Drepper [Wed, 28 Jan 2004 03:54:31 +0000 (03:54 +0000)]
Update.

2004-01-24  Andreas Jaeger  <aj@suse.de>

* malloc/obstack.h: Import gnulib version.
* malloc/obstack.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Tue, 27 Jan 2004 21:30:46 +0000 (21:30 +0000)]
Update.

2004-01-26  David Mosberger  <davidm@hpl.hp.com>

* elf/link.h (struct dl_phdr_info): Fix typo in comment.
* elf/rtld.c (dl_main): After incrementing dl_nloaded, also
increment dl_load_adds.
* elf/dl-iteratephdr.c (__dl_iterate_phdr): Replace GL(dl_load_subs)
with equivalent GL(dl_load_adds - GL(dl_nloaded).
(dl_iterate_phdr): Likewise.
* elf/dl-close.c (_dl_close): Delete increment of GL(dl_load_subs).
* elf/dl-support.c: Remove global variable _dl_load_subs.
* sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
_dl_load_subs member.

2004-01-27  Jakub Jelinek  <jakub@redhat.com>

* elf/rtld.c (_dl_start_final): Don't set l_relro_* here.
(_dl_start): And neither here.
(dl_main): Set GL(dl_loaded)->l_relro_* and
GL(dl_rtld_map)->l_relro_*.