]> sourceware.org Git - glibc.git/log
glibc.git
22 years agoUpdate.
Ulrich Drepper [Sun, 15 Sep 2002 02:37:32 +0000 (02:37 +0000)]
Update.

2002-09-14  Ulrich Drepper  <drepper@redhat.com>

* include/unistd.h: Declare __exit_thread.
* sysdeps/generic/libc-start.c: Remove dummy_addr.
Wrap call to main in setjmp if HAVE_CANCELBUF is defined.
* sysdeps/unix/sysv/linux/exit-thread.S: New file.
* sysdeps/unix/sysv/linux/_exit.c: New file.
* sysdeps/unix/sysv/linux/i386/_exit.S: New file.
* sysdeps/unix/sysv/linux/Makefile [subdir==posix] (sysdep_routines):
Add exit-thread.

* configure.in: Add dl_iterate_phdr to test using -nostdlib.

22 years agoDefine dl_iterate_phdr to test which uses -nostdlib.
Ulrich Drepper [Sun, 15 Sep 2002 02:20:14 +0000 (02:20 +0000)]
Define dl_iterate_phdr to test which uses -nostdlib.

22 years ago* sysdeps/i386/dl-machine.h (elf_machine_rel)
Roland McGrath [Sat, 14 Sep 2002 09:17:58 +0000 (09:17 +0000)]
* sysdeps/i386/dl-machine.h (elf_machine_rel)

(case R_386_TLS_DTPMOD32): Don't use addend.
[case R_386_TLS_TPOFF32]: Remove redundant SYM_MAP != NULL check.
(elf_machine_rela): Add support for TLS relocs.

22 years ago* Makefile (manual/%): Add this pattern target to the iconvdata/% rule.
Roland McGrath [Sat, 14 Sep 2002 09:10:11 +0000 (09:10 +0000)]
* Makefile (manual/%): Add this pattern target to the iconvdata/% rule.

22 years ago* stdlib/longlong.h [_ARCH_PPC && W_TYPE_SIZE!=32]: Add powerpc64
Roland McGrath [Sat, 14 Sep 2002 09:07:12 +0000 (09:07 +0000)]
* stdlib/longlong.h [_ARCH_PPC && W_TYPE_SIZE!=32]: Add powerpc64

specific asm macros for multiple percision integer math.

22 years ago* sysdeps/generic/ldconfig.h (FLAG_POWERPC_LIB64) New macro.
Roland McGrath [Sat, 14 Sep 2002 09:00:42 +0000 (09:00 +0000)]
* sysdeps/generic/ldconfig.h (FLAG_POWERPC_LIB64) New macro.

* elf/cache.c (print_entry): Add case for FLAG_POWERPC_LIB64.
Remove per-machine conditionals for FLAG_* cases.
* sysdeps/unix/sysv/linux/powerpc/ldconfig.h: New file.
* sysdeps/unix/sysv/linux/powerpc/readelflib.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/dl-cache.h: New file.

22 years ago2002-09-10 Alan Modra <amodra@bigpond.net.au>
Roland McGrath [Sat, 14 Sep 2002 08:55:27 +0000 (08:55 +0000)]
2002-09-10  Alan Modra <amodra@bigpond.net.au>

* csu/gmon-start.c [!TEXT_START]: Define TEXT_START if not already
defined in entry.h.
(__gmon_start__) [!ENTRY_POINT_DECL]: Use TEXT_START macro to obtain
lowest address for profiling in  __monstartup call.
* sysdeps/powerpc/powerpc64/elf/entry.h: New file.

22 years ago* sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be defined
Roland McGrath [Sat, 14 Sep 2002 08:32:37 +0000 (08:32 +0000)]
* sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be defined

instead of __NR_pread.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: __NR_pwrite64 may be defined
instead of __NR_pwrite.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.

22 years ago* manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.
Roland McGrath [Fri, 13 Sep 2002 19:43:03 +0000 (19:43 +0000)]
* manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.

22 years ago2002-09-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 13 Sep 2002 19:42:50 +0000 (19:42 +0000)]
2002-09-13  Roland McGrath  <roland@redhat.com>

* manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.

22 years agoUpdate.
Andreas Jaeger [Fri, 13 Sep 2002 07:12:45 +0000 (07:12 +0000)]
Update.

2002-09-13  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/syscalls.list: Add readahead
syscall.  Patch by Guido Guenther <agx@sigxcpu.org>.

22 years agoAdd readahead syscall.
Andreas Jaeger [Fri, 13 Sep 2002 07:12:28 +0000 (07:12 +0000)]
Add readahead syscall.

22 years agoUpdate.
Ulrich Drepper [Thu, 12 Sep 2002 19:11:14 +0000 (19:11 +0000)]
Update.

2002-09-12  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h: Correct DT_LOOS and DT_HIOS values.

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

* sysdeps/powerpc/fpu/s_isnan.c: #undef __isnanf and isnanf after
reading the headers.

22 years agoCorrect DT_LOOS and DT_HIOS values.
Ulrich Drepper [Thu, 12 Sep 2002 18:56:23 +0000 (18:56 +0000)]
Correct DT_LOOS and DT_HIOS values.

22 years ago* elf/rtld.c (_dl_start_final): Move _begin, _end decls outside the fn.
Roland McGrath [Thu, 12 Sep 2002 10:12:33 +0000 (10:12 +0000)]
* elf/rtld.c (_dl_start_final): Move _begin, _end decls outside the fn.

(_dl_start) [DONT_USE_BOOTSTRAP_MAP]: Use &_begin instead of l_addr to
find the ELF header.

22 years ago* elf/rtld.c (dl_main) [USE_TLS]: Adjust l_tls_initimage of main
Roland McGrath [Thu, 12 Sep 2002 09:15:22 +0000 (09:15 +0000)]
* elf/rtld.c (dl_main) [USE_TLS]: Adjust l_tls_initimage of main

executable if needed, in case it's actually a shared object.

22 years ago* elf/dl-load.c (_dl_map_object_from_fd): Use l_addr instead of
Roland McGrath [Thu, 12 Sep 2002 05:16:00 +0000 (05:16 +0000)]
* elf/dl-load.c (_dl_map_object_from_fd): Use l_addr instead of

l_map_start to adjust l_tls_initimage.

22 years ago* nss/getnssent_r.c (__nss_getent_r): Use EAGAIN instead of errno
Roland McGrath [Thu, 12 Sep 2002 02:58:43 +0000 (02:58 +0000)]
* nss/getnssent_r.c (__nss_getent_r): Use EAGAIN instead of errno

when using h_errno and it's not set to NETDB_INTERNAL.
* nss/getXXbyYY_r.c [NEED_H_ERRNO]: Likewise.

* Makefile ($(common-objpfx)testrun.sh): New target.
(others): Depend on it.
(postclean-generated): Append it.

22 years ago* nss/bug-erange.c: New file.
Roland McGrath [Thu, 12 Sep 2002 01:44:33 +0000 (01:44 +0000)]
* nss/bug-erange.c: New file.

* nss/Makefile (tests): Add it.

22 years ago* nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Return errno
Roland McGrath [Thu, 12 Sep 2002 01:38:22 +0000 (01:38 +0000)]
* nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Return errno

instead of always EAGAIN when status is NSS_STATUS_TRYAGAIN.

22 years ago* sysdeps/generic/dl-environ.c (unsetenv): Redo last fix without
Roland McGrath [Wed, 11 Sep 2002 22:16:50 +0000 (22:16 +0000)]
* sysdeps/generic/dl-environ.c (unsetenv): Redo last fix without

strncmp, keeps the code smaller for a non-performance-critical case.

22 years ago* sysdeps/generic/dl-environ.c (unsetenv): Rewritten using strncmp,
Roland McGrath [Wed, 11 Sep 2002 22:04:32 +0000 (22:04 +0000)]
* sysdeps/generic/dl-environ.c (unsetenv): Rewritten using strncmp,

no longer wrongly matches arbitrary prefixes of NAME.
Reported by Jakub Jelinek <jakub@redhat.com>.

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

* posix/bug-regex11.c (tests): New array.
(main): Rewritten to run more different tests.

* nscd/Makefile (CPPFLAGS-nscd, CPPFLAGS-nscd_conf, CPPFLAGS-dbg_log)
(CPPFLAGS-connections, CPPFLAGS-hstcache): Variables removed.
Instead, catch all of $(nscd-modules) via cppflags-iterator.mk.

22 years ago* sysdeps/powerpc/fpu/s_isnan.c: Do macro hackery on __GI___isnanf as
Roland McGrath [Tue, 10 Sep 2002 22:52:43 +0000 (22:52 +0000)]
* sysdeps/powerpc/fpu/s_isnan.c: Do macro hackery on __GI___isnanf as

well so we don't get it declared by include/math.h's hidden_proto.
Then do hidden_proto for __isnanf locally so hidden_def works right.

22 years ago* posix/bug-regex5.c (main): Use `union locale_data_value' rather than
Roland McGrath [Tue, 10 Sep 2002 22:35:54 +0000 (22:35 +0000)]
* posix/bug-regex5.c (main): Use `union locale_data_value' rather than

a cast to turn nl_langinfo return value into an integer.

22 years ago2002-09-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 10 Sep 2002 22:35:39 +0000 (22:35 +0000)]
2002-09-10  Roland McGrath  <roland@redhat.com>

* posix/bug-regex5.c (main): Use `union locale_data_value' rather than
a cast to turn nl_langinfo return value into an integer.

22 years ago#undef __isnanf and isnanf after reading the headers.
Ulrich Drepper [Tue, 10 Sep 2002 19:00:15 +0000 (19:00 +0000)]
#undef __isnanf and isnanf after reading the headers.

22 years agoUpdate.
Ulrich Drepper [Tue, 10 Sep 2002 18:40:35 +0000 (18:40 +0000)]
Update.

2002-09-10  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regexec.c (build_trtable): Fix the destination of
newline to prevent wrong states from overwriting.
Append break statements to optimization.

2002-09-10  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c: Wrap #include wchar.h and wctype.h in #if.
(build_range_exp): Add castings to strlen invocations.
(build_collating_symbol): Restore the type of characters from "char"
to "unsigned char", and supplement castings.
(build_collating_symbol): Likewise.
(build_equiv_class): Likewise.
(build_charclass): Likewise.
(seek_collating_symbol_entry): Likewise.
(parse_bracket_exp): Likewise.
(build_word_op): Supplement a casting.
* posix/regex_internal.c: Wrap #include wchar.h and wctype.h in #if.
(re_string_allocate): Fix castings.
(re_string_construct): Likewise.
(re_string_construct_common): Likewise.
(re_string_realloc_buffers): Likewise.
(build_wcs_buffer): Likewise.
(build_wcs_upper_buffer): Likewise.
(re_string_skip_chars): Likewise.
(re_string_reconstruct): Likewise.
* posix/regex_internal.h: Restore the type of characters in
re_string_t and bracket_elem_t from "char" to "unsigned char".
(re_string_elem_size_at): Fix castings.
* posix/regexec.c: Wrap #include wchar.h and wctype.h in #if.
(transit_state_bkref_loop): Restore the type of characters from
"char" to "unsigned char", and append a cast to "char*" pointer in
array subscript.
(check_node_accept_bytes): Likewise.
(find_collation_sequence_value): Likewise.

22 years agoWrap #include wchar.h and wctype.h in #if. (build_range_exp): Add castings to strlen...
Ulrich Drepper [Tue, 10 Sep 2002 17:39:58 +0000 (17:39 +0000)]
Wrap #include wchar.h and wctype.h in #if. (build_range_exp): Add castings to strlen invocations. (build_collating_symbol): Restore the type of characters from "char" to "unsigned char", and supplement castings. (build_collating_symbol): Likewise. (build_equiv_class): Likewise. (build_charclass): Likewise. (seek_collating_symbol_entry): Likewise. (parse_bracket_exp): Likewise. (build_word_op): Supplement a casting.

22 years agoUpdate
Andreas Jaeger [Tue, 10 Sep 2002 11:27:29 +0000 (11:27 +0000)]
Update

2002-09-10  Hartvig Ekner  <hartvige@mips.com>

* sysdeps/mips/memcpy.S: New file.
* sysdeps/mips/memset.S: New file.
* sysdeps/mips/fpu/e_sqrt.c:  New file.
* sysdeps/mips/fpu/e_sqrtf.c: New file.

* fpu/fclrexcpt.c: Cleaned up the FPU exception stuff - was not
functional before. Also removed all SHLIB_COMPAT stuff.
* fpu/fegetenv.c: Likewise.
* fpu/fesetenv.c:: Likewise.
* fpu/feupdateenv.c: Likewise.
* fpu/fgetexcptflg.c: Likewise.
* fpu/fraiseexcpt.c: Likewise.

* sysdeps/mips/fpu/fsetexcptflg.c: New file.

22 years agoMIPS specific optimizations.
Andreas Jaeger [Tue, 10 Sep 2002 11:23:00 +0000 (11:23 +0000)]
MIPS specific optimizations.

22 years agoUpdate.
Ulrich Drepper [Tue, 10 Sep 2002 01:40:26 +0000 (01:40 +0000)]
Update.

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

* include/math.h (__finite_internal, __finitef_internal,
__finitel_internal, __isinf_internal, __isnan_internal): Remove.
(isfinite): Remove.
(__finite, __isinf, __isnan, __finitef, __isinff, __isnanf, __finitel,
__isinfl, __isnanl): Add hidden_proto.
(__fpclassify, __fpclassifyf, __fpclassifyl, __expm1l): Add
libm_hidden_proto.
* math/Makefile (libm-calls): Add s_isinf and s_isnan.
* stdio-common/printf_fp.c (__printf_fp): Remove INTUSE from
__is{inf,nan} calls.
* stdio-common/printf_size.c (printf_size): Likewise.
* sysdeps/generic/printf_fphex.c (__printf_fphex): Likewise.
* sysdeps/generic/s_ldexp.c (__ldexp): Likewise.
* sysdeps/generic/s_ldexpf.c (__ldexpf): Likewise.
* sysdeps/generic/s_ldexpl.c (__ldexpl): Likewise.
* sysdeps/generic/s_expm1l.c (__expm1l): Add libm_hidden_def.
* sysdeps/i386/fpu/s_finite.S (__finite_internal): Remove alias.
(__finite): Add hidden_def.
* sysdeps/i386/fpu/s_finitef.S (__finitef_internal): Remove alias.
(__finitef): Add hidden_def.
* sysdeps/i386/fpu/s_finitel.S (__finitel_internal): Remove alias.
(__finitel): Add hidden_def.
* sysdeps/i386/fpu/s_isinfl.c (__isinfl): Remove INTDEF.  Add
hidden_def.
* sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
* sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Add
libm_hidden_def.
* sysdeps/i386/fpu/s_expm1l.S (__expm1l): Likewise.
* sysdeps/ieee754/dbl-64/s_finite.c (__finite): Remove INTDEF.  Add
hidden_def.
* sysdeps/ieee754/dbl-64/s_isinf.c (__isinf): Likewise.
(__isinfl): Remove INTDEF.
* sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Remove INTDEF.  Add
hidden_def.
(__isnanl): Remove INTDEF.
* sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Add
libm_hidden_def.
* sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Use __sin and __cos
instead of sin and cos.
* sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Remove INTDEF.
Add hidden_def.
* sysdeps/ieee754/flt-32/s_isinff.c (__isinff): Likewise.
* sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
* sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Add
libm_hidden_def.
* sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Remove INTDEF.
Add hidden_def.
* sysdeps/ieee754/ldbl-128/s_isinfl.c (__isinfl): Likewise.
* sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
* sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl): Add
libm_hidden_def.
* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add
libm_hidden_def.
* sysdeps/ieee754/ldbl-96/s_finitel.c (__finitel): Remove INTDEF.
Add hidden_def.
* sysdeps/ieee754/ldbl-96/s_isinfl.c (__isinfl): Likewise.
* sysdeps/ieee754/ldbl-96/s_isnanl.c (__isnanl): Likewise.
* sysdeps/ieee754/ldbl-96/s_fpclassifyl.c (__fpclassifyl): Add
libm_hidden_def.
* sysdeps/ia64/fpu/s_finite.S (__finite_internal, __finitef_internal,
__finitel_internal): Remove aliases.
(__finite, __finitef, __finitel): Add hidden_def.
* sysdeps/ia64/fpu/s_isnan.S (__isnan_internal, __isnanf_internal,
__isnanl_internal): Remove aliases.
(__isnan, __isnanf, __isnanl): Add hidden_def.
* sysdeps/ia64/fpu/s_isinf.S (__isinf_internal, __isinff_internal,
__isinfl_internal): Remove aliases.
(__isinf, __isinff, __isinfl): Add hidden_def.
* sysdeps/ia64/fpu/s_fpclassify.S (__fpclassify, __fpclassifyf,
__fpclassifyl): Add libm_hidden_def.
* sysdeps/ia64/fpu/s_expm1l.S (__expm1l): Likewise.
* sysdeps/m68k/s_isinfl.c (__isinfl): Remove INTDEF.  Add hidden_def.
* sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Remove.
(hidden_defx): Define and use.
* sysdeps/m68k/fpu/s_fpclassifyl.c (__fpclassifyl): Add
libm_hidden_def.
* sysdeps/m68k/fpu/s_expm1l.c (__expm1l): Likewise.
* sysdeps/m68k/s_isnanl.c (__isnanl): Add hidden_def.
* sysdeps/powerpc/fpu/s_isnan.c (__isnan, __isnanf, __isnanl):
Remove INTDEF.
(__isnan, __isnanf): Add hidden_def.
* sysdeps/x86_64/fpu/s_finitel.S (__finitel_internal): Remove alias.
(__finitel): Add libm_hidden_def.
* sysdeps/x86_64/fpu/s_expm1l.S (__expm1l): Likewise.

* include/fenv.h (feraiseexcept, fesetenv): Add libm_hidden_proto.
* sysdeps/alpha/fpu/fesetenv.c (fesetenv): Add libm_hidden_ver.
* sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/arm/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/arm/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/generic/fesetenv.c (fesetenv): Likewise.
* sysdeps/generic/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/m68k/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/mips/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/powerpc/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/sparc/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/sparc/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/hppa/fpu/fesetenv.c (fesetenv): Add libm_hidden_def.
* sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/ia64/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/x86_64/fpu/fraiseexcpt.c (feraiseexcept): Likewise.

22 years agoUpdate.
Ulrich Drepper [Tue, 10 Sep 2002 00:36:58 +0000 (00:36 +0000)]
Update.

2002-09-09  Steven Munroe  <sjmunroe@us.ibm.com>

* elf/elf.h: Add powerpc64 specific elf relocation and dynamic types.

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

* elf/dl-error.c (_dl_signal_cerror): Don't print anything if only
LD_DEBUG=statistics or LD_TRACE_PRELINKING.

22 years agoUpdate.
Ulrich Drepper [Tue, 10 Sep 2002 00:28:55 +0000 (00:28 +0000)]
Update.

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

* string/stratcliff.c: Some more strncpy tests.
Patch by Daniel Jacobowitz <drow@mvista.com>.

22 years agoSome more strncpy checks.
Ulrich Drepper [Tue, 10 Sep 2002 00:25:47 +0000 (00:25 +0000)]
Some more strncpy checks.

22 years ago* resolv/resolv.h: Include <sys/types.h> for u_long even in
Roland McGrath [Sun, 8 Sep 2002 20:37:42 +0000 (20:37 +0000)]
* resolv/resolv.h: Include <sys/types.h> for u_long even in

the [__need_res_state] case.
Reported by Bruno Haible <bruno@clisp.org>.

22 years ago* sysdeps/generic/bits/ustat.h: Comment fix.
Roland McGrath [Fri, 6 Sep 2002 19:31:46 +0000 (19:31 +0000)]
* sysdeps/generic/bits/ustat.h: Comment fix.

* io/sys/sendfile.h: Comment fix.
* sysdeps/posix/pread.c: Comment fix.
* sysdeps/posix/pread64.c: Comment fix.
* sysdeps/posix/pwrite.c: Comment fix.
* sysdeps/posix/pwrite64.c: Comment fix.

22 years ago2002-09-04 Bruno Haible <bruno@clisp.org>
Roland McGrath [Fri, 6 Sep 2002 19:20:20 +0000 (19:20 +0000)]
2002-09-04  Bruno Haible  <bruno@clisp.org>

* sysdeps/generic/bits/ustat.h: Comment fix.
* io/sys/sendfile.h: Comment fix.
* sysdeps/posix/pread.c: Comment fix.
* sysdeps/posix/pread64.c: Comment fix.
* sysdeps/posix/pwrite.c: Comment fix.
* sysdeps/posix/pwrite64.c: Comment fix.

22 years agoUpdate.
Ulrich Drepper [Fri, 6 Sep 2002 18:53:38 +0000 (18:53 +0000)]
Update.

* sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Correct
test for filesystem type name of mount points.

22 years ago(where_is_shmfs): Correct test for filesystem type name of mount points.
Ulrich Drepper [Fri, 6 Sep 2002 18:39:30 +0000 (18:39 +0000)]
(where_is_shmfs): Correct test for filesystem type name of mount points.

22 years ago* posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, defined
Roland McGrath [Fri, 6 Sep 2002 18:08:11 +0000 (18:08 +0000)]
* posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, defined

to _UTSNAME_LENGTH if not already defined by <bits/utsname.h>.
(_UTSNAME_RELEASE_LENGTH, _UTSNAME_VERSION_LENGTH): Likewise.
(_UTSNAME_MACHINE_LENGTH): Likewise.
(struct utsname): Use new macros instead of _UTSNAME_LENGTH.

22 years ago2002-09-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 6 Sep 2002 18:07:55 +0000 (18:07 +0000)]
2002-09-06  Roland McGrath  <roland@redhat.com>

* posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, defined
to _UTSNAME_LENGTH if not already defined by <bits/utsname.h>.
(_UTSNAME_RELEASE_LENGTH, _UTSNAME_VERSION_LENGTH): Likewise.
(_UTSNAME_MACHINE_LENGTH): Likewise.
(struct utsname): Use new macros instead of _UTSNAME_LENGTH.

22 years agoUpdate.
Ulrich Drepper [Fri, 6 Sep 2002 09:35:02 +0000 (09:35 +0000)]
Update.

* include/errno.h: Use errno definition with __thread for now only
in libc and ld.so.

22 years agoUpdate.
Ulrich Drepper [Fri, 6 Sep 2002 09:18:08 +0000 (09:18 +0000)]
Update.

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

* test-skeleton.c (main): Improve error message for unexpected
signal case.

* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in
case of failure.
* elf/readlib.c (process_file): Conditionalize check for QMAGIC.

22 years ago(main): Improve error message for unexpected signal case.
Ulrich Drepper [Fri, 6 Sep 2002 09:15:54 +0000 (09:15 +0000)]
(main): Improve error message for unexpected signal case.

22 years ago* ctype/ctype-info.c: Renamed __ctype_old_* symbols to __ctype_*.
Roland McGrath [Thu, 5 Sep 2002 21:22:05 +0000 (21:22 +0000)]
* ctype/ctype-info.c: Renamed __ctype_old_* symbols to __ctype_*.

* locale/lc-ctype.c (_nl_postload_ctype): Likewise.

22 years ago2002-09-05 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Thu, 5 Sep 2002 20:25:10 +0000 (20:25 +0000)]
2002-09-05  Jakub Jelinek  <jakub@redhat.com>

        * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in
        case of failure.

22 years ago* sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Declutter
Roland McGrath [Thu, 5 Sep 2002 18:53:40 +0000 (18:53 +0000)]
* sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Declutter

syntax.

        * elf/readlib.c (process_file): Conditionalize check for QMAGIC.

22 years ago2002-09-04 Bruno Haible <bruno@clisp.org>
Roland McGrath [Thu, 5 Sep 2002 18:52:18 +0000 (18:52 +0000)]
2002-09-04  Bruno Haible  <bruno@clisp.org>

        * elf/readlib.c (process_file): Conditionalize check for QMAGIC.

* sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Turn into inline functions.
* sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Likewise.
* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Likewise.

* sysdeps/generic/_strerror.c (_sys_errlist, _sys_nerr): Remove
default definitions.
(__strerror_r): Use _sys_errlist_internal instead of _sys_errlist,
_sys_nerr_internal instead of _sys_nerr.

* nscd/connections.c (handle_request): Declare CALLER inside #if.

22 years ago2002-09-04 Bruno Haible <bruno@clisp.org>
Roland McGrath [Thu, 5 Sep 2002 18:51:42 +0000 (18:51 +0000)]
2002-09-04  Bruno Haible  <bruno@clisp.org>

* sysdeps/generic/_strerror.c (_sys_errlist, _sys_nerr): Remove
default definitions.
(__strerror_r): Use _sys_errlist_internal instead of _sys_errlist,
_sys_nerr_internal instead of _sys_nerr.

22 years agoRegenerated: autoconf sysdeps/unix/sysv/linux/configure.in
Ulrich Drepper [Thu, 5 Sep 2002 15:55:17 +0000 (15:55 +0000)]
Regenerated: autoconf  sysdeps/unix/sysv/linux/configure.in

22 years agoUpdate.
Ulrich Drepper [Thu, 5 Sep 2002 10:28:51 +0000 (10:28 +0000)]
Update.

2002-07-29  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/__longjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/__longjmp.S: ...here.
* sysdeps/powerpc/add_n.S: Moved to...
* sysdeps/powerpc/powerpc32/add_n.S: ...here.
* sysdeps/powerpc/addmul_1.S: Moved to...
* sysdeps/powerpc/powerpc32/addmul_1.S: ...here.
* sysdeps/powerpc/atomicity.h: Moved to...
* sysdeps/powerpc/powerpc32/atomicity.h: ...here.
* sysdeps/powerpc/backtrace.c: Moved to...
* sysdeps/powerpc/powerpc32/backtrace.c: ...here.
* sysdeps/powerpc/bp-asm.h: Moved to...
* sysdeps/powerpc/powerpc32/bp-asm.h: ...here.
* sysdeps/powerpc/bsd-_setjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: ...here.
* sysdeps/powerpc/bsd-setjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/bsd-setjmp.S: ...here.
* sysdeps/powerpc/dl-machine.c: Moved to...
* sysdeps/powerpc/powerpc32/dl-machine.c: ...here.
* sysdeps/powerpc/dl-machine.h: Moved to...
* sysdeps/powerpc/powerpc32/dl-machine.h: ...here.
* sysdeps/powerpc/dl-start.S: Moved to...
* sysdeps/powerpc/powerpc32/dl-start.S: ...here.
* sysdeps/powerpc/gprrest0.S: Moved to...
* sysdeps/powerpc/powerpc32/gprrest0.S: ...here.
* sysdeps/powerpc/gprrest1.S: Moved to...
* sysdeps/powerpc/powerpc32/gprrest1.S: ...here.
* sysdeps/powerpc/gprsave0.S: Moved to...
* sysdeps/powerpc/powerpc32/gprsave0.S: ...here.
* sysdeps/powerpc/gprsave1.S: Moved to...
* sysdeps/powerpc/powerpc32/gprsave1.S: ...here.
* sysdeps/powerpc/lshift.S: Moved to...
* sysdeps/powerpc/powerpc32/lshift.S: ...here.
* sysdeps/powerpc/memset.S: Moved to...
* sysdeps/powerpc/powerpc32/memset.S: ...here.
* sysdeps/powerpc/mul_1.S: Moved to...
* sysdeps/powerpc/powerpc32/mul_1.S: ...here.
* sysdeps/powerpc/ppc-mcount.S: Moved to...
* sysdeps/powerpc/powerpc32/ppc-mcount.S: ...here.
* sysdeps/powerpc/register-dump.h: Moved to...
* sysdeps/powerpc/powerpc32/register-dump.h: ...here.
* sysdeps/powerpc/rshift.S: Moved to...
* sysdeps/powerpc/powerpc32/rshift.S: ...here.
* sysdeps/powerpc/setjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/setjmp.S: ...here.
* sysdeps/powerpc/stpcpy.S: Moved to...
* sysdeps/powerpc/powerpc32/stpcpy.S: ...here.
* sysdeps/powerpc/strchr.S: Moved to...
* sysdeps/powerpc/powerpc32/strchr.S: ...here.
* sysdeps/powerpc/strcmp.S: Moved to...
* sysdeps/powerpc/powerpc32/strcmp.S: ...here.
* sysdeps/powerpc/strcpy.S: Moved to...
* sysdeps/powerpc/powerpc32/strcpy.S: ...here.
* sysdeps/powerpc/strlen.S: Moved to...
* sysdeps/powerpc/powerpc32/strlen.S: ...here.
* sysdeps/powerpc/sub_n.S: Moved to...
* sysdeps/powerpc/powerpc32/sub_n.S: ...here.
* sysdeps/powerpc/submul_1.S: Moved to...
* sysdeps/powerpc/powerpc32/submul_1.S: ...here.
* sysdeps/powerpc/elf/bzero.S: Moved to...
* sysdeps/powerpc/powerpc32/elf/bzero.S: ...here.
* sysdeps/powerpc/elf/start.S: Moved to...
* sysdeps/powerpc/powerpc32/elf/start.S: ...here.
* sysdeps/powerpc/fpu/__longjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: ...here.
* sysdeps/powerpc/fpu/fprrest.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/fprrest.S: ...here.
* sysdeps/powerpc/fpu/fprsave.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/fprsave.S: ...here.
* sysdeps/powerpc/fpu/setjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/setjmp.S: ...here.
* sysdeps/powerpc/fpu/s_copysign.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/s_copysign.S: ...here.
* sysdeps/powerpc/fpu/s_copysignf.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: ...here.
* sysdeps/unix/sysv/linux/powerpc/brk.S: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: ...here.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: ...here.
* sysdeps/unix/sysv/linux/powerpc/glob64.c: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
* sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: ...here.
* sysdeps/unix/sysv/linux/powerpc/socket.S: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: ...here.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: ...here.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: ...here.
Support PowerPC64.  Separate powerpc into powerpc/powerpc32 and
powerpc/powerpc64.

2002-07-29  Steven Munroe  <sjmunroe@us.ibm.com>

* FAQ.in: Add powerpc64 to supported targets list. Also state the
minimum gcc version is 3.2
* README: Add powerpc64 to supported targets list.
* configure.in: Change machine=powerpc to machine=powerpc/powerpc32.
Add powerpc64 and machine=powerpc/powerpc64.
(HAVE_ASM_GLOBAL_DOT_NAME): Define if linux*powerpc/powerpc64*.
* shlib-versions: Set DEFAULT version to 2.2.5 for powerpc64.
* sysdeps/powerpc/Dist: Remove dl-machine.c, dl-start.S, ppc-mcount.S,
gprsave1.S, gprsave0.S, gprrest1.S, and gprrest0.S.
* sysdeps/powerpc/powerpc32/Dist: New file.
* sysdeps/powerpc/Implies: Remove wordsize-32 and powerpc/soft-fp.
* sysdeps/powerpc/powerpc32/Implies: New file.
* sysdeps/powerpc/Makefile(cflags): Remove powerpc32 specific cflags.
($(with-fp) = no): Move test to powerpc32/Makefile.
($(subdir) = misc): Move to powerpc32/Makefile.
($(build-shared) = yes): Move to powerpc32/Makefile.
($(subdir) = csu): Move to powerpc32/Makefile.
(sysdep-rtld-routines): Remove dl-start.  Moved these bits to ...
* sysdeps/powerpc/powerpc32/Makefile: New file.
* sysdeps/powerpc/Versions: Remove libgcc functions.
* sysdeps/powerpc/powerpc32/Versions: New file.
* sysdeps/powerpc/fpu/Makefile: Remove fprsave and fprrest.
* sysdeps/powerpc/powerpc32/fpu/Makefile: New file.
* sysdeps/unix/sysv/linux/configure.in (powerpc*):
Set arch_minimum_kernel=2.4.19 for powerpc/powerpc64. Also set
libc_cv_gcc_unwind_find_fde=yes only if !powerpc/powerpc64.
($machine): Add powerpc/powerpc64 to if ... | for
libc_cv_slibdir=/libc64.
(powerpc*): Set ldd_rewrite_script.
* sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed: New file.
* sysdeps/unix/sysv/linux/powerpc/Dist: Remove clone.S.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: New file.
Add clone.S.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Remove oldgetrlimit64.
* sysdeps/unix/sysv/linux/powerpc/Versions: Remove GLIBC_2.0
functions.  Remove GLIBC_2.2 functions except getrlimit and
setrlimit.  Moved them to ...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: New file.

2002-09-04  Ulrich Drepper  <drepper@redhat.com>

* libio/tst-atime.c: Include <errno.h>.
(do_test): Only perform fstatvfs check if ST_NOATIME is defined.

2002-09-03  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (regcomp): Append "__restrict" modifier to avoid
warnings of some compilers.
(build_collating_symbol): Change the type of characters from
"unsigned char" to "char", and append a cast to "char*" pointer in
array subscript.
(build_collating_symbol): Likewise.
(build_equiv_class): Likewise.
(build_charclass): Likewise.
(re_compile_pattern): Remove incorrect cast.
(re_compile_fastmap_iter): Change the type of characters from
"unsigned char" to "char", and append a cast to "char*" pointer
in array subscript.
(parse_bracket_exp): Likewise.
* posix/regex_internal.c (re_string_construct_common): Likewise.
(re_string_allocate): Likewise.
(re_string_construct): Likewise.
(re_string_realloc_buffers): Likewise.
(build_wcs_buffer): Likewise.
(re_string_reconstruct): Likewise.
* posix/regex_internal.h: Change the type of characters in
re_string_t and bracket_elem_t from "unsigned char" to "char".
* posix/regexec.c (regexec): Append "__restrict" modifier to avoid
warnings of some compilers.
(transit_state_bkref_loop): Change the type of characters from
"unsigned char" to "char", and append a cast to "char*" pointer in
array subscript.
(check_node_accept_bytes): Likewise.
(find_collation_sequence_value): Likewise.

22 years ago(regcomp): Append "__restrict" modifier to avoid warnings of some compilers. (build_c...
Ulrich Drepper [Thu, 5 Sep 2002 03:33:58 +0000 (03:33 +0000)]
(regcomp): Append "__restrict" modifier to avoid warnings of some compilers. (build_collating_symbol): Change the type of characters from "unsigned char"

to "char", and append a cast to "char*" pointer in array subscript. (build_collating_symbol): Likewise. (build_equiv_class): Likewise. (build_charclass): Likewise. (re_compile_pattern): Remove incorrect cast. (re_compile_fastmap_iter): Change the type of characters from "unsigned char"
to "char", and append a cast to "char*" pointer in array subscript. (parse_bracket_exp): Likewise.

22 years ago* resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value
Roland McGrath [Thu, 5 Sep 2002 01:23:20 +0000 (01:23 +0000)]
* resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value

from 1024 to 65536, to avoid buffer overrun.

22 years ago2002-09-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 5 Sep 2002 01:23:06 +0000 (01:23 +0000)]
2002-09-04  Roland McGrath  <roland@redhat.com>

* resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value
from 1024 to 65536, to avoid buffer overrun.

22 years agoUpdate.
Ulrich Drepper [Wed, 4 Sep 2002 23:40:45 +0000 (23:40 +0000)]
Update.

2002-09-03  Gerhard Tonn  <ton@de.ibm.com>

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

22 years agoUpdate.
Ulrich Drepper [Wed, 4 Sep 2002 20:58:01 +0000 (20:58 +0000)]
Update.

2002-09-04  Ulrich Drepper  <drepper@redhat.com>

* libio/tst-atime.c (do_test): Make sure noatime flag isn't set
for filesystem.

22 years ago(do_test): Make sure noatime flag isn't set for filesystem.
Ulrich Drepper [Wed, 4 Sep 2002 20:50:52 +0000 (20:50 +0000)]
(do_test): Make sure noatime flag isn't set for filesystem.

22 years ago* posix/bug-regex11.c: New test.
Roland McGrath [Wed, 4 Sep 2002 16:21:38 +0000 (16:21 +0000)]
* posix/bug-regex11.c: New test.

* posix/Makefile (tests): Add bug-regex11.

22 years ago2002-09-04 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Wed, 4 Sep 2002 16:21:24 +0000 (16:21 +0000)]
2002-09-04  Jakub Jelinek  <jakub@redhat.com>

* posix/bug-regex11.c: New test.
* posix/Makefile (tests): Add bug-regex11.

22 years agoUpdate.
Ulrich Drepper [Tue, 3 Sep 2002 18:43:43 +0000 (18:43 +0000)]
Update.

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

* locale/tst-C_locale.c (run_test): Pass LC_ALL_MASK not LC_ALL to
newlocale.

22 years agoUpdate.
Ulrich Drepper [Tue, 3 Sep 2002 03:14:59 +0000 (03:14 +0000)]
Update.

22 years ago(VERSION): Update from 2.3 release.
Ulrich Drepper [Tue, 3 Sep 2002 02:52:58 +0000 (02:52 +0000)]
(VERSION): Update from 2.3 release.

22 years ago* sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call
Roland McGrath [Tue, 3 Sep 2002 02:45:12 +0000 (02:45 +0000)]
* sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call

__pthread_initialize_minimal and __libc_check_standard_fds to
match the generic version.

* sysdeps/powerpc/Makefile (CFLAGS-pt-initfini.s): New variable.

* sysdeps/unix/sysv/linux/shmat.c (shmat): Add a cast to avoid a
warning when INLINE_SYSCALL macro uses the __syscall_ipc function.

* locale/localeconv.c (__localeconv): Cast -1 to char to avoid
warnings on platorms where char is unsigned.

22 years ago2002-09-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 3 Sep 2002 02:33:03 +0000 (02:33 +0000)]
2002-09-02  Roland McGrath  <roland@redhat.com>

* locale/localeconv.c (__localeconv): Cast -1 to char to avoid
warnings on platorms where char is unsigned.

22 years agoUpdate.
Ulrich Drepper [Tue, 3 Sep 2002 01:44:19 +0000 (01:44 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/Dist: Add __start_context.S.

22 years agoUpdate.
Ulrich Drepper [Tue, 3 Sep 2002 01:27:35 +0000 (01:27 +0000)]
Update.

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

* version.h (VERSION): Bump to 2.2.93.

22 years agoUpdate.
Ulrich Drepper [Mon, 2 Sep 2002 23:46:49 +0000 (23:46 +0000)]
Update.

* elf/rtld.c (dl_main): If prelinking succeeded, mark all objects
as relocated.

22 years ago2002-09-02 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Mon, 2 Sep 2002 20:19:26 +0000 (20:19 +0000)]
2002-09-02  Jakub Jelinek  <jakub@redhat.com>

        * elf/rtld.c (dl_main): If prelinking succeeded, mark all objects
        as relocated.

22 years ago* sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
Roland McGrath [Mon, 2 Sep 2002 20:04:55 +0000 (20:04 +0000)]
* sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.

22 years ago* locale/localeinfo.h (struct locale_data): Add private.ctype.
Roland McGrath [Mon, 2 Sep 2002 19:34:39 +0000 (19:34 +0000)]
* locale/localeinfo.h (struct locale_data): Add private.ctype.

* wcsmbs/wcsmbsload.h (__wcsmbs_gconv_fcts, __wcsmbs_last_locale,
__wcsmbs_to_wc, update_conversion_ptrs): Removed.
(__wcsmbs_gconv_fcts_c, _nl_C_LC_CTYPE): New externs.
(__wcsmbs_load_conv): Remove const from argument.
(_nl_cleanup_ctype): New proto.
(get_gconv_fcts): New function.
* wcsmbs/wcsmbsload.c (__wcsmbs_last_locale): Removed.
(__wcsmbs_to_wc): Rename back to...
(to_wc): ... this.
(__wcsmbs_gconv_fcts): Rename to...
(__wcsmbs_gconv_fcts_c): ... this.  Make const.  Use to_wc.
(lock): Removed.
(__libc_setlocale_lock): New extern.
(__wcsmbs_load_conv): Remove const from argument.
Initialize new_category->private.ctype instead of a global
variable.
(__wcsmbs_clone_conv): Use get_gconv_fcts instead of
update_function_ptrs.  No locking is necessary.
(_nl_cleanup_ctype): New function.
* wcsmbs/btowc.c (__btowc): Use get_gconv_fcts instead of
update_function_ptrs and a global __wcsmbs_gconv_fcts variable.
* wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
* wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
* wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
* wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
* wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
* wcsmbs/wctob.c (wctob): Likewise.
* stdlib/mblen.c (mblen): Likewise.
* stdlib/mbtowc.c (mbtowc): Likewise.
* stdlib/wctomb.c (wctomb): Likewise.
* wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
Remove calls to wcsmbs_get_towc_func and wcsmbs_free_funcs.
* wcsmbs/mbsrtowcs_l.c (wcsmbs_get_towc_func, wcsmbs_free_funcs):
Removed.

22 years ago* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Add __fxstat64.
Roland McGrath [Mon, 2 Sep 2002 19:02:16 +0000 (19:02 +0000)]
* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Add __fxstat64.

22 years ago* ctype/ctype.h (__ctype_b, __ctype_toupper, __ctype_tolower):
Roland McGrath [Mon, 2 Sep 2002 07:09:08 +0000 (07:09 +0000)]
* ctype/ctype.h (__ctype_b, __ctype_toupper, __ctype_tolower):

Variable declarations removed.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Declare
these functions to replace them.
(__isctype, tolower, toupper, _tolower, _toupper): Use those accessor
functions plus an indirection rather than the old global variables.
* include/ctype.h (__isctype, tolower, _tolower, toupper, _toupper):
Macros removed.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): New extern
inline functions.
* ctype/ctype-info.c: Revert last reversion back the other way.
Define tsd vars CTYPE_B, CTYPE_TOLOWER, CTYPE_TOUPPER.
Define real function versions of include/ctype.h inlines here.
* ctype/Versions (libc: GLIBC_2.3): Add __ctype_b_loc,
__ctype_tolower_loc, __ctype_toupper_loc.
* locale/lc-ctype.c: Revert last reversion back the other way.
(_nl_postload_ctype): If current thread uses the global locale,
update its tsd vars.
* locale/uselocale.c (__uselocale): Update tsd vars from new locale.
* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add CTYPE_B,
CTYPE_TOLOWER, CTYPE_TOUPPER.

* sysdeps/generic/bits/libc-tsd.h (__libc_tsd_address): New macro.
* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_address): Renamed
from __libc_tsd_threadvar_location.
(__libc_tsd_set, __libc_tsd_get): Update uses.

22 years ago2002-09-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 2 Sep 2002 07:08:20 +0000 (07:08 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/bits/libc-tsd.h (__libc_tsd_address): New macro.
(__libc_internal_tsd_address): Declare it.
* Versions (libc, ld, libpthread: GLIBC_PRIVATE): Add
__libc_internal_tsd_address.
* specific.c (libc_internal_tsd_address): New function.
(__libc_internal_tsd_address): New variable.
* no-tsd.c (__libc_internal_tsd_address): New variable.

22 years agoUpdate.
Ulrich Drepper [Sun, 1 Sep 2002 20:30:19 +0000 (20:30 +0000)]
Update.

* ctype/ctype.h: Undo the patch before the last one.  Put back the
macro definitions for the standard functions to access the
classification and mapping arrays.
* include/ctype.h: Partly revert last patch.  Move the macro
definitions for the exported functions back to the public header.
#undef all the macros defined here before redefining.
* ctype/ctype-info.c: Revert last patch.
* locale/lc-ctype.c: Revert last patch.

22 years agoUpdate.
Ulrich Drepper [Sun, 1 Sep 2002 18:27:42 +0000 (18:27 +0000)]
Update.

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

* ctype/Makefile (routines): Add isctype.
* ctype/Versions (libc): Export isctype and __isctype for GLIBC_2.3.
* ctype/ctype.h: Add declaration of isctype.
* include/ctype.h: Declare __isctype.
* ctype/isctype.c: New file.

22 years agoDeclare __isctype.
Ulrich Drepper [Sun, 1 Sep 2002 18:23:10 +0000 (18:23 +0000)]
Declare __isctype.

22 years ago* sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass
Roland McGrath [Sun, 1 Sep 2002 12:39:40 +0000 (12:39 +0000)]
* sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass

TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN instead of 0, 1.

* include/getopt.h: Include <features.h> before <posix/getopt.h>.

* locale/findlocale.c (_nl_remove_locale): Don't search in
_nl_locale_file_list if DATA->alloc is ld_archive.
Use _nl_unload_locale to do the rest of the work.

* locale/loadarchive.c (_nl_load_locale_from_archive): Set usage_count
of new structure to UNDELETABLE.

* wctype/wctype.h (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower,
iswgraph, iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank,
towlower, towupper): Macros removed.
* ctype/ctype.h (__tobody): Put parens around macro argument.
(__isctype): Macro removed.
(__ctype_b, __ctype_tolower, __ctype_toupper): Decls removed.
(isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
tolower, toupper): Macros and inlines removed.
* include/ctype.h [! NOT_IN_libc]
(isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
tolower, toupper): Define here instead, using _NL_CURRENT.
* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Define as macros
using _NL_CURRENT.
* ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Likewise.
* ctype/ctype-info.c (__ctype_b, __ctype_tolower, __ctype_toupper):
Renamed these to __ctype_old_*. Define old names only for SHLIB_COMPAT.
(__ctype32_b, __ctype32_tolower, __ctype32_toupper): Likewise.
(__ctype32_wctrans, __ctype32_wctrans, __ctype32_width): Removed.
* locale/lc-ctype.c (_nl_postload_ctype): Use renamed variables,
conditional on SHLIB_COMPAT.  Don't set removed variables at all.
* wctype/wcfuncs.c: Use _NL_CURRENT instead of those globals.
* wcsmbs/wcwidth.h (internal_wcwidth): Likewise.
* resolv/res_init.c [RESOLVSORT] (sort_mask): Renamed sort_mask_chars.
(ISSORTMASK): Update use.
* intl/localealias.c [__GNUC__]: #undef alloca before #define.
* nss/nss_files/files-XXX.c (last_use): Rename `none' to `nouse'.
(_nss_files_getENTNAME_r): Likewise.
* nss/nss_files/files-alias.c (last_use, _nss_files_getaliasent_r):
Likewise.

* Makerules (all-nonlib): Renamed from all-tests.
Include $(others) here too.
* locale/Makefile (CPPFLAGS-locale, CPPFLAGS-localedef,
CPPFLAGS-ld-ctype, CPPFLAGS-ld-time, CPPFLAGS-ld-numeric,
CPPFLAGS-ld-monetary, CPPFLAGS-ld-collate, CPPFLAGS-ld-identification,
CPPFLAGS-charmap, CPPFLAGS-locarchive, CPPFLAGS-linereader,
CPPFLAGS-charmap-dir): Variables removed.  Instead, catch all
the program modules via cppflags-iterator.mk.
* sunrpc/Makefile (CPPFLAGS-rpc_main): Variable removed.
Instead, catch all rpcgen-objs via cppflags-iterator.mk.

* posix/tst-getconf.sh: If no third arg, work with static linking.

22 years ago* locale/categories.def (LC_TIME): No more _nl_postload_time.
Roland McGrath [Sat, 31 Aug 2002 21:09:35 +0000 (21:09 +0000)]
* locale/categories.def (LC_TIME): No more _nl_postload_time.

* locale/setlocale.c (_nl_category_postload): Use weak refs only under
[_NL_CURRENT_INDIRECT].

22 years ago2002-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 31 Aug 2002 21:08:10 +0000 (21:08 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* locale/categories.def (LC_TIME): No more _nl_postload_time.

22 years agoUpdate.
Ulrich Drepper [Sat, 31 Aug 2002 20:27:15 +0000 (20:27 +0000)]
Update.

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

* time/tst-ftime_l.c (main): Also test strftime with uselocale.

errlist-compat.c if versioning==yes.

22 years ago(main): Also test strftime with uselocale.
Ulrich Drepper [Sat, 31 Aug 2002 20:15:31 +0000 (20:15 +0000)]
(main): Also test strftime with uselocale.

22 years ago* locale/newlocale.c (__newlocale): Don't use strdup for names.
Roland McGrath [Sat, 31 Aug 2002 20:08:18 +0000 (20:08 +0000)]
* locale/newlocale.c (__newlocale): Don't use strdup for names.

Instead, make the single allocation of the structure larger to hold
the name strings.
* locale/duplocale.c (__duplocale): Don't strdup names individually.
Instead, calculate size for a single allocation and copy into it.
* locale/freelocale.c (__freelocale): Don't free names individually.

22 years ago* locale/newlocale.c (__newlocale): Don't leak old data or names.
Roland McGrath [Sat, 31 Aug 2002 19:00:28 +0000 (19:00 +0000)]
* locale/newlocale.c (__newlocale): Don't leak old data or names.

* locale/xlocale.h (__locale_struct): Move __names member last,
for binary compatibility.

22 years ago2002-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 31 Aug 2002 19:00:15 +0000 (19:00 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* locale/newlocale.c (__newlocale): Don't leak old data or names.

22 years agoOnly depend on Versions.v.i for errlist-compat.c if versioning==yes.
Ulrich Drepper [Sat, 31 Aug 2002 18:44:55 +0000 (18:44 +0000)]
Only depend on Versions.v.i for errlist-compat.c if versioning==yes.

22 years ago* locale/duplocale.c (__duplocale): Free names from the right array.
Roland McGrath [Sat, 31 Aug 2002 18:29:52 +0000 (18:29 +0000)]
* locale/duplocale.c (__duplocale): Free names from the right array.

* locale/uselocale.c (__uselocale): Return previous locale when
setting a new one.

* locale/newlocale.c: Commit changes from 2002-08-30
batch where I failed to commit this file:
(__newlocale): Fill in __names array.

22 years ago2002-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 31 Aug 2002 18:28:32 +0000 (18:28 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* locale/newlocale.c: Commit changes from 2002-08-30
batch where I failed to commit this file.

22 years agoUpdate.
Ulrich Drepper [Sat, 31 Aug 2002 18:25:50 +0000 (18:25 +0000)]
Update.

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

* sysdeps/gnu/Makefile: Only depend on Versions.v.i for
errlist-compat.c if build-shared==yes.

22 years agoOnly depend on Versions.v.i for errlist-compat.c if build-shared==yes.
Ulrich Drepper [Sat, 31 Aug 2002 18:23:37 +0000 (18:23 +0000)]
Only depend on Versions.v.i for errlist-compat.c if build-shared==yes.

22 years agoUpdate.
Andreas Jaeger [Sat, 31 Aug 2002 17:45:33 +0000 (17:45 +0000)]
Update.

* sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Declare
external functions with hidden attribute.
(elf_machine_rela): Optimize.

* sysdeps/x86_64/memset.S: New file.
* sysdeps/x86_64/bzero.S: New file.
* sysdeps/x86_64/stpcpy.S: New file.
* sysdeps/x86_64/strcat.S: New file.
* sysdeps/x86_64/strchr.S: New file.
* sysdeps/x86_64/strcpy.S: New file.
* sysdeps/x86_64/strcspn.S: New file.
* sysdeps/x86_64/strlen.S: New file.
* sysdeps/x86_64/strpbrk.S: New file.
* sysdeps/x86_64/strspn.S: New file.
* sysdeps/x86_64/strcmp.S: New file.
* sysdeps/x86_64/strtok_r.S: New file.
* sysdeps/x86_64/strtok.S: New file.
* sysdeps/x86_64/memcpy.S: New file.
* sysdeps/x86_64/mempcpy.S: New file.

22 years agoUpdate.
Andreas Jaeger [Sat, 31 Aug 2002 10:33:26 +0000 (10:33 +0000)]
Update.

2002-08-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/fpu/s_copysign.S: Fix algorithm.

* sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for double tests.

22 years ago Add ulps for double tests.
Andreas Jaeger [Sat, 31 Aug 2002 10:32:59 +0000 (10:32 +0000)]
 Add ulps for double tests.

22 years agoUpdate.
Ulrich Drepper [Sat, 31 Aug 2002 09:43:13 +0000 (09:43 +0000)]
Update.

* stdio-common/Makefile (generated): Add errlist-compat.c.

* locale/Makefile (extra-objs): Add $(localedef-aux:=.o).

22 years agoUpdate.
Ulrich Drepper [Sat, 31 Aug 2002 09:26:42 +0000 (09:26 +0000)]
Update.

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

* locale/localeinfo.h: Pretty printing.

* stdio-common/vfprintf.c (vfprintf): Remove duplicate ifs in
form_number handling.

(__aux_init_cache): New function.
(__aux_init_cache): New function.
* locale/programs/locarchive.c (struct oldlocrecent): New type.
(oldlocrecentcmp): New function.
* sysdeps/x86_64/fpu/bits/mathinline.h: New file.
* sysdeps/x86_64/fpu/s_copysign.S: New file.
* sysdeps/x86_64/fpu/s_copysignf.S: New file.
* sysdeps/x86_64/fpu/s_copysignl.S: New file.
* sysdeps/x86_64/fpu/s_finitel.S: New file.
* sysdeps/x86_64/fpu/s_fmax.S: New file.
* sysdeps/x86_64/fpu/s_fmaxf.S: New file.
* sysdeps/x86_64/fpu/s_fmaxl.S: New file.
* sysdeps/x86_64/fpu/s_fmin.S: New file.
* sysdeps/x86_64/fpu/s_fminf.S: New file.
* sysdeps/x86_64/fpu/s_fminl.S: New file.
* locale/programs/locarchive.c (struct nameent, struct dataent): New
types.
* sysdeps/unix/sysv/linux/x86_64/sys/io.h: New file.
* sysdeps/x86_64/fpu/s_llrint.S: New file.
* sysdeps/x86_64/fpu/s_llrintf.S: New file.
* sysdeps/x86_64/fpu/s_llrintl.S: New file.
* sysdeps/x86_64/fpu/s_lrint.S: New file.
* sysdeps/x86_64/fpu/s_lrintf.S: New file.
* sysdeps/x86_64/fpu/s_lrintl.S: New file.
* sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New macro.
(CAUSE_SHIFT): New macro.
* sysdeps/sparc/sparc64/configure.in: New file.
* sysdeps/unix/sysv/linux/x86_64/readelflib.c: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/socket.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: New file.
* sysdeps/x86_64/bits/setjmp.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/sem.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/resource.h: New file.
* elf/tst-tls1.c: Move #include "tls-macros.h" inside #ifdef USE_TLS.
* sysdeps/unix/sysv/linux/mips/sys/user.h: New file.
* config.h.in (HAVE_BUILTIN_MEMSET): New macro.
* elf/dl-deps.c (_dl_build_local_scope): New function.
* elf/dl-lookup.c (_dl_debug_bindings): New function.
(elf_machine_rela, elf_machine_rela_relative): New functions.
(elf_machine_rela, elf_machine_rela_relative): New functions.
* elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New
functions.

22 years agoDon't use rule for crt%.o, spell it out as rules for crti.o and crtn.o.
Ulrich Drepper [Sat, 31 Aug 2002 08:47:35 +0000 (08:47 +0000)]
Don't use rule for crt%.o, spell it out as rules for crti.o and crtn.o.

22 years agoUpdate.
Andreas Jaeger [Sat, 31 Aug 2002 08:22:35 +0000 (08:22 +0000)]
Update.

* sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for float and long
double tests.

22 years agoUpdate.
Andreas Jaeger [Sat, 31 Aug 2002 08:06:48 +0000 (08:06 +0000)]
Update.

2002-08-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_routines): Add
__start_context.

* sysdeps/unix/sysv/linux/x86_64/__start_context.S: New file.

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

* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Add defines for
registers used for passing args.

* sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Save and restore
all needed registers.

* sysdeps/unix/sysv/linux/x86_64/setcontext.S: Restore all
registers.

* sysdeps/unix/sysv/linux/x86_64/getcontext.S: Save all needed
registers.

22 years agoLinux/x86-64 makecontext implementation.
Andreas Jaeger [Sat, 31 Aug 2002 08:04:45 +0000 (08:04 +0000)]
Linux/x86-64 makecontext implementation.

22 years ago* Makefile (extra-objs, omit-deps): Add crtn.
Roland McGrath [Sat, 31 Aug 2002 05:31:31 +0000 (05:31 +0000)]
* Makefile (extra-objs, omit-deps): Add crtn.

($(objpfx)libpthread.so): Depend on $(objpfx)crtn.o.
($(objpfx)libpthread.so: +postinit): Append $(objpfx)crtn.o.
($(objpfx)crtn.S): New target.
($(objpfx)crt%.o): Pattern rule replaces crti.o target.
(generated): Add crtn.S.

* sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage
crtn.o pathname too.

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

* sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage
crtn.o pathname too.

This page took 0.083557 seconds and 5 git commands to generate.