platform/upstream/glibc.git
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.

22 years agoUpdate.
Ulrich Drepper [Sat, 31 Aug 2002 04:30:45 +0000 (04:30 +0000)]
Update.

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

* elf/dynamic-link.h (elf_get_dynamic_info): Mark with
always_inline attribute.

22 years ago(elf_get_dynamic_info): Mark with always_inline attribute.
Ulrich Drepper [Sat, 31 Aug 2002 04:09:05 +0000 (04:09 +0000)]
(elf_get_dynamic_info): Mark with always_inline attribute.

22 years ago* stdlib/tst-setcontext.c (main): If makecontext does nothing,
Roland McGrath [Sat, 31 Aug 2002 03:21:56 +0000 (03:21 +0000)]
* stdlib/tst-setcontext.c (main): If makecontext does nothing,

presume it's the stub and bail without error.

22 years ago* nss/getnssent_r.c (__nss_getent_r): Return ENOENT if status is
Roland McGrath [Sat, 31 Aug 2002 00:02:18 +0000 (00:02 +0000)]
* nss/getnssent_r.c (__nss_getent_r): Return ENOENT if status is

neither SUCCESS nor TRYAGAIN (see 2002-08-25 change [PR libc/4259]).

* nss/getnssent_r.c (__nss_getent_r): Set *H_ERRNOP, not global one.

22 years ago* sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW, HP_TIMING_ACCUM): New
Roland McGrath [Fri, 30 Aug 2002 23:09:46 +0000 (23:09 +0000)]
* sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW, HP_TIMING_ACCUM): New

macros replace the i686 versions for 64-bit mode.

22 years ago* locale/duplocale.c: Include <string.h>.
Roland McGrath [Fri, 30 Aug 2002 22:07:28 +0000 (22:07 +0000)]
* locale/duplocale.c: Include <string.h>.

22 years ago* intl/dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY.
Roland McGrath [Fri, 30 Aug 2002 19:36:12 +0000 (19:36 +0000)]
* intl/dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY.

[_LIBC] (category_to_name): Don't define the function.  Instead
define a macro using _nl_category_names.

22 years ago* locale/xlocale.h (struct __locale_struct): New member `__names'.
Roland McGrath [Fri, 30 Aug 2002 10:36:44 +0000 (10:36 +0000)]
* locale/xlocale.h (struct __locale_struct): New member `__names'.

* locale/xlocale.c (_nl_C_locobj): Update initializer.
* locale/global-locale.c (_nl_global_locale): Likewise.
* locale/duplocale.c (__duplocale): strdup __names elements.
* locale/freelocale.c (__freelocale): Free __names elements.
* locale/localename.c (_nl_current_names): Variable removed.
(__current_locale_name): Use _NL_CURRENT_LOCALE->__names instead.
* locale/localeinfo.h (_nl_current_names): Removed decl.
* locale/setlocale.c: Use _nl_global_locale->__names in place of
_nl_current_names throughout.

* locale/setlocale.c (setlocale): strdup -> __strdup (not ISO C).

* sysdeps/gnu/errlist-compat.awk: Emit link_warnings for sys_errlist
and sys_nerr in the output file.

* sunrpc/Makefile (rpcgen-cmd): Pass CPP in rpcgen's environment.
* scripts/cpp: Just use the environment variable.

* libio/tst-mmap-setvbuf.c (main): Use 'm' fopen flag.
* libio/tst-mmap-offend.c (do_test): Likewise.
* libio/tst-mmap-fflushsync.c (do_test): Likewise.
* libio/tst-mmap-eofsync.c (do_test): Likewise.
* libio/tst-mmap2-eofsync.c (do_test): Likewise.

22 years ago* locale/localename.c: If the current locale is the global locale, use
Roland McGrath [Fri, 30 Aug 2002 08:11:12 +0000 (08:11 +0000)]
* locale/localename.c: If the current locale is the global locale, use

_nl_current_names; otherwise use the locale object.

2002-08-29  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro.
2002-08-29  Roland McGrath  <roland@redhat.com>

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

* sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro.

22 years agoUpdate I/O mmap entry.
Ulrich Drepper [Fri, 30 Aug 2002 07:12:22 +0000 (07:12 +0000)]
Update I/O mmap entry.

22 years agoUpdate.
Ulrich Drepper [Fri, 30 Aug 2002 07:07:16 +0000 (07:07 +0000)]
Update.

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

* libio/fileops.c (_IO_new_file_fopen): Recognize new mode specifier
'm' to enable mmap I/O.
* libio/libio.h (_IO_FILE): Rename _blksize field to _flags2.  The
former wasn't used (anymore?).
(_IO_FLAGS2_MMAP): New define.
* libio/genops.c (_IO_no_init): Initialize _flags2 field.
* libio/iofopen.c (__fopen_maybe_mmap): Use mmap callbacks only if
_IO_FLAGS2_MMAP bit is set.
* libio/iofdopen.c (_IO_new_fdopen): Recognize 'm' mode specifier.
Enable mmap-using mode only if 'm' was set.

22 years ago(_IO_new_file_fopen): Recognize new mode specifier 'm' to enable mmap I/O.
Ulrich Drepper [Fri, 30 Aug 2002 07:04:16 +0000 (07:04 +0000)]
(_IO_new_file_fopen): Recognize new mode specifier 'm' to enable mmap I/O.

22 years ago* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup: doinit):
Roland McGrath [Fri, 30 Aug 2002 01:51:11 +0000 (01:51 +0000)]
* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup: doinit):

Change argument type from int to intptr_t.

* locale/global-locale.c (__libc_tsd_LOCALE_data): Conditionalize the
initializer on [! _HURD_THREADVAR_H] (bad kludge).
* sysdeps/mach/hurd/i386/init-first.c (init): Initialize
_HURD_THREADVAR_LOCALE slot to &_nl_global_locale.
* hurd/hurdsig.c (_hurdsig_init): Likewise.  Zero other slots.

22 years ago* sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def.
Roland McGrath [Fri, 30 Aug 2002 01:31:18 +0000 (01:31 +0000)]
* sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def.

* sysdeps/mach/hurd/pwrite64.c: No libc_hidden_def (__libc_pwrite64).

* sysdeps/mach/hurd/dl-sysdep.c (__GI_abort): Define alias for abort.

* include/assert.h (__assert_perror_fail): Declare it, do hidden_proto.
* assert/assert-perr.c: Add libc_hidden_def.
* elf/dl-minimal.c [! NDEBUG] (__assert_perror_fail): New function.

* sysdeps/gnu/errlist-compat.awk: Don't fail if there are no versions
found at all.
* sysdeps/gnu/Versions: File removed.  Moved all #errlist-compat
sys_errlist stuff to ...
* sysdeps/unix/sysv/linux/Versions: ... here.

* mach/mach.h: Include <features.h>.

22 years ago* elf/dl-runtime.c (IN_DL_RUNTIME): Define this macro first thing.
Roland McGrath [Thu, 29 Aug 2002 23:24:40 +0000 (23:24 +0000)]
* elf/dl-runtime.c (IN_DL_RUNTIME): Define this macro first thing.

* sysdeps/i386/dl-machine.h: Only declare fixup, profile_fixup and
define ELF_MACHINE_RUNTIME_TRAMPOLINE under #ifdef IN_DL_RUNTIME.

22 years ago* sysdeps/generic/readelflib.c (process_elf_file): Fix typo.
Roland McGrath [Thu, 29 Aug 2002 20:39:40 +0000 (20:39 +0000)]
* sysdeps/generic/readelflib.c (process_elf_file): Fix typo.

* iconv/gconv_int.h: Include <stdlib.h> for alloca decl.
(norm_add_slashes): alloca -> __alloca

* sysdeps/generic/readelflib.c (process_elf_file): Make LOADADDR
p_vaddr/p_offset when computing LOADADDR.

22 years ago2002-08-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 29 Aug 2002 20:39:24 +0000 (20:39 +0000)]
2002-08-29  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/readelflib.c (process_elf_file): Fix typo.

22 years ago(process_string_arg): Fix typo.
Ulrich Drepper [Thu, 29 Aug 2002 11:13:21 +0000 (11:13 +0000)]
(process_string_arg): Fix typo.

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Aug 2002 10:42:30 +0000 (10:42 +0000)]
Update.

2002-08-29  Jakub Jelinek  <jakub@redhat.com>

* stdio-common/vfprintf.c (vfprintf): Add builtin_expect for
string_malloced, it is unlikely to be set.
Only call free with non-NULL workspace.
* sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Use
-mcpu=ultrasparc, not only tune for it.
(ASFLAGS*): Set unconditionally.

2002-08-29  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/readelflib.c (process_elf_file): Make loadaddr
ElfW(Addr).  Don't mask upper 32-bits and lower 12 bits off from
p_vaddr/p_offset when computing loadaddr.

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Aug 2002 10:12:49 +0000 (10:12 +0000)]
Update.

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

* time/Makefile (tst-ftime_l-ENV): New variable.

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Aug 2002 10:07:47 +0000 (10:07 +0000)]
Update.

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

* iconvdata/ibm870.c: All bytes are now used, no holes anymore.

* localedata/charmaps/IBM870: Add correct mapping for <U017E>,
<U017A>, <U017D> and <U0179>. Add missing mappings.
Patch by Antonin Kopecky <akopecky@tajmac-zps.cz>.

* gmon/sys/gmon.h (ARCDENSITY): Bump to 3.
Define ARCINDEX.  Bump MAXARCS to 1 << 20.
(struct tostruct): Use ACRINDEX as type for link field.
(statuc gmonparam): Likewise for froms.
* gmon/gmon.c (__monstartup): Use currect cast for assignments to
kcount and froms.
(write_call_graph): Use correct type for from_index and to_index.
* gmon/mcount.c: Use correct types for frompcindex and toindex
variables.
Patches by Dan Kegel <dank@kegel.com>.

* sysdeps/posix/getaddrinfo.c (gaih_inet): Fix code to determine
canonical name.

* time/strptime.c (ISSPACE): New #define.  Use isspace or
__isspace_l.  Replace calls to isspace.
(match_string): Define variant for USE_IN_EXTENDED_LOCALE_MODEL.

22 years agoAdd correct mapping for <U017E>, <U017A>, <U017D> and <U0179>. Add missing mappings.
Ulrich Drepper [Thu, 29 Aug 2002 09:45:29 +0000 (09:45 +0000)]
Add correct mapping for <U017E>, <U017A>, <U017D> and <U0179>. Add missing mappings.

22 years ago* string/tst-strxfrm.c: Remove __ from function names.
Roland McGrath [Thu, 29 Aug 2002 09:28:34 +0000 (09:28 +0000)]
* string/tst-strxfrm.c: Remove __ from function names.

22 years agoUse correct types for frompcindex and toindex variables.
Ulrich Drepper [Thu, 29 Aug 2002 09:27:50 +0000 (09:27 +0000)]
Use correct types for frompcindex and toindex variables.

22 years ago(ARCDENSITY): Bump to 3. Define ARCINDEX. Bump MAXARCS to 1 << 20. (struct tostruct...
Ulrich Drepper [Thu, 29 Aug 2002 09:27:23 +0000 (09:27 +0000)]
(ARCDENSITY): Bump to 3. Define ARCINDEX.  Bump MAXARCS to 1 << 20. (struct tostruct): Use ACRINDEX as type for link field. (statuc gmonparam): Likewise for froms.

22 years ago2002-08-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 29 Aug 2002 09:26:30 +0000 (09:26 +0000)]
2002-08-29  Roland McGrath  <roland@redhat.com>

* string/tst-strxfrm.c: Remove __ from function names.

22 years ago(gaih_inet): Fix code to determine canonical name.
Ulrich Drepper [Thu, 29 Aug 2002 08:51:26 +0000 (08:51 +0000)]
(gaih_inet): Fix code to determine canonical name.

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Aug 2002 06:50:10 +0000 (06:50 +0000)]
Update.

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

* include/wchar.h: Declare __mbsrtowcs_l.
* wcsmbs/Makefile (routines): Add mbsrtowcs_l.
* wcsmbs/mbsrtowcs.c: Add support for compilation with
USE_IN_EXTENDED_LOCALE_MODEL.
* wcsmbs/mbsrtowcs_l: New file.
* wcsmbs/wcsmbsload.c (__wcsmbs_to_wc): Renamed from to_wc.  Don't
define as static.  Change all uses.
(__wcsmbs_getfct): Renamed from getfct.  Don't define as static.
Change all callers.
* wcsmbs/wcsmbsload.h: Declare __wcsmbs_to_wc and __wcsmbs_getfct.
* time/strftime.c: When translating for the extended locale model
use the _l functions.
* time/Makefile (tests): Add tst-ftime_l.
* time/tst-ftime_l.c: New file.

22 years agoTest for strftime_l and wcsftime_l.
Ulrich Drepper [Thu, 29 Aug 2002 06:14:44 +0000 (06:14 +0000)]
Test for strftime_l and wcsftime_l.

22 years ago* locale/findlocale.c [NL_CURRENT_INDIRECT] (_nl_C): New variable.
Roland McGrath [Thu, 29 Aug 2002 05:57:16 +0000 (05:57 +0000)]
* locale/findlocale.c [NL_CURRENT_INDIRECT] (_nl_C): New variable.

* locale/setlocale.c (setlocale) [NL_CURRENT_INDIRECT]: Null return
from _nl_find_locale ok if for _nl_C_name.

22 years ago* locale/nl_langinfo.c [NL_CURRENT_INDIRECT]: Use a categories.def
Roland McGrath [Thu, 29 Aug 2002 02:18:11 +0000 (02:18 +0000)]
* locale/nl_langinfo.c [NL_CURRENT_INDIRECT]: Use a categories.def

iterator to refer to each category's _nl_current_LC_FOO symbol, so
we know they are all linked in.

22 years ago* NEWS: Added 2.2.6 text from 2.2 branch version.
Roland McGrath [Thu, 29 Aug 2002 01:42:29 +0000 (01:42 +0000)]
* NEWS: Added 2.2.6 text from 2.2 branch version.

22 years ago* time/strptime.c (strptime_internal): Remove spurious const.
Roland McGrath [Thu, 29 Aug 2002 01:33:55 +0000 (01:33 +0000)]
* time/strptime.c (strptime_internal): Remove spurious const.

22 years ago2002-08-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 29 Aug 2002 01:33:42 +0000 (01:33 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* time/strptime.c (strptime_internal): Remove spurious const.

22 years agoAdd dl-brk.S.
Ulrich Drepper [Thu, 29 Aug 2002 00:44:05 +0000 (00:44 +0000)]
Add dl-brk.S.

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Aug 2002 00:34:10 +0000 (00:34 +0000)]
Update.

* sysdeps/generic/ldsodefs.h (__rtld_global_attribute__): Define.
(_rtld_global): Use it.

* sysdeps/gnu/Dist: Remove errlist-compat.c.
* sysdeps/gnu/Makefile (errlist-compat.c): Build this file in the
object directory.  Pass all Versions files to the awk script.
* sysdeps/gnu/errlist-compat.c: Removed.
* sysdeps/gnu/errlist.awk: Use #errlist-compat comments from the
first Versions file in the search path which has them.
Allow multiple errlist symbol versions to have the same count of
errors.
* sysdeps/gnu/errlist-compat.awk: Include <errlist-compat.c> instead
of "errlist-compat.c".
* sysdeps/gnu/errlist.c: Regenerated.
* sysdeps/unix/sysv/linux/mips/Versions (libc): Add #errlist-compat
comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
* sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
(librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3.
* sysdeps/unix/sysv/linux/hppa/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/Versions: New file.
* sysdeps/unix/sysv/linux/alpha/bits/errno.h: New file.
* sysdeps/unix/sysv/linux/hppa/bits/errno.h (ECANCELED): Define to
ECANCELLED if not defined by kernel headers.
* sysdeps/unix/sysv/linux/bits/errno.h: Don't redefine ECANCELED if
already defined by kernel headers.
* sysdeps/unix/sysv/linux/sparc/bits/errno.h: New file.
* sysdeps/pthread/aio_cancel.c: Don't include aio.h and its
aio_cancel64 renaming hack nor provide weak_alias if aio_cancel
is a macro.
* Versions.def (GLIBC_2.3) [librt]: Add.

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

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

* include/libc-symbols.h [!__ASSEMBLER__] (declare_symbol_1): Add
missing comma to .type directive.

2002-08-28  Jakub Jelinek  <jakub@redhat.com>

22 years ago[!__ASSEMBLER__] (declare_symbol_1): Add missing comma to .type directive.
Ulrich Drepper [Wed, 28 Aug 2002 23:11:37 +0000 (23:11 +0000)]
[!__ASSEMBLER__] (declare_symbol_1): Add missing comma to .type directive.

22 years ago* locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry,
Roland McGrath [Wed, 28 Aug 2002 23:11:21 +0000 (23:11 +0000)]
* locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry,

_nl_select_era_entry): Moved to ...
* time/era.c: ... here, new file.
(_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry):
Add internal_function to definitions.  Take an additional argument
giving the `struct locale_data *' to use.
* locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit,
_nl_parse_alt_digit): Moved to ...
* time/alt_digit.c: ... here, new file.
* time/lc-time-cleanup.c: New file.
* locale/lc-time.c (_nl_postload_time, free_mem): Functions removed.
* locale/localeinfo.h (_nl_postload_time): Remove decl.
(_nl_cleanup_time): Declare it.
(_nl_get_era_entry, _nl_select_era_entry): Update decls.
(_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise.
* time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup.
* time/strftime.c: Pass locale data to helper functions.
* time/strptime.c: Likewise.

* locale/localeinfo.h (struct locale_data): New member `private'
* locale/loadlocale.c (_nl_intern_locale_data): Initialize it.
(_nl_unload_locale): Call LOCALE->private.cleanup if it is set.
* locale/C-collate.c: Update initializer.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-address.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-time.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-messages.c : Likewise.
* locale/C-ctype.c: Likewise.

* time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD):
Redefine this too.

22 years ago2002-08-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 28 Aug 2002 23:10:57 +0000 (23:10 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry,
_nl_select_era_entry): Moved to ...
* time/era.c: ... here, new file.
(_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry):
Add internal_function to definitions.  Take an additional argument
giving the `struct locale_data *' to use.
* locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit,
_nl_parse_alt_digit): Moved to ...
* time/alt_digit.c: ... here, new file.
* time/lc-time-cleanup.c: New file.
* locale/lc-time.c (_nl_postload_time, free_mem): Functions removed.
* locale/localeinfo.h (_nl_postload_time): Remove decl.
(_nl_cleanup_time): Declare it.
(_nl_get_era_entry, _nl_select_era_entry): Update decls.
(_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise.
* time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup.
* time/strftime.c: Pass locale data to helper functions.
* time/strptime.c: Likewise.
* time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD):
Redefine this too.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Aug 2002 22:37:20 +0000 (22:37 +0000)]
Update.

2002-08-28  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/elf/configure.in (PI_STATIC_AND_HIDDEN): Define
unconditionally.
* sysdeps/alpha/elf/configure.in (libc_cv_alpha_hidden_gprel): New
check.
(PI_STATIC_AND_HIDDEN): Define if check succeeded.

2002-08-28  Jakub Jelinek  <jakub@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive): Add fd >= 0
check to close_and_out close.  Replace return NULL statements where
fd might be >= 0 with goto close_and_out.  Close the file descriptor
when it is no longer needed.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Aug 2002 21:32:56 +0000 (21:32 +0000)]
Update.

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

* sysdeps/s390/s390-64/dl-machine.h: Avoid unescaped newlines in
string constants.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/arm/dl-machine.h: Likewise.
* sysdeps/cris/dl-machine.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
* sysdeps/unix/sysv/aix/gettimeofday.c: Likewise.

22 years agoRegenerated from source files
Ulrich Drepper [Wed, 28 Aug 2002 19:41:49 +0000 (19:41 +0000)]
Regenerated from source files

22 years ago* Makeconfig (default_cflags): Revert unintended change.
Roland McGrath [Wed, 28 Aug 2002 14:21:35 +0000 (14:21 +0000)]
* Makeconfig (default_cflags): Revert unintended change.

22 years ago2002-08-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 28 Aug 2002 14:21:06 +0000 (14:21 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* Makeconfig (default_cflags): Revert unintended change.

22 years ago(open_archive): Replace using label 'again' with a loop to work around gcc 3.2 bug.
Ulrich Drepper [Wed, 28 Aug 2002 12:00:53 +0000 (12:00 +0000)]
(open_archive): Replace using label 'again' with a loop to work around gcc 3.2 bug.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Aug 2002 11:45:37 +0000 (11:45 +0000)]
Update.

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

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

* configure.in: Disable TLS support by default for now.

* sysdeps/i386/fpu/libm-test-ulps: Adjust ulp for yn for float.

* sysdeps/generic/strtol.c (strtol): Add some more casts to avoid
warnings.

* stdlib/strtod.c (STRTOF): Correct type in cast of last patch.

* stdlib/fmtmsg.c (fmtmsg): Use correct test for failure of
fprintf/fwprintf calls.

22 years agoAdjust ulp for yn for float.
Ulrich Drepper [Wed, 28 Aug 2002 11:32:01 +0000 (11:32 +0000)]
Adjust ulp for yn for float.

22 years ago* Makeconfig (run-program-prefix): Fix bogus use of $(findstring ...)
Roland McGrath [Wed, 28 Aug 2002 11:08:46 +0000 (11:08 +0000)]
* Makeconfig (run-program-prefix): Fix bogus use of $(findstring ...)

to use $(filter ...) instead.  Same bug fixed in aix conditionals.

* locale/setlocale.c: Declare postload functions weak.

22 years ago* elf/tst-tls1-static.c: New file.
Roland McGrath [Wed, 28 Aug 2002 10:42:59 +0000 (10:42 +0000)]
* elf/tst-tls1-static.c: New file.

* elf/tst-tls2-static.c: New file.
* elf/Makefile ($(tests-static):%=$(objfpx)%.o): Remove rule.

22 years agoMake uselocale support static linking.
Roland McGrath [Wed, 28 Aug 2002 10:39:23 +0000 (10:39 +0000)]
Make uselocale support static linking.

* locale/xlocale.c: Revert changes putting _nl_global_locale here.
This file again just defines _nl_C_locobj.
(_nl_C_locobj): Use a categories.def iterator in the initializer.
* locale/global-locale.c: New file.  Define _nl_global_locale here,
using all weak references in the initializer.
* locale/Makefile (aux): Add global-locale.
* locale/localeinfo.h (_nl_global_locale, _NL_CURRENT_LOCALE): Make
these unconditional, along with the tsd decl.
[!SHARED && HAVE___THREAD && HAVE_WEAK_SYMBOLS] (NL_CURRENT_INDIRECT):
Define it under these conditions.
[NL_CURRENT_INDIRECT]: Test this instead of [! SHARED].
Don't declare _nl_current.  Declare _nl_current_LC_FOO as
`extern __thread struct locale_data *const *'.
[NL_CURRENT_INDIRECT]
(_NL_CURRENT_DATA, _NL_CURRENT, _NL_CURRENT_WSTR): Add indirection.
[NL_CURRENT_INDIRECT] (_NL_CURRENT_DEFINE): Rewritten.  Define
the thread variable _nl_current_LC_FOO and also a special absolute
symbol _nl_current_LC_FOO_used.
* locale/uselocale.c (__uselocale) [NL_CURRENT_INDIRECT]:
Set each _nl_current_LC_FOO symbol to point into the new locale,
using weak references to test if _nl_current_LC_FOO_used was linked in.
* locale/setlocale.c [! SHARED]: Replace this conditional ...
[NL_CURRENT_INDIRECT]: ... with this one.
(_nl_current, _nl_C): Variables removed.
[NL_CURRENT_INDIRECT] (_nl_current_used): New variable, table of
weak references to _nl_current_LC_FOO_used.
[NL_CURRENT_INDIRECT] (CATEGORY_USED): Define using that table.
(free_category): New function, broken out of ...
(free_mem): ... here.  Call that.
(free_mem) [NL_CURRENT_INDIRECT]: Use a categories.def iterator
instead of a loop.

__USING_NAMESPACE_C99 depending on _GLIBCPP_USE_NAMESPACES.

22 years ago* sysdeps/generic/libc-tls.c (__libc_setup_tls): Don't check for
Roland McGrath [Wed, 28 Aug 2002 10:28:11 +0000 (10:28 +0000)]
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Don't check for

PT_LOAD program headers and don't try to relocate PT_TLS's p_vaddr;
it is already absolute.

* elf/Makefile (tests): List tst-tls1 and tst-tls2 unconditionally.
[$(build-static) = yes] (tests): Add tst-tls1-static, tst-tls2-static.
[$(build-static) = yes] (tests-static): New variable.
($(tests-static):%=$(objfpx)%.o)): New static pattern rule.

22 years ago2002-08-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 28 Aug 2002 10:23:59 +0000 (10:23 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* elf/Makefile (tests): List tst-tls1 and tst-tls2 unconditionally.
[$(build-static) = yes] (tests): Add tst-tls1-static, tst-tls2-static.
[$(build-static) = yes] (tests-static): New variable.
($(tests-static):%=$(objfpx)%.o)): New static pattern rule.

22 years ago(strtol): Add some more casts to avoid warnings.
Ulrich Drepper [Wed, 28 Aug 2002 10:16:21 +0000 (10:16 +0000)]
(strtol): Add some more casts to avoid warnings.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Aug 2002 09:34:59 +0000 (09:34 +0000)]
Update.

2002-08-26  Christoph Hellwig  <hch@lst.de>

* sysdeps/unix/sysv/linux/sys/personality.h: Remark origin, fix
formating braindamage, add missing PER_HPUX and PER_OSF1 values.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Aug 2002 09:31:39 +0000 (09:31 +0000)]
Update.

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

* sysdeps/x86_64/Dist: Add _mcount.S and bits/link.h.

* sysdeps/s390/Dist: Add bits/link.h.

* sysdeps/sh/Dist: New file.

* sysdeps/ia64/Dist: Add ia64libgcc.S.

* sysdeps/wordsize-32/Dist: New file.

* sysdeps/unix/sysv/linux/alpha/Dist: Add dl-brk.S.
* sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.

* sysdeps/unix/sysv/linux/Dist: Add dl-brk.c, dl-sbrk.c, and
sys/personality.h.

* sysdeps/unix/Dist: Add i386/dl-brk.S, mips/dl-brk.S, and
sparc/dl-brk.S.

* sysdeps/unix/bsd/Dist: Add vax/dl-brk.S.

* sysdeps/unix/bsd/sun/Dist: New file.

* sysdeps/unix/bsd/osf/Dist: New file.

* sysdeps/unix/bsd/hp/Dist: New file.

* sysdeps/unix/arm/Dist: New file.

* sysdeps/powerpc/Dist: Add divdi3.c and libgcc-compat.S.

* sysdeps/mach/hurd/Dist: Add set-init.c.

* sysdeps/i386/Dist: Add bits/link.h.

* sysdeps/gnu/Dist: Add errlist-compat.c errlist-compat.awk.

* sysdeps/generic/Dist: Add dl-brk.c and dl-sbrk.c.

* locale/Makefile (distribute): Add hashval.h.

* iconvdata/Makefile (distribute): Add tcvn5712-1.c and armscii-8.c.

* sysdeps/unix/sysv/linux/Dist: Remove errlist.h.

* misc/sys/cdefs.h: Define __BEGIN_NAMESPACE_STD, __END_NAMESPACE_STD,
__USING_NAMESPACE_STD, __BEGIN_NAMESPACE_C99, __END_NAMESPACE_C99, and
__USING_NAMESPACE_C99 dependingon _GLIBCPP_USE_NAMESPACES.
* ctype/ctype.h: Prepare headers for use in ISO C++ compliant
implementations.
* libio/stdio.h: Likewise.
* locale/locale.h: Likewise.
* math/math.h: Likewise.
* math/bits/mathcalls.h: Likewise.
* setjmp/setjmp.h: Likewise.
* signal/signal.h: Likewise.
* stdlib/stdlib.h: Likewise.
* string/string.h: Likewise.
* time/time.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* wctype/wctype.h: Likewise.

* locale/programs/locarchive.c (insert_name): Suppress warnings about
hash collisions if be_quiet.
* stdio-common/Makefile: Fix typo in stdio_lim.h installation rule.

* Makefile (distribute): Add LICENSES.

* libio/fileops.c (_IO_file_open): Only set file pointer to end of the
file for _IO_IS_APPENDING if file isn't opened for reading, too.

22 years agoAdd dl-brk.c, dl-sbrk.c, and sys/personality.h.
Ulrich Drepper [Wed, 28 Aug 2002 08:51:40 +0000 (08:51 +0000)]
Add dl-brk.c, dl-sbrk.c, and sys/personality.h.

22 years ago* locale/tst-C-locale.c (run_test): Remove __ from function names.
Roland McGrath [Wed, 28 Aug 2002 08:44:40 +0000 (08:44 +0000)]
* locale/tst-C-locale.c (run_test): Remove __ from function names.

22 years ago2002-08-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 28 Aug 2002 08:44:07 +0000 (08:44 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* tst-xlocale1.c (main): Remove __ from function names.
* tst-xlocale2.c: Likewise.

22 years agoAdd i386/dl-brk.S, mips/dl-brk.S, and sparc/dl-brk.S.
Ulrich Drepper [Wed, 28 Aug 2002 08:41:52 +0000 (08:41 +0000)]
Add i386/dl-brk.S, mips/dl-brk.S, and sparc/dl-brk.S.

22 years agoPrepare headers for use in ISO C++ compliant implementations.
Ulrich Drepper [Wed, 28 Aug 2002 08:01:11 +0000 (08:01 +0000)]
Prepare headers for use in ISO C++ compliant implementations.

22 years ago Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 28 Aug 2002 07:29:53 +0000 (07:29 +0000)]
Roland McGrath <roland@redhat.com>

* locale/hashval.h (compute_hashval): Use prototype defn.
(hashval_t): New macro, defined to unsigned long int
if not already defined.
(compute_hashval): Return hashval_t instead of unsigned long int.
* locale/loadarchive.c (hashval_t): New macro.
* locale/programs/locarchive.c: Include hashval.h directly instead
of simple-hash.h.
(compute_hashval, hashval_t): Define these macros first.
(insert_name): Use archive_hashval instead of compute_hashval.
(add_locale, delete_locales_from_archive): Likewise.

2002-08-28  Jakub Jelinek  <jakub@redhat.com>

22 years ago2002-08-28 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Wed, 28 Aug 2002 06:59:48 +0000 (06:59 +0000)]
2002-08-28  Jakub Jelinek  <jakub@redhat.com>

        * locale/programs/locarchive.c (insert_name): Suppress warnings about
   hash collisions if be_quiet.

* locale/locale.h (__newlocale, __duplocale, __freelocale,
__uselocale): Don't declare these any more.
* include/locale.h (__uselocale): Declare here instead, using __typeof.

22 years ago2002-08-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 28 Aug 2002 06:59:14 +0000 (06:59 +0000)]
2002-08-27  Roland McGrath  <roland@redhat.com>

* locale/locale.h (__newlocale, __duplocale, __freelocale,
__uselocale): Don't declare these any more.
* include/locale.h (__uselocale): Declare here instead, using __typeof.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Aug 2002 06:47:35 +0000 (06:47 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/bits/local_lim.h (PTHREAD_THREADS_MAX):
Bump to 16384.
* manager.c (__pthread_handles): Remove.
* pthandles.c: New file.
* pthread.c (__pthread_initialize_minimal): Initialize
__pthread_handles[0] and __pthread_handles[1].
* Makefile (libpthread-routines): Add pthandles (must be last).

22 years ago(PTHREAD_THREADS_MAX): Bump to 16384.
Ulrich Drepper [Wed, 28 Aug 2002 06:43:19 +0000 (06:43 +0000)]
(PTHREAD_THREADS_MAX): Bump to 16384.

22 years ago* sysdeps/unix/readdir.c: If getdents fails with ENOENT, restore errno
Roland McGrath [Wed, 28 Aug 2002 03:26:52 +0000 (03:26 +0000)]
* sysdeps/unix/readdir.c: If getdents fails with ENOENT, restore errno

and treat it as an EOF return.
* sysdeps/unix/readdir_r.c: Likewise.

22 years ago* sysdeps/gnu/errlist-compat.awk: Include <bits/wordsize.h> in output.
Roland McGrath [Wed, 28 Aug 2002 02:34:45 +0000 (02:34 +0000)]
* sysdeps/gnu/errlist-compat.awk: Include <bits/wordsize.h> in output.

From Alexandre Oliva <aoliva@redhat.com>.
* sysdeps/gnu/errlist-compat.c: Regenerated.

22 years ago* sysdeps/ieee754/flt-32/e_asinf.c: Modified copying permission
Roland McGrath [Wed, 28 Aug 2002 02:30:36 +0000 (02:30 +0000)]
* sysdeps/ieee754/flt-32/e_asinf.c: Modified copying permission

wording at request of copyright holder Stephen Moshier.
* sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
* sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.

22 years ago* ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts.
Roland McGrath [Tue, 27 Aug 2002 23:36:31 +0000 (23:36 +0000)]
* ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts.

* ctype/ctype-extn.c (isblank_l): Add weak alias.
* sysdeps/generic/strtol_l.c (strtol_l): Likewise.
* sysdeps/generic/strtoll_l.c (strtoll_l): Likewise.
* sysdeps/generic/strtoul_l.c (strtoul_l): Likewise.
* sysdeps/generic/strtoull_l.c (strtoull_l): Likewise.
* wctype/iswctype_l.c (iswctype_l): Likewise.

* time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: No libc_hidden_def.

* ctype/ctype.h (__exctype_l): Don't declare __ name.
* stdlib/stdlib.h: Don't declare __*_l names.
* include/stdlib.h: Declare them here instead.
* include/string.h: Don't declare __*_l names.
* string/string.h: Declare them here instead.
* time/time.h: Don't declare __*_l names.
* include/time.h: Declare them here instead.
* wcsmbs/wchar.h: Don't declare __*_l names.
* include/wchar.h: Declare them here instead.
* wctype/wctype.h: Declare iswalnum_l, not __iswalnum_l.
Don't declare __*_l names.
* include/wctype.h: Declare them here instead.
* stdlib/monetary.h: Declare strfmon_l, not __strfmon_l.
* stdlib/strfmon_l.c (strfmon_l): Define as weak alias.
* locale/langinfo.h: Don't declare __nl_langinfo_l.
* include/langinfo.h: Declare it here with __typeof.

22 years ago* time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strptime_l
Roland McGrath [Tue, 27 Aug 2002 22:57:05 +0000 (22:57 +0000)]
* time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strptime_l

instead, taking an extra __locale_t argument.
* time/Makefile (routines): Add strptime_l.
* time/strptime_l.c: New file.
* time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strftime_l
or __wcsftime_l instead, taking an extra __locale_t argument.

22 years ago* time/time.h (__strptime_l, strptime_l): Declare them.
Roland McGrath [Tue, 27 Aug 2002 22:38:19 +0000 (22:38 +0000)]
* time/time.h (__strptime_l, strptime_l): Declare them.

* time/time.h (__strftime_l, strftime_l): Declare them.
* wcsmbs/wchar.h (__wcsftime_l, wcsftime_l): Declare them.
* time/strftime_l.c: New file.
* time/wcsftime_l.c: New file.
* time/Makefile (routines): Add strftime_l, wcsftime_l.
* time/Versions (libc: GLIBC_2.3): Add __strftime_l, __wcsftime_l,
strftime_l, wcsftime_l.

22 years ago* locale/Versions (libc: GLIBC_PRIVATE): Move __uselocale to ...
Roland McGrath [Tue, 27 Aug 2002 22:06:11 +0000 (22:06 +0000)]
* locale/Versions (libc: GLIBC_PRIVATE): Move __uselocale to ...

(libc: GLIBC_2.3): ... here.

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

* locale/Versions (libc: GLIBC_PRIVATE): Move __uselocale to ...
(libc: GLIBC_2.3): ... here.

22 years agoFix typo in stdio_lim.h installation rule.
Ulrich Drepper [Tue, 27 Aug 2002 16:23:40 +0000 (16:23 +0000)]
Fix typo in stdio_lim.h installation rule.

22 years agoUpdate.
Ulrich Drepper [Tue, 27 Aug 2002 16:11:54 +0000 (16:11 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/Dist: Add ucontext_i.h and
sys/debugreg.h.

* sysdeps/unix/sysv/linux/s390/Dist: Add new/route.h.

* sysdeps/unix/sysv/linux/ia64/Dist: Add dl-brk.S and sys/user.h.

* sysdeps/unix/sysv/linux/mips/Dist: Add sys/user.h.

* sysdeps/unix/sysv/linux/Dist: Add readahead.c.

* sysdeps/mach/hurd/alpha/Dist: New file.

22 years agoUpdate.
Ulrich Drepper [Tue, 27 Aug 2002 12:10:11 +0000 (12:10 +0000)]
Update.

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

* sysdeps/arm/Dist: Add bits/link.h.

* sunrpc/Makefile: Distribute thrsvc.

* stdio-common/Makefile: Remove more left-overs from old stdio.

* include/linewrap.h: Removed.

* libio/bug-mmap-fflush.c: Rewrite to not touch source directory.

* intl/Makefile (distribute): Add plural-eval.c.

* stdio-common/Makefile (headers): Remove bits/stdio_lim.h.  This
file isn't distributed.  Add special rules to install bits/stdio_lim.h.

* Make-dist: Remove traces of old stdio.
* Makeconfig: Likewise.

* locale/Makefile (localedef-aux): New variable.  Only md5
assigned to it.  These files are not ddistributed in this directory.

* sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
* sysdeps/unix/sysv/linux/s390/s390-64/Dist: Remove sys/procfs.h.
* sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.

* sysdeps/unix/sysv/linux/Dist: Remove sys/sendfile.h.

22 years agoRemove sys/sendfile.h.
Ulrich Drepper [Tue, 27 Aug 2002 10:57:37 +0000 (10:57 +0000)]
Remove sys/sendfile.h.

22 years ago* manual/sysinfo.texi (Mount Information): Correct file name to macro
Roland McGrath [Tue, 27 Aug 2002 09:40:16 +0000 (09:40 +0000)]
* manual/sysinfo.texi (Mount Information): Correct file name to macro

assocations for _PATH_MNTTAB, MNTTAB, _PATH_MOUNTED, MOUNTED.
Say mtab is in either /var/run or /etc.

22 years ago* manual/errno.texi (Error Codes): Added ECANCELED (118 for Hurd).
Roland McGrath [Tue, 27 Aug 2002 09:23:13 +0000 (09:23 +0000)]
* manual/errno.texi (Error Codes): Added ECANCELED (118 for Hurd).

* sysdeps/mach/hurd/bits/errno.h: Regenerated.

* sysdeps/gnu/Versions: New file.
* sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here.
* sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New target.
($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c.
* sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal
and _sys_nerr_internal instead of anything else.  Make it include
"errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT].
Make it emit some asm magic if [EMIT_ERR_MAX].
* sysdeps/gnu/errlist.c: Regenerated.
* sysdeps/gnu/errlist-compat.awk: New file.
* sysdeps/gnu/errlist-compat.c: New file (generated).
* sysdeps/mach/hurd/errlist.c (ERRLIST_NO_COMPAT): New macro.
(_sys_errlist_internal): Define this as a macro for _hurd_errlist.
(_sys_nerr_internal): Define this is a macro for _hurd_nerr.
(SYS_ERRLIST, SYS_NERR): Macros removed.
(sys_nerr, _sys_nerr): Remove these weak aliases.
* sysdeps/unix/sysv/linux/errlist.c: File removed.
* sysdeps/unix/sysv/linux/errlist.h: File removed.
* sysdeps/unix/sysv/linux/arm/errlist.c: File removed.

* include/libc-symbols.h (declare_symbol): New macro.
* config.h.in (ASM_TYPE_DIRECTIVE_PREFIX): New #undef.
* configure.in: New check to define it.
* configure: Regenerated.

22 years ago2002-08-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 27 Aug 2002 09:22:36 +0000 (09:22 +0000)]
2002-08-26  Roland McGrath  <roland@redhat.com>

* sysdeps/gnu/Versions: New file.
* sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here.
* sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New target.
($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c.
* sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal
and _sys_nerr_internal instead of anything else.  Make it include
"errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT].
Make it emit some asm magic if [EMIT_ERR_MAX].
* sysdeps/gnu/errlist.c: Regenerated.
* sysdeps/gnu/errlist-compat.awk: New file.
* sysdeps/gnu/errlist-compat.c: New file (generated).
* sysdeps/mach/hurd/errlist.c (ERRLIST_NO_COMPAT): New macro.
(_sys_errlist_internal): Define this as a macro for _hurd_errlist.
(_sys_nerr_internal): Define this is a macro for _hurd_nerr.
(SYS_ERRLIST, SYS_NERR): Macros removed.
(sys_nerr, _sys_nerr): Remove these weak aliases.
* sysdeps/unix/sysv/linux/errlist.c: File removed.
* sysdeps/unix/sysv/linux/errlist.h: File removed.
* sysdeps/unix/sysv/linux/arm/errlist.c: File removed.

22 years agoUpdate.
Ulrich Drepper [Tue, 27 Aug 2002 08:32:50 +0000 (08:32 +0000)]
Update.

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

* nss/getXXbyYY_r.c (REENTRANT_NAME): If no service is available
set h_errno to NO_RECOVERY [PR libc/4360].

22 years agoUpdate.
Ulrich Drepper [Tue, 27 Aug 2002 06:41:29 +0000 (06:41 +0000)]
Update.

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

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

* stdio-common/tst-swprintf.c (main): Add casts to avoid warnings.

* locale/xlocale.c: Fix the last change.  The variable still has
to end in _data.
* sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
(__libc_tsd_set): Add _data prefix to variable name.

22 years agoFix the last change. The variable still has to end in _data.
Ulrich Drepper [Tue, 27 Aug 2002 03:49:39 +0000 (03:49 +0000)]
Fix the last change.  The variable still has to end in _data.

22 years ago* sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Replace
Roland McGrath [Tue, 27 Aug 2002 02:43:22 +0000 (02:43 +0000)]
* sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Replace

macro with inline function.
(sigset_get_old_mask): Likewise.
* sysdeps/posix/sigblock.c (__sigblock): Update callers.
* sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Likewise.
* sysdeps/posix/sigvec.c (__sigvec, sigvec_wrapper_handler): Likewise.
* sysdeps/unix/sysv/aix/sigset-cvt-mask.h
(sigset_set_old_mask, sigset_get_old_mask): Make these macros return
values.
* sysdeps/unix/sysv/linux/sigset-cvt-mask.h: Likewise.
* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: Likewise.

2002-07-06  Bruno Haible  <bruno@clisp.org>

* sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Make it work with larger sigset_t.
* sysdeps/posix/sigblock.c (__sigblock): Use those macros.
* sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Likewise.

2002-08-26  Roland McGrath  <roland@redhat.com>

22 years ago* time/sys/time.h [__USE_BSD] (lutimes, futimes): Declare them.
Roland McGrath [Tue, 27 Aug 2002 02:10:01 +0000 (02:10 +0000)]
* time/sys/time.h [__USE_BSD] (lutimes, futimes): Declare them.

* manual/filesys.texi (File Times): Document lutimes and futimes.
* misc/Makefile (routines): Add them.
* misc/Versions (libc: GLIBC_2.3): Likewise.
* sysdeps/generic/lutimes.c: New file.
* sysdeps/generic/futimes.c: New file.
* sysdeps/mach/hurd/lutimes.c: New file.
* sysdeps/mach/hurd/futimes.c: New file.

* manual/filesys.texi (File Times): Add explicit note about null
pointer argument to utimes.

2002-08-26  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/ifreq.h (__if_freereq): Add missing semicolon.
(__ifreq): Add a cast.  Remove an unused variable.

* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
_HURD_THREADVAR_LOCALE.

22 years ago2002-08-26 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 27 Aug 2002 02:08:41 +0000 (02:08 +0000)]
2002-08-26  Roland McGrath  <roland@frob.com>

* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
_HURD_THREADVAR_LOCALE.

22 years agoUpdate.
Ulrich Drepper [Mon, 26 Aug 2002 23:11:17 +0000 (23:11 +0000)]
Update.

2002-08-26  Jakub Jelinek  <jakub@redhat.com>
* posix/regexec.c (re_search_stub): Return correct match length
if start != 0.
* posix/bug-regex10.c: New test.
* posix/Makefile (tests): Add bug-regex10.

2002-08-26  Brian Youmans  <3diff@gnu.org>

* COPYING.LIB: Replaced with fresh copy from
* crypt/crypt.c: Changed copying permission notice to Lesser GPL
from Library GPL.
* crypt/crypt_util.c: Likewise.
* crypt/ufc.c: Likewise.
* elf/dl-conflict.c: Likewise.
* elf/dl-iteratephdr.c: Likewise.
* iconv/iconvconfig.h: Likewise.
* malloc/arena.c: Likewise.
* malloc/hooks.c: Likewise.
* malloc/malloc.c: Likewise.
* posix/glob/Makefile.ami: Likewise.
* posix/glob/Makefile.in: Likewise.
* stdlib/gmp-impl.h: Likewise.
* stdlib/gmp.h: Likewise.
* sysdeps/generic/dl-iteratephdr-static.c: Likewise.
* sysdeps/generic/strnlen.c: Likewise.
* sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/recvmsg.c: Likewise.
* sysdeps/mach/hurd/sendmsg.c: Likewise.
* sysdeps/mach/hurd/spawni.c: Likewise.
* sysdeps/mach/powerpc/machine-sp.h: Likewise.
* sysdeps/mach/powerpc/sysdep.h: Likewise.
* sysdeps/mach/powerpc/thread_state.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise.
* sysdeps/x86_64/gmp-mparam.h: Likewise.

* sysdeps/ieee754/dbl-64/MathLib.h: Corrected version number in
Lesser GPL copying permission notice from 2 to 2.1.
* sysdeps/ieee754/dbl-64/asincos.tbl: Likewise.
* sysdeps/ieee754/dbl-64/atnat.h: Likewise.
* sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
* sysdeps/ieee754/dbl-64/branred.c: Likewise.
* sysdeps/ieee754/dbl-64/branred.h: Likewise.
* sysdeps/ieee754/dbl-64/dla.h: Likewise.
* sysdeps/ieee754/dbl-64/doasin.c: Likewise.
* sysdeps/ieee754/dbl-64/doasin.h: Likewise.
* sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
* sysdeps/ieee754/dbl-64/dosincos.h: Likewise.
* sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
* sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
* sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
* sysdeps/ieee754/dbl-64/e_log.c: Likewise.
* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
* sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
* sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
* sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
* sysdeps/ieee754/dbl-64/mpa.c: Likewise.
* sysdeps/ieee754/dbl-64/mpa.h: Likewise.
* sysdeps/ieee754/dbl-64/mpa2.h: Likewise.
* sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
* sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
* sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
* sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
* sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
* sysdeps/ieee754/dbl-64/mplog.c: Likewise.
* sysdeps/ieee754/dbl-64/mplog.h: Likewise.
* sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
* sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
* sysdeps/ieee754/dbl-64/mptan.c: Likewise.
* sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
* sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
* sysdeps/ieee754/dbl-64/root.tbl: Likewise.
* sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
* sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
* sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
* sysdeps/ieee754/dbl-64/sincos.tbl: Likewise.
* sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
* sysdeps/ieee754/dbl-64/sincos32.h: Likewise.
* sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
* sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
* sysdeps/ieee754/dbl-64/uasncs.h: Likewise.
* sysdeps/ieee754/dbl-64/uatan.tbl: Likewise.
* sysdeps/ieee754/dbl-64/uexp.h: Likewise.
* sysdeps/ieee754/dbl-64/uexp.tbl: Likewise.
* sysdeps/ieee754/dbl-64/ulog.h: Likewise.
* sysdeps/ieee754/dbl-64/ulog.tbl: Likewise.
* sysdeps/ieee754/dbl-64/upow.h: Likewise.
* sysdeps/ieee754/dbl-64/upow.tbl: Likewise.
* sysdeps/ieee754/dbl-64/urem.h: Likewise.
* sysdeps/ieee754/dbl-64/uroot.h: Likewise.
* sysdeps/ieee754/dbl-64/usncs.h: Likewise.
* sysdeps/ieee754/dbl-64/utan.h: Likewise.
* sysdeps/ieee754/dbl-64/utan.tbl: Likewise.

* sysdeps/ieee754/flt-32/e_asinf.c: Added copyright notice for Stephen
Moshier and Lesser GPL copying permission notice, per license from
* sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
* sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.

* sysdeps/ieee754/ldbl-128/e_j0l.c: Added Lesser GPL copying permission
* sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
* sysdeps/sh/Makefile (sysdeps_routines): Add divdi3 in csu dir.
(shared-only-routines): Likewise.

22 years agoUpdate.
Ulrich Drepper [Mon, 26 Aug 2002 23:00:40 +0000 (23:00 +0000)]
Update.

2002-08-26 Brian Youmans <3diff@gnu.org>

* Examples/ex10.c: Likewise.
* Examples/ex11.c: Likewise.
* Examples/ex13.c: Likewise.
* Examples/ex8.c: Likewise.
* Examples/ex9.c: Likewise.
* barrier.c: Likewise.
* events.c: Likewise.
* lockfile.c: Likewise.
* no-tsd.c: Likewise.
* pt-machine.c: Likewise.
* ptclock_gettime.c: Likewise.
* ptclock_settime.c: Likewise.
* rwlock.c: Likewise.
* sysdeps/alpha/pspinlock.c: Likewise.
* sysdeps/alpha/pt-machine.h: Likewise.
* sysdeps/arm/pspinlock.c: Likewise.
* sysdeps/arm/pt-machine.h: Likewise.
* sysdeps/cris/pspinlock.c: Likewise.
* sysdeps/cris/pt-machine.h: Likewise.
* sysdeps/hppa/pspinlock.c: Likewise.
* sysdeps/hppa/pt-machine.h: Likewise.
* sysdeps/i386/i686/pt-machine.h: Likewise.
* sysdeps/i386/pspinlock.c: Likewise.
* sysdeps/i386/pt-machine.h: Likewise.
* sysdeps/i386/useldt.h: Likewise.
* sysdeps/ia64/pspinlock.c: Likewise.
* sysdeps/ia64/pt-machine.h: Likewise.
* sysdeps/m68k/pspinlock.c: Likewise.
* sysdeps/m68k/pt-machine.h: Likewise.
* sysdeps/mips/pspinlock.c: Likewise.
* sysdeps/mips/pt-machine.h: Likewise.
* sysdeps/powerpc/pspinlock.c: Likewise.
* sysdeps/powerpc/pt-machine.h: Likewise.
* sysdeps/pthread/bits/initspin.h: Likewise.
* sysdeps/pthread/bits/libc-lock.h: Likewise.
* sysdeps/pthread/bits/libc-tsd.h: Likewise.
* sysdeps/pthread/getcpuclockid.c: Likewise.
* sysdeps/pthread/posix-timer.h: Likewise.
* sysdeps/pthread/timer_create.c: Likewise.
* sysdeps/pthread/timer_delete.c: Likewise.
* sysdeps/pthread/timer_getoverr.c: Likewise.
* sysdeps/pthread/timer_gettime.c: Likewise.
* sysdeps/pthread/timer_routines.c: Likewise.
* sysdeps/pthread/timer_settime.c: Likewise.
* sysdeps/pthread/tst-timer.c: Likewise.
* sysdeps/s390/pspinlock.c: Likewise.
* sysdeps/s390/s390-32/pt-machine.h: Likewise.
* sysdeps/s390/s390-64/pt-machine.h: Likewise.
* sysdeps/sh/pspinlock.c: Likewise.
* sysdeps/sh/pt-machine.h: Likewise.
* sysdeps/sparc/sparc32/pspinlock.c: Likewise.
* sysdeps/sparc/sparc32/pt-machine.h: Likewise.
* sysdeps/sparc/sparc32/sparcv9/pspinlock.c: Likewise.
* sysdeps/sparc/sparc64/pspinlock.c: Likewise.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sigthread.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/initspin.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* tststack.c: Likewise.
* unload.c: Likewise.
* weaks.c: Likewise.
* wrapsyscall.c: Likewise.

* sysdeps/pthread/pt-initfini.c: Changed copying
permission notice to Lesser GPL from Library GPL, including the
references in the special exception.
* sysdeps/unix/sysv/linux/hppa/pt-initfini.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/pt-initfini.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/pt-initfini.c:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c:
Likewise.
* sysdeps/unix/sysv/linux/sh/pt-initfini.c: Likewise.

22 years ago(tests): Add bug-regex10.
Ulrich Drepper [Mon, 26 Aug 2002 22:42:27 +0000 (22:42 +0000)]
(tests): Add bug-regex10.

22 years ago2002-08-26 Brian Youmans <3diff@gnu.org>
Roland McGrath [Mon, 26 Aug 2002 22:42:22 +0000 (22:42 +0000)]
2002-08-26 Brian Youmans <3diff@gnu.org>

        * COPYING.LIB: Replaced with fresh copy from
ftp://ftp.gnu.org/gnu/Licenses/COPYING.LIB-2.1;
suggested copying permission notice now says version 2.1 instead
of version 2.

        * crypt/crypt.c: Changed copying permission notice to Lesser GPL
        from Library GPL.
        * crypt/crypt_util.c: Likewise.
        * crypt/ufc.c: Likewise.
        * elf/dl-conflict.c: Likewise.
        * elf/dl-iteratephdr.c: Likewise.
        * iconv/iconvconfig.h: Likewise.
        * linuxthreads/Examples/ex10.c: Likewise.
        * linuxthreads/Examples/ex11.c: Likewise.
        * linuxthreads/Examples/ex13.c: Likewise.
        * linuxthreads/Examples/ex8.c: Likewise.
        * linuxthreads/Examples/ex9.c: Likewise.
        * linuxthreads/barrier.c: Likewise.
        * linuxthreads/events.c: Likewise.
        * linuxthreads/lockfile.c: Likewise.
        * linuxthreads/no-tsd.c: Likewise.
        * linuxthreads/pt-machine.c: Likewise.
        * linuxthreads/ptclock_gettime.c: Likewise.
        * linuxthreads/ptclock_settime.c: Likewise.
        * linuxthreads/rwlock.c: Likewise.
        * linuxthreads/sysdeps/alpha/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/alpha/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/arm/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/arm/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/cris/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/cris/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/hppa/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/hppa/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/i686/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/i386/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/useldt.h: Likewise.
        * linuxthreads/sysdeps/ia64/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/ia64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/m68k/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/m68k/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/mips/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/mips/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/powerpc/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/powerpc/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/initspin.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/libc-lock.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/libc-tsd.h: Likewise.
        * linuxthreads/sysdeps/pthread/getcpuclockid.c: Likewise.
        * linuxthreads/sysdeps/pthread/posix-timer.h: Likewise.
        * linuxthreads/sysdeps/pthread/timer_create.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_delete.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_getoverr.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_gettime.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_routines.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_settime.c: Likewise.
        * linuxthreads/sysdeps/pthread/tst-timer.c: Likewise.
        * linuxthreads/sysdeps/s390/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/s390/s390-32/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/s390/s390-64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sh/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sh/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc64/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/hppa/bits/initspin.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
        * linuxthreads/tststack.c: Likewise.
        * linuxthreads/unload.c: Likewise.
        * linuxthreads/weaks.c: Likewise.
        * linuxthreads/wrapsyscall.c: Likewise.
        * malloc/arena.c: Likewise.
        * malloc/hooks.c: Likewise.
        * malloc/malloc.c: Likewise.
        * posix/glob/Makefile.ami: Likewise.
        * posix/glob/Makefile.in: Likewise.
        * stdlib/gmp-impl.h: Likewise.
        * stdlib/gmp.h: Likewise.
        * sysdeps/generic/dl-iteratephdr-static.c: Likewise.
        * sysdeps/generic/strnlen.c: Likewise.
        * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
        * sysdeps/mach/hurd/recvmsg.c: Likewise.
        * sysdeps/mach/hurd/sendmsg.c: Likewise.
        * sysdeps/mach/hurd/spawni.c: Likewise.
        * sysdeps/mach/powerpc/machine-sp.h: Likewise.
        * sysdeps/mach/powerpc/sysdep.h: Likewise.
        * sysdeps/mach/powerpc/thread_state.h: Likewise.
        * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
        * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise.
        * sysdeps/x86_64/gmp-mparam.h: Likewise.

        * linuxthreads/sysdeps/pthread/pt-initfini.c: Changed copying
        permission notice to Lesser GPL from Library GPL, including the
        references in the special exception.
        * linuxthreads/sysdeps/unix/sysv/linux/hppa/pt-initfini.c: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-initfini.c: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/pt-initfini.c:
Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c:
Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/sh/pt-initfini.c: Likewise.

        * sysdeps/ieee754/dbl-64/MathLib.h: Corrected version number in
        Lesser GPL copying permission notice from 2 to 2.1.
        * sysdeps/ieee754/dbl-64/asincos.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/atnat.h: Likewise.
        * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
        * sysdeps/ieee754/dbl-64/branred.c: Likewise.
        * sysdeps/ieee754/dbl-64/branred.h: Likewise.
        * sysdeps/ieee754/dbl-64/dla.h: Likewise.
        * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
        * sysdeps/ieee754/dbl-64/doasin.h: Likewise.
        * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
        * sysdeps/ieee754/dbl-64/dosincos.h: Likewise.
        * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
        * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpa2.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
        * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
        * sysdeps/ieee754/dbl-64/mplog.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
        * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
        * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
        * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/root.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
        * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
        * sysdeps/ieee754/dbl-64/sincos32.h: Likewise.
        * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
        * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
        * sysdeps/ieee754/dbl-64/uasncs.h: Likewise.
        * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/uexp.h: Likewise.
        * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
        * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/upow.h: Likewise.
        * sysdeps/ieee754/dbl-64/upow.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/urem.h: Likewise.
        * sysdeps/ieee754/dbl-64/uroot.h: Likewise.
        * sysdeps/ieee754/dbl-64/usncs.h: Likewise.
        * sysdeps/ieee754/dbl-64/utan.h: Likewise.
        * sysdeps/ieee754/dbl-64/utan.tbl: Likewise.

        * sysdeps/ieee754/flt-32/e_asinf.c: Added copyright notice for Stephen
        Moshier and Lesser GPL copying permission notice, per license from
Moshier.
        * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
        * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
        * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
        * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
        * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
        * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
        * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.

        * sysdeps/ieee754/ldbl-128/e_j0l.c: Added Lesser GPL copying permission
notice, per license from copyright holder Stephen Moshier.
        * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
        * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.

22 years ago(re_search_stub): Return correct match length if start != 0.
Ulrich Drepper [Mon, 26 Aug 2002 22:42:03 +0000 (22:42 +0000)]
(re_search_stub): Return correct match length if start != 0.

22 years ago2002-08-26 Brian Youmans <3diff@gnu.org>
Roland McGrath [Mon, 26 Aug 2002 22:40:48 +0000 (22:40 +0000)]
2002-08-26 Brian Youmans <3diff@gnu.org>

        * crypt/crypt.c: Changed copying permission notice to Lesser GPL
        from Library GPL.
        * crypt/crypt_util.c: Likewise.
        * crypt/ufc.c: Likewise.
        * elf/dl-conflict.c: Likewise.
        * elf/dl-iteratephdr.c: Likewise.
        * iconv/iconvconfig.h: Likewise.
        * linuxthreads/Examples/ex10.c: Likewise.
        * linuxthreads/Examples/ex11.c: Likewise.
        * linuxthreads/Examples/ex13.c: Likewise.
        * linuxthreads/Examples/ex8.c: Likewise.
        * linuxthreads/Examples/ex9.c: Likewise.
        * linuxthreads/barrier.c: Likewise.
        * linuxthreads/events.c: Likewise.
        * linuxthreads/lockfile.c: Likewise.
        * linuxthreads/no-tsd.c: Likewise.
        * linuxthreads/pt-machine.c: Likewise.
        * linuxthreads/ptclock_gettime.c: Likewise.
        * linuxthreads/ptclock_settime.c: Likewise.
        * linuxthreads/rwlock.c: Likewise.
        * linuxthreads/sysdeps/alpha/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/alpha/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/arm/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/arm/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/cris/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/cris/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/hppa/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/hppa/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/i686/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/i386/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/useldt.h: Likewise.
        * linuxthreads/sysdeps/ia64/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/ia64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/m68k/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/m68k/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/mips/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/mips/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/powerpc/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/powerpc/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/initspin.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/libc-lock.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/libc-tsd.h: Likewise.
        * linuxthreads/sysdeps/pthread/getcpuclockid.c: Likewise.
        * linuxthreads/sysdeps/pthread/posix-timer.h: Likewise.
        * linuxthreads/sysdeps/pthread/timer_create.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_delete.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_getoverr.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_gettime.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_routines.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_settime.c: Likewise.
        * linuxthreads/sysdeps/pthread/tst-timer.c: Likewise.
        * linuxthreads/sysdeps/s390/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/s390/s390-32/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/s390/s390-64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sh/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sh/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc64/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/hppa/bits/initspin.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
        * linuxthreads/tststack.c: Likewise.
        * linuxthreads/unload.c: Likewise.
        * linuxthreads/weaks.c: Likewise.
        * linuxthreads/wrapsyscall.c: Likewise.
        * malloc/arena.c: Likewise.
        * malloc/hooks.c: Likewise.
        * malloc/malloc.c: Likewise.
        * posix/glob/Makefile.ami: Likewise.
        * posix/glob/Makefile.in: Likewise.
        * stdlib/gmp-impl.h: Likewise.
        * stdlib/gmp.h: Likewise.
        * sysdeps/generic/dl-iteratephdr-static.c: Likewise.
        * sysdeps/generic/strnlen.c: Likewise.
        * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
        * sysdeps/mach/hurd/recvmsg.c: Likewise.
        * sysdeps/mach/hurd/sendmsg.c: Likewise.
        * sysdeps/mach/hurd/spawni.c: Likewise.
        * sysdeps/mach/powerpc/machine-sp.h: Likewise.
        * sysdeps/mach/powerpc/sysdep.h: Likewise.
        * sysdeps/mach/powerpc/thread_state.h: Likewise.
        * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
        * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise.
        * sysdeps/x86_64/gmp-mparam.h: Likewise.

22 years ago2002-08-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
Roland McGrath [Mon, 26 Aug 2002 11:40:14 +0000 (11:40 +0000)]
2002-08-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

        * sysdeps/sh/Makefile (sysdeps_routines): Add divdi3 in csu dir.
        (shared-only-routines): Likewise.