kopensolaris-gnu/glibc.git
18 years agoDefine _dl_tls_static_used.
drepper [Mon, 4 Nov 2002 07:12:14 +0000 (07:12 +0000)]
Define _dl_tls_static_used.

18 years agoUpdate.
drepper [Mon, 4 Nov 2002 07:01:23 +0000 (07:01 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Mon, 4 Nov 2002 06:58:34 +0000 (06:58 +0000)]
Update from translation team.

18 years agoUpdate.
drepper [Sun, 3 Nov 2002 08:52:36 +0000 (08:52 +0000)]
Update.

18 years agoLinux specific segfault handler implementation.
drepper [Sun, 3 Nov 2002 08:52:00 +0000 (08:52 +0000)]
Linux specific segfault handler implementation.

18 years ago(catch_segfault): If HAVE_PROC_SELF is defined write out memory map.
drepper [Sun, 3 Nov 2002 08:42:11 +0000 (08:42 +0000)]
(catch_segfault): If HAVE_PROC_SELF is defined write out memory map.

18 years ago.
roland [Sun, 3 Nov 2002 03:47:57 +0000 (03:47 +0000)]
.

18 years ago2002-11-02 Roland McGrath <roland@redhat.com>
roland [Sun, 3 Nov 2002 03:47:49 +0000 (03:47 +0000)]
2002-11-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use union type for
pointers that can alias.
Reported by Daniel Jacobowitz <drow@mvista.com>.

18 years ago.
roland [Sun, 3 Nov 2002 01:21:23 +0000 (01:21 +0000)]
.

18 years ago2002-11-02 Roland McGrath <roland@redhat.com>
roland [Sun, 3 Nov 2002 01:21:17 +0000 (01:21 +0000)]
2002-11-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: New file.

18 years ago2002-10-18 Bruno Haible <bruno@clisp.org>
roland [Sun, 3 Nov 2002 01:21:08 +0000 (01:21 +0000)]
2002-10-18  Bruno Haible  <bruno@clisp.org>

* charmaps/KOI8-T: Correct a typo.
* charmaps/CP1256: Use official Unicode character names.
* charmaps/EUC-JP: Likewise.
* charmaps/GBK: Likewise.
* charmaps/ISO-8859-11: Likewise.
* charmaps/KOI8-U: Likewise.
* charmaps/MAC-SAMI: Likewise.
* charmaps/TIS-620: Likewise.
* charmaps/CP949: Likewise. Use Hangul syllable names according to
Unicode 3.0 book, section 3.11.
* charmaps/EUC-KR: Likewise.
* charmaps/JOHAB: Likewise.

18 years ago.
roland [Sun, 3 Nov 2002 00:59:09 +0000 (00:59 +0000)]
.

18 years ago2002-10-30 Jakub Jelinek <jakub@redhat.com>
roland [Sun, 3 Nov 2002 00:59:06 +0000 (00:59 +0000)]
2002-10-30  Jakub Jelinek  <jakub@redhat.com>

* posix/regexec.c (build_trtable): Alloca or malloc dests_node and
dests_ch arrays together.  Alloca or malloc dest_states,
dest_states_word and dest_states_nl arrays together.  Free memory on
error exit.

18 years ago2002-11-02 Roland McGrath <roland@redhat.com>
roland [Sun, 3 Nov 2002 00:59:03 +0000 (00:59 +0000)]
2002-11-02  Roland McGrath  <roland@redhat.com>

* manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r
description to be clearer and to say that *RESULT is set to ENTRY.

18 years ago2002-10-29 Daniel Jacobowitz <drow@mvista.com>
roland [Sun, 3 Nov 2002 00:58:59 +0000 (00:58 +0000)]
2002-10-29  Daniel Jacobowitz  <drow@mvista.com>

* crypt/crypt_util.c (__init_des_r): Initialize current_salt
and current_saltbits.

18 years ago.
roland [Sun, 3 Nov 2002 00:16:49 +0000 (00:16 +0000)]
.

18 years ago2002-11-02 Roland McGrath <roland@redhat.com>
roland [Sun, 3 Nov 2002 00:16:45 +0000 (00:16 +0000)]
2002-11-02  Roland McGrath  <roland@redhat.com>

* stdio-common/reg-printf.c: Include <stdlib.h>.

18 years ago.
roland [Sat, 2 Nov 2002 23:13:20 +0000 (23:13 +0000)]
.

18 years ago2002-11-02 H.J. Lu <hjl@gnu.org>
roland [Sat, 2 Nov 2002 23:13:16 +0000 (23:13 +0000)]
2002-11-02  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
caller to EXTRA instead of execve.

18 years ago.
roland [Sat, 2 Nov 2002 01:53:44 +0000 (01:53 +0000)]
.

18 years ago2002-11-01 Roland McGrath <roland@redhat.com>
roland [Sat, 2 Nov 2002 01:53:37 +0000 (01:53 +0000)]
2002-11-01  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional
in place of [!(USE_TLS && HAVE___THREAD)].
(__errno_location) [! USE___THREAD]: Define as strong, not weak.

18 years ago.
roland [Fri, 1 Nov 2002 21:49:33 +0000 (21:49 +0000)]
.

18 years ago2002-10-31 Roger Sayle <roger@eyesopen.com>
roland [Fri, 1 Nov 2002 21:49:28 +0000 (21:49 +0000)]
2002-10-31  Roger Sayle  <roger@eyesopen.com>

* sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q):
New macros.
* sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.

18 years ago2002-10-31 Roger Sayle <roger@eyesopen.com>
roland [Fri, 1 Nov 2002 21:49:27 +0000 (21:49 +0000)]
2002-10-31  Roger Sayle  <roger@eyesopen.com>

* soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST
without defining FP_ROUNDMODE.

18 years ago.
roland [Fri, 1 Nov 2002 20:48:37 +0000 (20:48 +0000)]
.

18 years ago2002-10-29 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 1 Nov 2002 20:48:33 +0000 (20:48 +0000)]
2002-10-29  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
(__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
declare_symbol.
* sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
(OLD_SIGLIST_SIZE): Define.
* sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
(OLD_SIGLIST_SIZE): Define.
* sysdeps/unix/sysv/linux/arm/siglist.c: Remove.

18 years ago.
roland [Fri, 1 Nov 2002 20:46:53 +0000 (20:46 +0000)]
.

18 years ago2002-11-01 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 1 Nov 2002 20:46:48 +0000 (20:46 +0000)]
2002-11-01  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/strncpy.S: Fix recovery code.

18 years ago.
roland [Fri, 1 Nov 2002 20:44:15 +0000 (20:44 +0000)]
.

18 years ago2002-10-30 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 1 Nov 2002 20:43:58 +0000 (20:43 +0000)]
2002-10-30  Jakub Jelinek  <jakub@redhat.com>

* include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
New macros.
* elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
text_set_element.
* elf/dl-libc.c (free_mem): Likewise.
* iconv/gconv_conf.c (free_mem): Likewise.
* iconv/gconv_db.c (free_mem): Likewise.
* iconv/gconv_dl.c (free_mem): Likewise.
* iconv/gconv_cache.c (free_mem): Likewise.
* intl/finddomain.c (free_mem): Likewise.
* intl/dcigettext.c (free_mem): Likewise.
* locale/setlocale.c (free_mem): Likewise.
* misc/fstab.c (fstab_free): Likewise.
* nss/nsswitch.c (free_mem): Likewise.
* posix/regcomp.c (free_mem): Likewise.
* resolv/gai_misc.c (free_res): Likewise.
* stdlib/fmtmsg.c (free_mem): Likewise.
* sunrpc/clnt_perr.c (free_mem): Likewise.
* sysdeps/generic/setenv.c (free_mem): Likewise.
* sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
* sysdeps/pthread/aio_misc.c (free_res): Likewise.
* time/tzset.c (free_mem): Likewise.
* malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
* locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
* malloc/set-freeres.c (__libc_freeres): Likewise.
2002-10-25  Jakub Jelinek  <jakub@redhat.com>

* include/libc-symbols.h (libc_freeres_ptr): New macro.
* malloc/set-freeres.c (__libc_freeres_ptrs): Define using
symbol_set_define.
(__libc_freeres): Free all pointers in that section.
* Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed
commands when creating .lds script.
(LDSEDCMD-c.so): New variable.
* inet/rcmd.c (ahostbuf): Change into char *.  Add libc_freeres_ptr.
(rcmd_af): Use strdup to allocate ahostbuf.
* inet/rexec.c (ahostbuf): Change into char *.  Add libc_freeres_ptr.
(rexec_af): Use strdup to allocate ahostbuf.
* stdio-common/reg-printf.c (printf_funcs): Remove.
(__printf_arginfo_table): Change into printf_arginfo_function **.
Add libc_freeres_ptr.
(__register_printf_function): Allocate __printf_arginfo_table
and __printf_function_table the first time it is called.
* stdio-common/printf-parse.h (__printf_arginfo_table): Change into
printf_arginfo_function **.
(parse_one_spec): Add __builtin_expect.
* grp/fgetgrent.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* inet/getnetgrent.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* intl/localealias.c (libc_freeres_ptr): Define if !_LIBC.
(string_space, map): Add libc_freeres_ptr.
(free_mem): Remove.
* misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr.
(free_mem): Remove.
* misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC.
(buffer): Add libc_freeres_ptr.
(free_mem): Remove for _LIBC.
* nss/getXXbyYY.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* nss/getXXent.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr.
(free_mem): Remove.
* shadow/fgetspent.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr.
(free_mem): Remove.
* sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add
libc_freeres_ptr.
(free_mem): Remove.
* sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
libc_freeres_ptr.
(free_mem): Remove.

18 years ago2002-10-30 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 1 Nov 2002 20:43:53 +0000 (20:43 +0000)]
2002-10-30  Jakub Jelinek  <jakub@redhat.com>

* include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
New macros.
* elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
text_set_element.
* elf/dl-libc.c (free_mem): Likewise.
* iconv/gconv_conf.c (free_mem): Likewise.
* iconv/gconv_db.c (free_mem): Likewise.
* iconv/gconv_dl.c (free_mem): Likewise.
* iconv/gconv_cache.c (free_mem): Likewise.
* intl/finddomain.c (free_mem): Likewise.
* intl/dcigettext.c (free_mem): Likewise.
* locale/setlocale.c (free_mem): Likewise.
* misc/fstab.c (fstab_free): Likewise.
* nss/nsswitch.c (free_mem): Likewise.
* posix/regcomp.c (free_mem): Likewise.
* resolv/gai_misc.c (free_res): Likewise.
* stdlib/fmtmsg.c (free_mem): Likewise.
* sunrpc/clnt_perr.c (free_mem): Likewise.
* sysdeps/generic/setenv.c (free_mem): Likewise.
* sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
* sysdeps/pthread/aio_misc.c (free_res): Likewise.
* time/tzset.c (free_mem): Likewise.
* malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
* locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
* malloc/set-freeres.c (__libc_freeres): Likewise.

18 years ago2002-10-30 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 1 Nov 2002 20:43:44 +0000 (20:43 +0000)]
2002-10-30  Jakub Jelinek  <jakub@redhat.com>

* login/getutent.c: Include stdlib.h instead of stddef.h.
(buffer): Change into pointer to utmp, add libc_freeres_ptr.
(__getutent): Allocate buffer the first time it is run.
* login/getutid.c: Include stdlib.h instead of stddef.h.
(buffer): Change into pointer to utmp, add libc_freeres_ptr.
(__getutid): Allocate buffer the first time it is run.
* login/getutline.c: Include stdlib.h instead of stddef.h.
(buffer): Change into pointer to utmp, add libc_freeres_ptr.
(__getutline): Allocate buffer the first time it is run.
* malloc/mtrace.c (malloc_trace_buffer): Change into char *.
(mtrace): Allocate malloc_trace_buffer.
* resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf.
* resolv/ns_print.c (ns_sprintrrf): Decrease size of t.
* string/strerror.c: Include libintl.h and errno.h.
(buf): New variable.
(strerror): Only allocate buffer if actually needed (unknown error).
* time/tzfile.c (transitions): Add libc_freeres_ptr.
(freeres): Remove.

18 years ago2002-10-30 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 1 Nov 2002 20:43:42 +0000 (20:43 +0000)]
2002-10-30  Jakub Jelinek  <jakub@redhat.com>

* include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
New macros.
* elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
text_set_element.
* elf/dl-libc.c (free_mem): Likewise.
* iconv/gconv_conf.c (free_mem): Likewise.
* iconv/gconv_db.c (free_mem): Likewise.
* iconv/gconv_dl.c (free_mem): Likewise.
* iconv/gconv_cache.c (free_mem): Likewise.
* intl/finddomain.c (free_mem): Likewise.
* intl/dcigettext.c (free_mem): Likewise.
* locale/setlocale.c (free_mem): Likewise.
* misc/fstab.c (fstab_free): Likewise.
* nss/nsswitch.c (free_mem): Likewise.
* posix/regcomp.c (free_mem): Likewise.
* resolv/gai_misc.c (free_res): Likewise.
* stdlib/fmtmsg.c (free_mem): Likewise.
* sunrpc/clnt_perr.c (free_mem): Likewise.
* sysdeps/generic/setenv.c (free_mem): Likewise.
* sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
* sysdeps/pthread/aio_misc.c (free_res): Likewise.
* time/tzset.c (free_mem): Likewise.
* malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
* locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
* malloc/set-freeres.c (__libc_freeres): Likewise.
* login/getutent.c: Include stdlib.h instead of stddef.h.
(buffer): Change into pointer to utmp, add libc_freeres_ptr.
(__getutent): Allocate buffer the first time it is run.
* login/getutid.c: Include stdlib.h instead of stddef.h.
(buffer): Change into pointer to utmp, add libc_freeres_ptr.
(__getutid): Allocate buffer the first time it is run.
* login/getutline.c: Include stdlib.h instead of stddef.h.
(buffer): Change into pointer to utmp, add libc_freeres_ptr.
(__getutline): Allocate buffer the first time it is run.
* malloc/mtrace.c (malloc_trace_buffer): Change into char *.
(mtrace): Allocate malloc_trace_buffer.
* resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf.
* resolv/ns_print.c (ns_sprintrrf): Decrease size of t.
* string/strerror.c: Include libintl.h and errno.h.
(buf): New variable.
(strerror): Only allocate buffer if actually needed (unknown error).
* time/tzfile.c (transitions): Add libc_freeres_ptr.
(freeres): Remove.

18 years ago2002-10-25 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 1 Nov 2002 20:43:37 +0000 (20:43 +0000)]
2002-10-25  Jakub Jelinek  <jakub@redhat.com>

* include/libc-symbols.h (libc_freeres_ptr): New macro.
* malloc/set-freeres.c (__libc_freeres_ptrs): Define using
symbol_set_define.
(__libc_freeres): Free all pointers in that section.
* Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed
commands when creating .lds script.
(LDSEDCMD-c.so): New variable.
* inet/rcmd.c (ahostbuf): Change into char *.  Add libc_freeres_ptr.
(rcmd_af): Use strdup to allocate ahostbuf.
* inet/rexec.c (ahostbuf): Change into char *.  Add libc_freeres_ptr.
(rexec_af): Use strdup to allocate ahostbuf.
* stdio-common/reg-printf.c (printf_funcs): Remove.
(__printf_arginfo_table): Change into printf_arginfo_function **.
Add libc_freeres_ptr.
(__register_printf_function): Allocate __printf_arginfo_table
and __printf_function_table the first time it is called.
* stdio-common/printf-parse.h (__printf_arginfo_table): Change into
printf_arginfo_function **.
(parse_one_spec): Add __builtin_expect.
* grp/fgetgrent.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* inet/getnetgrent.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* intl/localealias.c (libc_freeres_ptr): Define if !_LIBC.
(string_space, map): Add libc_freeres_ptr.
(free_mem): Remove.
* misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr.
(free_mem): Remove.
* misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC.
(buffer): Add libc_freeres_ptr.
(free_mem): Remove for _LIBC.
* nss/getXXbyYY.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* nss/getXXent.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr.
(free_mem): Remove.
* shadow/fgetspent.c (buffer): Add libc_freeres_ptr.
(free_mem): Remove.
* sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr.
(free_mem): Remove.
* sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add
libc_freeres_ptr.
(free_mem): Remove.
* sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
libc_freeres_ptr.
(free_mem): Remove.

18 years ago2002-10-30 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 1 Nov 2002 20:43:32 +0000 (20:43 +0000)]
2002-10-30  Jakub Jelinek  <jakub@redhat.com>

* malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias
instead of duplicating the whole function in libc.

18 years ago.
roland [Fri, 1 Nov 2002 04:12:30 +0000 (04:12 +0000)]
.

18 years ago2002-10-31 Roland McGrath <roland@redhat.com>
roland [Fri, 1 Nov 2002 04:12:25 +0000 (04:12 +0000)]
2002-10-31  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32):
Renamed from __bswap_16 (typo fix).  Reported by <dens@stl.sarov.ru>.

18 years ago.
aj [Wed, 30 Oct 2002 18:25:37 +0000 (18:25 +0000)]
.

18 years ago * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each
aj [Wed, 30 Oct 2002 18:25:25 +0000 (18:25 +0000)]
* sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each
32bit-predefine when creating .new32 list and -U for each
32bit-predefine when creating .new64 list.
* sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New.

18 years ago.
schwab [Tue, 29 Oct 2002 12:15:08 +0000 (12:15 +0000)]
.

18 years agoInclude <testrtsig.h>, not "testrtsig.h".
schwab [Tue, 29 Oct 2002 12:14:53 +0000 (12:14 +0000)]
Include <testrtsig.h>, not "testrtsig.h".

18 years ago.
roland [Sat, 26 Oct 2002 01:06:33 +0000 (01:06 +0000)]
.

18 years ago2002-10-25 Roland McGrath <roland@redhat.com>
roland [Sat, 26 Oct 2002 01:06:29 +0000 (01:06 +0000)]
2002-10-25  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/configure.in: Fix typo in last change.
* sysdeps/unix/sysv/linux/configure: Regenerated.

18 years ago.
roland [Sat, 26 Oct 2002 01:04:06 +0000 (01:04 +0000)]
.

18 years ago2002-10-25 Roland McGrath <roland@redhat.com>
roland [Sat, 26 Oct 2002 01:03:59 +0000 (01:03 +0000)]
2002-10-25  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from
_dl_starting_up decl.

18 years ago.
roland [Fri, 25 Oct 2002 23:38:23 +0000 (23:38 +0000)]
.

18 years ago2002-10-20 H.J. Lu <hjl@gnu.org>
roland [Fri, 25 Oct 2002 23:38:18 +0000 (23:38 +0000)]
2002-10-20  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/configure.in: Don't check
/lib/modules/`uname -r`/build/include for kernel headers if
cross compiling.
* sysdeps/unix/sysv/linux/configure: Regenerated.

18 years ago.
roland [Fri, 25 Oct 2002 19:45:33 +0000 (19:45 +0000)]
.

18 years ago.
roland [Fri, 25 Oct 2002 19:45:27 +0000 (19:45 +0000)]
.

18 years ago2002-10-25 Roland McGrath <roland@redhat.com>
roland [Fri, 25 Oct 2002 19:45:22 +0000 (19:45 +0000)]
2002-10-25  Roland McGrath  <roland@redhat.com>

* math/math.h (M_LOG2El): Correct the value.
From Stephen L Moshier <steve@moshier.net>.

18 years ago.
roland [Fri, 25 Oct 2002 19:41:31 +0000 (19:41 +0000)]
.

18 years ago2002-10-25 Roland McGrath <roland@redhat.com>
roland [Fri, 25 Oct 2002 19:41:24 +0000 (19:41 +0000)]
2002-10-25  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
conditional from __libc_multiple_libcs access.  Remove kludge for weak
symbol access with old compilers we no longer support.
* sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
* sysdeps/generic/libc-start.c (__libc_start_main): Likewise.

18 years ago.
roland [Fri, 25 Oct 2002 19:15:57 +0000 (19:15 +0000)]
.

18 years ago2002-10-25 Roland McGrath <roland@redhat.com>
roland [Fri, 25 Oct 2002 19:15:51 +0000 (19:15 +0000)]
2002-10-25  Roland McGrath  <roland@redhat.com>

* sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and
implement SV_RESETHAND by translating it to SA_RESETHAND.

18 years agoUpdate.
drepper [Fri, 25 Oct 2002 07:54:26 +0000 (07:54 +0000)]
Update.

18 years ago(_dl_reloc_bad_use): Print the full 32-bit relocation type on ELF64 platforms.
drepper [Fri, 25 Oct 2002 07:53:40 +0000 (07:53 +0000)]
(_dl_reloc_bad_use): Print the full 32-bit relocation type on ELF64 platforms.

18 years agoUpdate.
drepper [Thu, 24 Oct 2002 23:33:28 +0000 (23:33 +0000)]
Update.

18 years ago(R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF.
drepper [Thu, 24 Oct 2002 23:32:35 +0000 (23:32 +0000)]
(R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF.

18 years agoUpdate.
drepper [Thu, 24 Oct 2002 23:06:13 +0000 (23:06 +0000)]
Update.

18 years agoDefine ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT.
drepper [Thu, 24 Oct 2002 23:05:02 +0000 (23:05 +0000)]
Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT.

18 years ago.
roland [Thu, 24 Oct 2002 19:14:59 +0000 (19:14 +0000)]
.

18 years ago2002-10-24 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 24 Oct 2002 19:13:51 +0000 (19:13 +0000)]
2002-10-24  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-misc.c: Include <sysdep.h>.
(_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up.

18 years ago2002-10-24 Roland McGrath <roland@redhat.com>
roland [Thu, 24 Oct 2002 19:13:37 +0000 (19:13 +0000)]
2002-10-24  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
* sysdeps/unix/sysv/linux/init-first.c: Not here.
* sysdeps/powerpc/elf/libc-start.c: Or here.
* sysdeps/unix/sysv/aix/libc-start.c: Or here.
* sysdeps/unix/sysv/aix/start-libc.c: Or here.
* sysdeps/unix/sysv/aix/init-first.c: Or here.
* sysdeps/generic/libc-start.c: Or here.
* sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
access with [! SHARED].
* sysdeps/unix/sysv/aix/init-first.c (init): Likewise.

18 years ago.
roland [Thu, 24 Oct 2002 18:49:00 +0000 (18:49 +0000)]
.

18 years ago2002-10-24 Roland McGrath <roland@redhat.com>
roland [Thu, 24 Oct 2002 18:48:54 +0000 (18:48 +0000)]
2002-10-24  Roland McGrath  <roland@redhat.com>

* libio/bug-wfflush.c: New file.
* libio/Makefile (tests): Add bug-wfflush.

18 years ago2002-10-24 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 24 Oct 2002 18:48:43 +0000 (18:48 +0000)]
2002-10-24  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL,
INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
(INLINE_SYSCALL): Use that.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL,
INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
(INLINE_SYSCALL): Use that.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL,
INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
(INLINE_SYSCALL): Use that.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include
dl-sysdep.h.
(SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
(__INTERNAL_SYSCALL_STRING): Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
dl-sysdep.h.
(SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
(__INTERNAL_SYSCALL_STRING): Define.
* sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass
__SYSCALL_STRING to inline_syscall*.
(INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
New macros.
(inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3,
inline_syscall4, inline_syscall5, inline_syscall6): Add string
argument.

18 years ago.
roland [Thu, 24 Oct 2002 01:15:37 +0000 (01:15 +0000)]
.

18 years ago2002-10-23 Roland McGrath <roland@redhat.com>
roland [Thu, 24 Oct 2002 01:15:31 +0000 (01:15 +0000)]
2002-10-23  Roland McGrath  <roland@redhat.com>

* stdio-common/tst-fphex.c: New file.
* stdio-common/Makefile (tests): Add tst-fphex.
* sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization
of WNUMEND.  Fix counting of decimal point in WIDTH.  Print '0' pad
chars always before the value digits.
Reported by James Antill <james.antill@redhat.com>.

18 years ago.
roland [Thu, 24 Oct 2002 00:22:27 +0000 (00:22 +0000)]
.

18 years ago2002-10-24 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 24 Oct 2002 00:22:22 +0000 (00:22 +0000)]
2002-10-24  Jakub Jelinek  <jakub@redhat.com>

* posix/regcomp.c (re_comp): Call __regfree on re_comp_buf.
(free_mem): New function.
* posix/Makefile (tests): Add bug-regex14.  Add bug-regex14-mem
if not cross compiling.
(generated): Add bug-regex14-mem and bug-regex14.mtrace.
(bug-regex14-ENV): Set.
(bug-regex14-mem): New target.
* posix/bug-regex14.c: New file.

18 years ago2002-10-23 Roland McGrath <roland@redhat.com>
roland [Thu, 24 Oct 2002 00:20:38 +0000 (00:20 +0000)]
2002-10-23  Roland McGrath  <roland@redhat.com>

* elf/Makefile ($(objpfx)librtld.map): Use temporary file for output
target, so we don't touch it when the link fails.

18 years ago.
roland [Wed, 23 Oct 2002 23:50:19 +0000 (23:50 +0000)]
.

18 years ago2002-10-23 Roland McGrath <roland@redhat.com>
roland [Wed, 23 Oct 2002 23:50:14 +0000 (23:50 +0000)]
2002-10-23  Roland McGrath  <roland@redhat.com>

* libio/ftello.c (ftello): Use _IO_off64_t for type of POS.
Check for the result overflowing off_t and fail with EOVERFLOW.
* libio/ioftell.c (_IO_ftell): Likewise.
* libio/iofgetpos.c (_IO_new_fgetpos): Likewise.

18 years ago2002-10-23 Roland McGrath <roland@redhat.com>
roland [Wed, 23 Oct 2002 23:49:21 +0000 (23:49 +0000)]
2002-10-23  Roland McGrath  <roland@redhat.com>

* login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval,
use a temporary timeval on the stack for gettimeofday and copy it.
* login/logout.c (logout): Likewise.
Reported by Steven Munroe <sjmunroe@us.ibm.com>.

18 years ago2002-10-23 Roland McGrath <roland@redhat.com>
roland [Wed, 23 Oct 2002 23:49:00 +0000 (23:49 +0000)]
2002-10-23  Roland McGrath  <roland@redhat.com>

* sysvipc/Makefile (headers): Add bits/ipctypes.h here.
* sysdeps/generic/bits/ipctypes.h: New file.
* sysdeps/mips/bits/ipctypes.h: New file.
* sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
* sysdeps/gnu/bits/msq.h: Likewise.
* sysvipc/sys/ipc.h: Likewise.

18 years ago2002-10-23 Roland McGrath <roland@redhat.com>
roland [Wed, 23 Oct 2002 23:48:58 +0000 (23:48 +0000)]
2002-10-23  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
* sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
(ST_NODIRATIME): Restore fixed value of 2048.
* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.

18 years ago2002-10-23 Roland McGrath <roland@redhat.com>
roland [Wed, 23 Oct 2002 23:48:54 +0000 (23:48 +0000)]
2002-10-23  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
Use __SWORD_TYPE instead of int for member types.
(struct statfs64): Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
* sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
* sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.

18 years ago2002-10-23 Roland McGrath <roland@redhat.com>
roland [Wed, 23 Oct 2002 23:48:45 +0000 (23:48 +0000)]
2002-10-23  Roland McGrath  <roland@redhat.com>

Rearranged <bits/types.h> definitions to reduce duplication.
* sysdeps/generic/bits/types.h: Rewritten, using macros from
<bits/wordsize.h> and new header <bits/typesizes.h>.
* posix/Makefile (headers): Add bits/typesizes.h here.
* sysdeps/generic/bits/typesizes.h: New file.
* sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
* sysdeps/mach/hurd/bits/typesizes.h: New file.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
* posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
<bits/pthreadtypes.h> here, not in <bits/types.h>.
* signal/signal.h: Likewise.

18 years ago2002-10-23 Roland McGrath <roland@redhat.com>
roland [Wed, 23 Oct 2002 23:48:41 +0000 (23:48 +0000)]
2002-10-23  Roland McGrath  <roland@redhat.com>

* streams/stropts.h: Include <bits/xtitypes.h>.
* streams/Makefile (headers): Add bits/xtitypes.h here.
* sysdeps/generic/bits/xtitypes.h: New file.
* sysdeps/s390/bits/xtitypes.h: New file.
* sysdeps/ia64/bits/xtitypes.h: New file.
* sysdeps/x86_64/bits/xtitypes.h: New file.

18 years agoUpdate.
drepper [Wed, 23 Oct 2002 06:19:14 +0000 (06:19 +0000)]
Update.

18 years ago(struct filebuf): For buf element to have the alignment of ElfXX_Ehdr
drepper [Wed, 23 Oct 2002 06:18:24 +0000 (06:18 +0000)]
(struct filebuf): For buf element to have the alignment of ElfXX_Ehdr
since this is what will be stored in it.

18 years ago.
roland [Tue, 22 Oct 2002 16:11:43 +0000 (16:11 +0000)]
.

18 years ago2002-10-22 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 22 Oct 2002 16:11:37 +0000 (16:11 +0000)]
2002-10-22  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/locarchive.c (add_alias): Change locrec_offset arg
into pointer to locrec_offset.
(add_locale_to_archive): Adjust callers.  Free normalized_name right
before returning, not immediately after add_locale, pass it to
add_alias if not NULL instead of name.  Rename second normalized_name
occurence to nnormalized_codeset_name.

18 years ago.
roland [Tue, 22 Oct 2002 16:08:30 +0000 (16:08 +0000)]
.

18 years ago2002-10-22 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 22 Oct 2002 16:08:23 +0000 (16:08 +0000)]
2002-10-22  Jakub Jelinek  <jakub@redhat.com>

* manager.c (pthread_start_thread): Call __uselocale even
if [! SHARED].  Patch by Leon Kanter <leon@geon.donetsk.ua>.

18 years ago.
roland [Tue, 22 Oct 2002 16:07:15 +0000 (16:07 +0000)]
.

18 years ago2002-10-21 Andreas Schwab <schwab@suse.de>
roland [Tue, 22 Oct 2002 16:07:06 +0000 (16:07 +0000)]
2002-10-21  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set
caller to EXTRA instead of execve, since the latter has a
higher-priority implementation in linuxthreads.

18 years ago.
roland [Tue, 22 Oct 2002 15:50:12 +0000 (15:50 +0000)]
.

18 years ago2002-10-22 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 22 Oct 2002 15:50:06 +0000 (15:50 +0000)]
2002-10-22  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/locarchive.c (enlarge_archive): Make sure
string_size is always a multiple of 4.
Reported by Andreas Schwab <schwab@suse.de>.

18 years ago.
roland [Tue, 22 Oct 2002 06:22:53 +0000 (06:22 +0000)]
.

18 years ago2002-10-21 Roland McGrath <roland@redhat.com>
roland [Tue, 22 Oct 2002 06:22:44 +0000 (06:22 +0000)]
2002-10-21  Roland McGrath  <roland@redhat.com>

* elf/dl-open.c (dl_open_worker): Fix loop searching for
dtv_slotinfo_list element containing new modules' l_tls_modid.

18 years ago2002-10-21 Roland McGrath <roland@redhat.com>
roland [Tue, 22 Oct 2002 06:22:42 +0000 (06:22 +0000)]
2002-10-21  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static
slotinfo list's len member to the proper size, not just 1.
Initialize static_map.l_tls_initimage.

18 years ago2002-10-21 Roland McGrath <roland@redhat.com>
roland [Tue, 22 Oct 2002 06:22:40 +0000 (06:22 +0000)]
2002-10-21  Roland McGrath  <roland@redhat.com>

* elf/dl-close.c (remove_slotinfo): Remove an assert; the number of
modids used by partially loaded modules being closed can't be known.

18 years ago2002-10-21 Roland McGrath <roland@redhat.com>
roland [Tue, 22 Oct 2002 06:22:38 +0000 (06:22 +0000)]
2002-10-21  Roland McGrath  <roland@redhat.com>

* elf/tst-tls9.c, elf/tst-tls9-static.c: New files.
* elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files.
* elf/Makefile (tests): Add tst-tls9.
(tests-static): Add tst-tls9-static.
(tst-tls9-static-ENV): New variable.
($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets.

18 years agoUpdate.
drepper [Mon, 21 Oct 2002 18:19:01 +0000 (18:19 +0000)]
Update.

18 years ago(peek_token_bracket): Skip the byte already read.
drepper [Mon, 21 Oct 2002 18:17:15 +0000 (18:17 +0000)]
(peek_token_bracket): Skip the byte already read.

18 years agoTest case for the bug reported by Aharon Robbins <arnold@skeeve.com>.
drepper [Mon, 21 Oct 2002 18:16:31 +0000 (18:16 +0000)]
Test case for the bug reported by Aharon Robbins <arnold@skeeve.com>.

18 years agoAdd a test case for the bug reported by Aharon Robbins <arnold@skeeve.com>.
drepper [Mon, 21 Oct 2002 18:15:24 +0000 (18:15 +0000)]
Add a test case for the bug reported by Aharon Robbins <arnold@skeeve.com>.

18 years agoPretty printing.
drepper [Mon, 21 Oct 2002 17:55:08 +0000 (17:55 +0000)]
Pretty printing.

18 years ago.
roland [Sun, 20 Oct 2002 00:21:33 +0000 (00:21 +0000)]
.