Ulrich Drepper [Sat, 20 Apr 2002 17:21:26 +0000 (17:21 +0000)]
Update.
2002-04-12 H.J. Lu <hjl@gnu.org>
* sunrpc/clnt_raw.c (clntraw_create): Properly set xdrs and client.
Ulrich Drepper [Sat, 20 Apr 2002 08:14:24 +0000 (08:14 +0000)]
Update.
2002-04-18 Bruno Haible <bruno@clisp.org>
* iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
FROM_DIRECTION): Make the FROM direction stateless.
* iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
FROM_DIRECTION): Likewise.
* iconvdata/cvs11643l1.c: Update comments.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
Ulrich Drepper [Sat, 20 Apr 2002 07:58:48 +0000 (07:58 +0000)]
Update.
* iconvdata/JISX0213.TXT: New file.
* iconvdata/jisx0213.h: New file.
* iconvdata/jisx0213.c: New file.
* iconvdata/euc-jisx0213.c: New file.
* iconvdata/shift_jisx0213.c: New file.
* iconvdata/gconv-modules (EUC-JISX0213, SHIFT_JISX0213): New modules.
* iconvdata/EUC-JISX0213.precomposed: New file.
* iconvdata/SHIFT_JISX0213.precomposed: New file.
* iconvdata/SHIFT_JISX0213.irreversible: New file.
* iconvdata/tst-table-to.c (main): Make it work for encodings for
which the "to" direction is stateful.
* iconvdata/tst-tables.sh: Add EUC-JISX0213, SHIFT_JISX0213.
* iconvdata/Makefile (modules): Add libJISX0213, EUC-JISX0213,
SHIFT_JISX0213.
(libJISX0213-routines): New variable.
(LDFLAGS-EUC-JISX0213.so, LDFLAGS-SHIFT_JISX0213.so): New variables.
(EUC-JISX0213.so, SHIFT_JISX0213.so): Depend on libJISX0213.so.
(LDFLAGS-libJISX0213.so): New variable.
(distribute): Add JISX0213.TXT, EUC-JISX0213.precomposed,
SHIFT_JISX0213.precomposed, SHIFT_JISX0213.irreversible,
jisx0213.c, jisx0213.h, euc-jisx0213.c, shift_jisx0213.c.
2002-04-15 Bruno Haible <bruno@clisp.org>
* iconvdata/big5hkscs.c (big5hkscs_to_ucs): Change element type to
uint32_t. Update to Unicode 3.2.
(from_ucs4, from_ucs4_idx): Update to Unicode 3.2.
(BODY for TO_LOOP): Handle the ASCII range specially.
* iconvdata/BIG5HKSCS.irreversible: Add one more entry.
* iconvdata/testdata/BIG5HKSCS: Remove a character.
* iconvdata/testdata/BIG5HKSCS..UTF-8: Regenerated.
2002-04-15 Bruno Haible <bruno@clisp.org>
* iconvdata/gb18030.c (__twobyte_to_ucs, __fourbyte_to_ucs,
__ucs_to_gb18030_tab1, __ucs_to_gb18030_tab2): Update to Unicode 3.2.
2002-04-15 Bruno Haible <bruno@clisp.org>
* iconvdata/cns11643.h (__cns11643_from_ucs4p2c_tab): New declaration.
(ucs4_to_cns11643): Update.
* iconvdata/cns11643.c: Update to Unicode 3.2.
(__cns11643l2*_to_ucs4_tab, __cns11643_from_ucs4p0_tab,
__cns11643_from_ucs4p2_tab): Regenerated.
(__cns11643_from_ucs4p2c_tab): New array.
* iconvdata/EUC-TW.irreversible: Remove two entries.
2002-04-15 Bruno Haible <bruno@clisp.org>
* locale/C-translit.h.in: Update to Unicode 3.2.
Add <U2047>, <U205F>..<U2063>, <U2145>..<U2149>, <U2A74>..<U2A76>,
<U30A0>, <U3251>..<U325F>, <U32B1>..<U32BF>, <UFE00>..<UFE0F>.
2002-04-15 Bruno Haible <bruno@clisp.org>
Ulrich Drepper [Sat, 20 Apr 2002 02:05:39 +0000 (02:05 +0000)]
Update.
2002-04-15 Bruno Haible <bruno@clisp.org>
* iconvdata/sjis.c (halfkana_to_ucs4): Remove array.
(BODY for FROM_LOOP): Optimize the JISX0201:GR to Unicode conversion.
2002-04-15 Bruno Haible <bruno@clisp.org>
* iconvdata/euc-jp.c (BODY for FROM_LOOP): When encountering an
invalid input (e.g. a byte > 0x80 followed by a byte < 0x80), skip
always one byte, not 0 bytes in some cases and 2 bytes in others.
* iconvdata/tst-table-from.c (main): Correct the usage message.
2002-04-19 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/regcomp.c (parse_expression): Fix incorrect error code.
(parse_dup_op): Fix error handling like "a{}".
(parse_bracket_exp): Add error handling.
(fetch_number): Add error handling for "a{<very_large_number>}".
2002-04-19 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/regcomp.c (parse_bracket_symbol): Add error handling
in case that the symbol name is too long.
(build_charclass): Handle [:lower:]/[:uppper:] correctly
in case of REG_ICASE.
Ulrich Drepper [Sat, 20 Apr 2002 00:57:03 +0000 (00:57 +0000)]
(parse_expression): Fix incorrect error code. (parse_dup_op): Fix error handling like "a{}". (parse_bracket_exp): Add error handling. (fetch_number): Add error handling for "a{<very_large_number>}".
parse_bracket_symbol): Add error handling in case that the symbol name is too
long.
(build_charclass): Handle [:lower:]/[:uppper:] correctly in case of REG_ICASE.
Andreas Jaeger [Fri, 19 Apr 2002 14:53:42 +0000 (14:53 +0000)]
Update.
2002-04-19 Andreas Jaeger <aj@suse.de>
* math/libm-test.inc: Fix comment, suggested by Hartvig Ekner
<hartvige@mips.com>.
Andreas Jaeger [Fri, 19 Apr 2002 14:52:54 +0000 (14:52 +0000)]
Fix comment.
Ulrich Drepper [Fri, 19 Apr 2002 08:00:18 +0000 (08:00 +0000)]
Update.
2002-04-15 H.J. Lu <hjl@gnu.org>
* include/math.h (__finitel_internal): Declare only if
__NO_LONG_DOUBLE_MATH is not defined.
(__isinfl_internal): Likewise.
(__isnanl_internal): Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __connect_internal.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add __chown_internal and
__fcntl_internal.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat64_internal): Added.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat64_internal): Added.
Ulrich Drepper [Fri, 19 Apr 2002 07:49:16 +0000 (07:49 +0000)]
Update.
2002-04-15 Bruno Haible <bruno@clisp.org>
* iconvdata/armscii-8.c (BODY for FROM_LOOP): Fix array access.
(BODY for TO_LOOP): Likewise.
* iconvdata/tcvn5712-1.c (from_ucs4): Map U+0309 to 0xB1.
* iconvdata/tst-table.sh: Add support for encodings which contain
precomposed Unicode characters, known to the iconv converter in both
directions but not listed in the charmap.
* iconvdata/IBM856.irreversible: New file.
* iconvdata/IBM922.irreversible: New file.
* iconvdata/IBM1132.irreversible: New file.
* iconvdata/IBM1133.irreversible: New file.
* iconvdata/IBM1160.irreversible: New file.
* iconvdata/IBM1161.irreversible: New file.
* iconvdata/IBM1163.irreversible: New file.
* iconvdata/IBM1164.irreversible: New file.
* iconvdata/ARMSCII-8.irreversible: New file.
* iconvdata/TCVN5712-1.precomposed: New file.
* iconvdata/tst-tables.sh: Add IBM856, IBM922, IBM1124, IBM1129,
IBM1160, IBM1161, IBM1132, IBM1133, IBM1162, IBM1163, IBM1164,
ARMSCII-8, TCVN5712-1.
* iconvdata/Makefile (distribute): Add IBM856.irreversible,
IBM922.irreversible, IBM1132.irreversible, IBM1133.irreversible,
IBM1160.irreversible, IBM1161.irreversible, IBM1163.irreversible,
IBM1164.irreversible, ARMSCII-8.irreversible, TCVN5712-1.precomposed.
2002-04-17 Jakub Jelinek <jakub@redhat.com>
* time/tst-mktime.c: Include <stdlib.h>. Use %d, not %ld format
for EVENING69. Include offsets in TZ environment variable.
Ulrich Drepper [Fri, 19 Apr 2002 00:37:44 +0000 (00:37 +0000)]
Update.
* iconv/skeleton.c (RESET_INPUT_BUFFER): Replace ifs with #ifs to
avoid compiler warnings.
* locale/programs/localedef.c (main): Always call
construct_output_path.
Ulrich Drepper [Fri, 19 Apr 2002 00:19:38 +0000 (00:19 +0000)]
Update.
* iconv/Makefile (CFLAGS-simple-hash.c): Define to find hashval.h.
Ulrich Drepper [Thu, 18 Apr 2002 08:08:23 +0000 (08:08 +0000)]
Update.
2002-04-18 Ulrich Drepper <drepper@redhat.com>
* locale/programs/locfile.c (to_archive): New variable. To collect
data which has to be added to the locale archive.
(write_all_categories): Take new third parameter with locale name.
Unless no_archive flag set add new locale data to the archive
(write_locale_data): Unless no-archive flag set store generated data
in to_archive data structure instead of generation output file.
Add new parameter with locale category index.
* locale/programs/locfile.h: Add new parameters in declaractions of
write_all_categories and write_locale_data.
* locale/programs/localedef.c: Recognize --no-archive, --list-archive,
--add-to-archive, and --delete-from-archive options. Pass extra
parameter to write_all_categories.
* locale/programs/localedef.h: Add prototypes for functions in
locarchive.c.
* locale/locarchive.h: New file.
* locale/programs/locarchive.c: New file.
* locale/Makefile (distribute): Add programs/locarchive.c and
locarchive.h.
(localedef-modules): Add md5 and locarchive.
Add vpath to crypt subdir for md5.c.
* locale/programs/ld-address.c: Pass locale category ID as new second
parameter to write_locale_data.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* locale/simple-hash.c: Move compute_hashval function from here...
* locale/hashval.h: ...to here. New file.
* locale/simple-hash.h: Add prototype for compute_hashval.
* include/libintl.h: Minor cleanups.
* elf/reldep7.c: New file.
* elf/reldep7mod1.c: New file.
* elf/reldep7mod2.c: New file.
* elf/Makefile: Add rules to build and run reldep7.
Ulrich Drepper [Wed, 17 Apr 2002 05:56:15 +0000 (05:56 +0000)]
Update.
2002-04-16 Ulrich Drepper <drepper@redhat.com>
* posix/regcomp.c (gettext): Use INTUSE for _libc_intl_domainname.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
Ulrich Drepper [Mon, 15 Apr 2002 21:48:56 +0000 (21:48 +0000)]
Update.
2002-04-15 Ulrich Drepper <drepper@redhat.com>
* include/sys/stat.h: Fix typo. Patch by HJ Lu.
Ulrich Drepper [Mon, 15 Apr 2002 17:35:59 +0000 (17:35 +0000)]
Update.
2002-04-14 Bruno Haible <bruno@clisp.org>
* locale/programs/charmap.c (charmap_read): Don't access result if
result == NULL.
Ulrich Drepper [Mon, 15 Apr 2002 17:10:22 +0000 (17:10 +0000)]
Update.
2002-02-17 Andreas Schwab <schwab@suse.de>
* reldep7.c: New file.
* reldep7mod1.c: New file.
* reldep7mod2.c: New file.
* Makefile: Add rules to build and run reldep7.
Ulrich Drepper [Mon, 15 Apr 2002 06:37:43 +0000 (06:37 +0000)]
Update.
2002-04-14 Jakub Jelinek <jakub@redhat.com>
* elf/dl-lookup.c (_dl_lookup_symbol): Move add_dependency call to
the end of the function. Pass original flags to recursive call if
add_dependency failed.
(_dl_lookup_versioned_symbol): Likewise.
2002-04-13 Jakub Jelinek <jakub@redhat.com>
* time/mktime.c (__mktime_internal): If year is 69, don't bail out
early, but check whether it overflowed afterwards.
* time/tst-mktime.c (main): Add new tests.
* debug/xtrace.sh: Fix program name in help message.
Patch by Roger Luethi <rl@hellgate.ch>.
Ulrich Drepper [Mon, 15 Apr 2002 05:35:10 +0000 (05:35 +0000)]
Update.
* include/sys/stat.h: Add prototypes for __lxstat_internal and
__lxstat64_internal. Add macros __lxstat and __lxstat64 if not
NOT_IN_libc.
* sysdeps/generic/lxstat.c: Use INTDEF for __lxstat.
* sysdeps/mach/hurd/lxstat.c: Likewise.
* sysdeps/unix/common/lxstat.c: Likewise.
* sysdeps/unix/sysv/aix/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise.
* sysdeps/generic/lxstat64.c: Use INTDEF for __lxstat64.
* sysdeps/mach/hurd/lxstat64.c: Likewise.
* sysdeps/unix/sysv/aix/lxstat64.c: Likewise.
* sysdeps/unix/sysv/linuxx/lxstat64.c: Likewise.
* include/wchar.h: Declare __mbrtowc_internal and __mbrlen_internal
prototypes. Add __mbrlen and __mbrtowc macros.
* wcsmbs/mbrlen.c: Use INTDEF for __mbrlen.
* wcsmbs/mbrtowc.c: Use INTDEF for __mbrtowc.
* include/unistd.h: Add prototype for __write_internal and add
__libc_write macro is SHARED.
* sysdeps/generic/write.c: Use INTDEF for __write.
* sysdeps/mach/hurd/write.c: Likewise.
* sysdeps/unix/sysv/aix/write.c: Likewise.
* sysdeps/unix/syscalls.list: Add __libc_write alias.
* assert/assert.c: Replace STR_N_SIZE with something usable in
macro arguments.
* assert/assert-perr.c: Likewise.
Ulrich Drepper [Sun, 14 Apr 2002 20:15:40 +0000 (20:15 +0000)]
Update.
* include/sys/socket.h: Declare __libc_sa_len_internal and define
SA_LEN macro to use it if not NOT_IN_libc.
* sysdeps/unix/sysv/linux/sa_len.c: Use INTDEF for __libc_sa_len.
* include/fcntl.h: Declare __open_internal and define __open and
__libc_open macros if not NOT_IN_libc.
* sysdeps/generic/open.c: Use INTDEF for __open.
* sysdeps/mach/hurd/open.c: Likewise.
* sysdeps/unix/sysv/aix/open.c: Likewise.
* sysdeps/unix/syscalls.list: Add __open_internal alias.
* sysdeps/generic/check_fds.c: Make sure newly opened file descriptor
has correct number.
* include/fcntl.h: Define __libc_fcntl macro if not NOT_IN_libc.
* sysdeps/mach/hurd/fcntl.c: Undefine __libc_fcntl as well.
* sysdeps/unix/sysv/aix/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* include/wctype.h: Declare __iswalpha_l_internal,
__iswdigit_l_internal, __iswspace_l_internal,
__iswxdigit_l_internal, and __iswctype_internal. Define
__iswalpha_l, __iswctype, __iswdigit_l, __iswspace_l, and
__iswxdigit_l macros if not NOT_IN_libc.
* wctype/iswctype.c: Use INTDEF for __iswctype.
* wctype/wcfuncs_l.c: Use INTDEF for all __iswXXX_l.
Ulrich Drepper [Sun, 14 Apr 2002 17:55:43 +0000 (17:55 +0000)]
Update.
* include/math.h: Declare __isinf_internal, __isinfl_internal,
__isnan_internal, and __isnanl_internal.
* stdio-common/printf_fp.c: Use INTUSE for calls to __isinf, __isinfl,
__isnan, and __isnanl.
* stdio-common/printf_size.c: Likewise.
* sysdeps/generic/printf_fphex.c: Likewise.
* sysdeps/i386/fpu/s_isinfl.c: Also define _internal alias.
* sysdeps/i386/fpu/s_isnanl.c: Likewise.
* sysdeps/ia64/fpu/s_isinf.S: Likewise.
* sysdeps/ia64/fpu/s_isnan.S: Likewise.
* sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
* sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
* sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
* sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
* sysdeps/m68k/s_isinfl.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/powerpc/fpu/s_isnan.c: Likewise.
Ulrich Drepper [Sun, 14 Apr 2002 09:14:45 +0000 (09:14 +0000)]
Update.
* include/sys/time.h: Declare __gettimeofday_internal and define
__gettimeofday macro if not NOT_IN_libc.
* sysdeps/generic/gettimeofday.c: Use INTEDEF for __gettimeofday.
* sysdeps/mach/gettimeofday.c: Likewise.
* sysdeps/posix/gettimeofday.c: Likewise.
* sysdeps/unix/sysv/aix/gettimeofday.c: Likewise.
* sysdeps/unix/common/syscalls.list: Define __gettimeofday alias.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Likewise.
Ulrich Drepper [Sun, 14 Apr 2002 08:52:10 +0000 (08:52 +0000)]
Update.
* posix/bsd-getpgrp.c: Use INTUSE for __getpgid call.
Ulrich Drepper [Sun, 14 Apr 2002 08:47:01 +0000 (08:47 +0000)]
Update.
2002-04-14 Ulrich Drepper <drepper@redhat.com>
* include/sys/stat.h: Declare __fxstat_internal and __fxstat64_internal
and define __fxstate and __fxstat64 macros if not NOT_IN_libc.
Remove __lstat and __fstat inline functions.
* sysdeps/generic/fxstat.c: Use INTDEF for __fxstat.
* sysdeps/mach/hurd/fxstat.c: Likewise.
* sysdeps/unix/fxstat.c: Likewise.
* sysdeps/unix/sysv/aix/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise.
* sysdeps/generic/fxstat64.c: Use INTDEF for __fxstat64.
* sysdeps/mach/hurd/fxstat64.c: Likewise.
* sysdeps/unix/sysv/aix/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* include/unistd.h: Declare __getpid_internal and define
__getpid macro if not NOT_IN_libc.
* sysdeps/mach/hurd/getpid.c: Use INTDEF for __getpid.
* sysdeps/generic/getpid.c: Likewise.
* sysdeps/unix/syscalls.list: Add __getpid_internal alias.
* include/unistd.h: Declare __getpgid_internal and define
__getpgid macro if not NOT_IN_libc.
* sysdeps/generic/getpgid.c: Use INTDEF for __getpgid.
* sysdeps/mach/hurd/getpgid.c: Likewise.
* sysdeps/unix/sysv/aix/getpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add _getpgid_internal alias.
* include/unistd.h: Declare __getpagesize_internal and define
__getpagesize macro if not NOT_IN_libc.
* sysdeps/unix/sysv/linux/shmat.c: Include <unistd.h> for
__getpagesize.
* sysdeps/generic/getpagesize.c: Use INTDEF for __getpagesize.
* sysdeps/mach/getpagesize.c: Likewise.
* sysdeps/posix/getpagesize.c: Likewise.
* sysdeps/unix/getpagesize.c: Likewise.
* sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise.
Ulrich Drepper [Sun, 14 Apr 2002 08:32:15 +0000 (08:32 +0000)]
Declare __getpid_internaland define __getpid macro if not NOT_IN_libc.
Declare __getpgid_internaland define __getpgid macro if not NOT_IN_libc.
Declare __getpagesize_internaland define __getpagesize macro if not
NOT_IN_libc.
Andreas Jaeger [Sun, 14 Apr 2002 07:24:33 +0000 (07:24 +0000)]
Update.
2002-04-13 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/i486/bits/string.h (__strcspn_cg): Use only memory
as clobber to reduce register pressure.
(__strpbrk_cg): Likewise.
(__mempcpy_by4): Likewise.
(__strstr_cg): Likewise.
Add prototype for __memrchr.
Andreas Jaeger [Sun, 14 Apr 2002 07:24:12 +0000 (07:24 +0000)]
(__strcspn_cg): Use only memory as clobber to reduce register pressure.
(__strpbrk_cg): Likewise.
(__mempcpy_by4): Likewise.
(__strstr_cg): Likewise.
Add prototype for __memrchr.
Andreas Schwab [Sat, 13 Apr 2002 15:42:16 +0000 (15:42 +0000)]
* sysdeps/m68k/fpu/s_finite.c: Add internal alias.
* sysdeps/m68k/fpu/s_finitef.c: Likewise.
* sysdeps/m68k/fpu/s_finitel.c: Likewise.
Andreas Schwab [Sat, 13 Apr 2002 15:41:53 +0000 (15:41 +0000)]
* sysdeps/m68k/fpu/s_finite.c: Add internal alias.
* sysdeps/m68k/fpu/s_finitef.c: Likewise.
* sysdeps/m68k/fpu/s_finitel.c: Likewise.
Ulrich Drepper [Sat, 13 Apr 2002 07:55:02 +0000 (07:55 +0000)]
Update.
2002-04-13 Ulrich Drepper <drepper@redhat.com>
* elf/do-lookup.h [!VERSIONED]: Add new parameter flags. Use it to
check whether the caller prefers getting the most recent version of
a symbol of the earliest version.
* elf/dl-lookup.c: Adjust all callers of do_lookup. Change
_dl_do_lookup to also take the new parameter and pass it on.
Change 'explicit' parameter of _dl_lookup_symbol and
_dl_lookup_versioned_symbol to flags. Adjust tests.
* sysdeps/generic/ldsodefs.h: Adjust prototypes.
* elf/dl-libc.c: Adjust all callers of _dl_lookup_symbol and
_dl_lookup_versioned_symbol.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-sym.c: Likewise.
* sysdeps/mips/dl-machine.h: Likewise.
Ulrich Drepper [Thu, 11 Apr 2002 20:44:10 +0000 (20:44 +0000)]
Update.
2002-04-11 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (LOC): Don't paste
in a token.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (LOC): Likewise.
* sysdeps/unix/sysv/linux/x86_64/glob.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
Ulrich Drepper [Thu, 11 Apr 2002 20:38:52 +0000 (20:38 +0000)]
LOC): Don't paste in a token.
Andreas Jaeger [Wed, 10 Apr 2002 12:30:50 +0000 (12:30 +0000)]
Update.
* sysdeps/unix/sysv/linux/x86_64/glob.c: New.
Andreas Jaeger [Wed, 10 Apr 2002 11:50:33 +0000 (11:50 +0000)]
Update.
2002-04-10 Andreas Jaeger <aj@suse.de>
* include/argz.h: Remove extra char from last patch.
Andreas Jaeger [Wed, 10 Apr 2002 11:50:25 +0000 (11:50 +0000)]
Remove extra char.
Ulrich Drepper [Tue, 9 Apr 2002 20:36:24 +0000 (20:36 +0000)]
Update.
* sysdeps/mach/hurd/chown.c: Use INTDEF for __chown.
* sysdeps/unix/sysv/aix/chown.c: Likewise.
* sysdeps/unix/grantpt.c: Use INTUSE for __chown calls.
* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Use INTDEF2 to define
__chown_internal.
* sysdeps/unix/sysv/linux/s390/s390-32//chown.c: Likewise.
* intl/dcngettext.c [_LIBC]: Use INTUSE for __dcngettext.
* intl/dngettext.c [_LIBC] (DCNGETTEXT): Use INTUSE.
* intl/ngettext.c: Likewise.
* include/sys/socket.h: Declare __connect_internal and define
__connect macro if not NOT_IN_libc.
* sysdeps/mach/hurd/connect.c: Use INTDEF for __connect.
* sysdeps/unix/sysv/aix/connect.c: Likewise.
* sysdeps/unix/sysv/linux/connect.S: Add __connect_internal alias.
* include/unistd.h: Declare __close_internal and define __close macro
if not NOT_IN_libc.
* libio/libioP.h (JUMO0, JUMP1, JUMP2, JUMP3, WJUMP0, WJUMP1, WJUMP2,
WJUMP3): Add extra parenthesis to avoid expanding element names with
macors like __close.
* sysdeps/unix/syscalls.list: Add __close_internal alias.
* include/unistd.h: Declare __dup2_internal and define __dup2 macro
if not NOT_IN_libc.
* sysdeps/mach/hurd/dup2.c: Use INTDEF for __dup2.
* sysdeps/posix/dup2.c: Use INTDEF for __dup2.
* sysdeps/unix/syscalls.list: Add __dup2_internal alias.
* include/unistd.h: Declare __fork_internal and define __fork macro
if not NOT_IN_libc.
* sysdeps/mach/hurd/fork.c: Use INTDEF for __fork.
* sysdeps/unix/sysv/aix/fork.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add __fork_internal alias.
* include/stdio_ext.h: Declare __fsetlocking_internal and define
__fsetlocking macro to use it if not NOT_IN_libc.
* libio/__fsetlocking.c: Use INTDEF for __fsetlocking.
* libio/__fbufsize.c: Correct copyright.
* libio/__flbf.c: Likewise.
* libio/__fpending.c: Likewise.
* libio/__fpurge.c: Likewise.
* libio/__freadable.c: Likewise.
* libio/__freading.c: Likewise.
* libio/__fsetlocking.c: Likewise.
* libio/__fwritable.c: Likewise.
* libio/__fwriting.c: Likewise.
* include/stdio.h: Declare __asprintf_internal and define __asprintf
macro to use it if not NOT_IN_libc.
* stdio-common/asprintf.c: Use INTDEF for __asprintf.
* include/mntent.h: Declare __setmntent_internal,
__getmntent_r_internal, __endmntent_internal. Define __setmntent,
__getmntent_r, and __endmntent macros to use these functions if not
NOT_IN_libc.
* misc/mntent_r.c: Use INTDEF for __setmntent, __getmntent_r, and
__endmntent.
* include/math.h: Declare __finite_internal, __finitef_internal, and
__finitel_internal. Redefine isfinite macro if in libc or libm using
these functions.
* sysdeps/generic/s_ldexp.c: Use INTUSE for __finite calls.
* sysdeps/generic/s_ldexpf.c: Use INTUSE for __finitef calls.
* sysdeps/generic/s_ldexpl.c: Use INTUSE for __finitel calls.
* sysdeps/i386/fpu/s_finite.S: Define _internal alias.
* sysdeps/i386/fpu/s_finitef.S: Likewise.
* sysdeps/i386/fpu/s_finitel.S: Likewise.
* sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
* sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
* include/fcntl.h: Declare __fcntl_internal. Define __fcntl macro
to use this function if not NOT_IN_libc.
* libio/iofdopen.c (_IO_fcntl): Use INTUSE.
* sysdeps/generic/fcntl.c: Use INTDEF for __fcntl.
* sysdeps/mach/hurd/fcntl.c: Likewise.
* sysdeps/unix/sysv/aix/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* include/argz.h: Declare __argz_count_internal and
__argz_stringify_internal.
* intl/l10nflist.c [_LIBC]: Use INTUSE for __argz_count and
__argz_stringify.
* string/argz-count.c: Use INTDEF for __argz_count.
* string/argz-stringify.c: Use INTDEF for __argz_stringify.
* include/stdlib.h: Declare __cxa_atexit_internal and define
__cxa_atexit macro if not NOT_IN_libc.
* stdlib/cxa_atexit.c: Use INTDEF for __cxa_atexit.
* dlfcn/Makefile: Define NOT_IN_libc when compiling modcxaatexit.c.
* assert/assert.c: Use INTDEF for __assert_fail.
* assert/__assert.c: Use INTUSE for call to __assert_fail.
* include/assert.h: Declare __assert_fail_internal.
Ulrich Drepper [Tue, 9 Apr 2002 08:03:15 +0000 (08:03 +0000)]
Update.
2002-04-09 Ulrich Drepper <drepper@redhat.com>
* extra-lib.mk: Mark assignment to lib with override.
Ulrich Drepper [Tue, 9 Apr 2002 02:10:21 +0000 (02:10 +0000)]
Update.
2002-04-08 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/timer_getoverr.c: Return real overrun.
* sysdeps/pthread/posix-timer.h (struct timer_node): Add overrun_count.
* sysdeps/pthread/timer_routines.c (thread_func): Schedule next timeout
based on previous one and not on current time. Count overruns.
Patch by Eric F. Sorton <eric@cctcorp.com>.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Add DELAYTIMER_MAX.
(FLOATING_STACKS, ARCH_STACK_MAX_SIZE): Defined.
Ulrich Drepper [Mon, 8 Apr 2002 21:43:57 +0000 (21:43 +0000)]
Update.
2002-04-08 Ulrich Drepper <drepper@redhat.com>
* Makerules: Use cppflags-iterator.mk to add defines for all test
source files.
Ulrich Drepper [Mon, 8 Apr 2002 21:05:48 +0000 (21:05 +0000)]
Update.
2002-04-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
* elf/elf.h: Define R_SH_TLS_xxx macros.
* elf/rtld.c: Remove an extra parenthesis.
* elf/tls-macros.h: Define SH version TLS_LE, TLS_IE, TLS_LD and
TLS_GD macros.
* sysdeps/generic/dl-tls.c: Add a missing semi-colon.
* sysdeps/sh/dl-lookupcfg.h: New file.
* sysdeps/sh/dl-tls.h: New file.
* sysdeps/sh/dl-machine.h (elf_machine_type_class): Set
ELF_RTYPE_CLASS_PLT also for the three TLS relocations.
(elf_machine_rela): Handle R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32 and
R_SH_TLS_TPOFF32 relocations.
Ulrich Drepper [Mon, 8 Apr 2002 18:50:41 +0000 (18:50 +0000)]
Update.
2002-04-08 Ulrich Drepper <drepper@redhat.com>
* cppflags-iterator.mk (cpp-srcs-left): Define NOT_IN_libc instead
of NOT_IN_LIBC.
* include/libintl.h: Test for NOT_IN_libc not NOT_IN_LIBC.
* include/stdlib.h: Likewise.
2002-04-08 Jakub Jelinek <jakub@redhat.com>
* elf/Makefile (CFLAGS-.os): Define NOT_IN_libc and IS_IN_rtld
instead of _RTLD_LOCAL.
* elf/dl-dst.h: Use IS_IN_rtld instead of _RTLD_LOCAL.
* include/unistd.h: Likewise.
* sysdeps/generic/ldsodefs.h: Likewise.
* stdio-common/_itoa.h (_itoa_word): Only use internal digit arrays
if in libc or ld.so.
* include/stdlib.h: For libc itself replace MB_CUR_MAX definition
with one accessing the locale data structures directly.
* stdio-common/printf-prs.c: Include localeinfo.h for new
MB_CUR_MAX definition.
Ulrich Drepper [Mon, 8 Apr 2002 18:26:37 +0000 (18:26 +0000)]
For libc itself replace MB_CUR_MAX definition with one accessing the locale data structures directly.
Andreas Jaeger [Mon, 8 Apr 2002 15:21:19 +0000 (15:21 +0000)]
Update.
2002-04-08 Andreas Jaeger <aj@suse.de>
* elf/cache.c (print_entry): Support x86-64.
Andreas Jaeger [Mon, 8 Apr 2002 11:15:19 +0000 (11:15 +0000)]
Update.
* sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Fix rewrite rule.
Andreas Jaeger [Mon, 8 Apr 2002 11:14:01 +0000 (11:14 +0000)]
Fix rewrite rule.
Ulrich Drepper [Mon, 8 Apr 2002 08:59:00 +0000 (08:59 +0000)]
Update.
2002-04-08 Ulrich Drepper <drepper@redhat.com>
* Makeconfig (CPPFLAGS): Also add CPPFLAGS-<basename> where <basename>
is the name of the source file without extension.
* Makefile (distribute): Add cppflags-iterator.mk.
* cppflags-iterator.mk: New file.
* extra-lib.mk: For the sources of the library run
cppflags-iterator.mk.
* include/libintl.h: Declare __dcgettext_internal and
_libc_intl_domainname_internal. Define __dcgettext using these
two symbols if used in libc itself.
* argp/argp-help.c: Define dgettext using __dcgettext_internal and
_libc_intl_domainname_internal.
* argp/argp-parse.c: Likewise.
* intl/dcgettext.c (__dcgettext): Use INTDEF to define alias.
* intl/dgettext.c: Call __dcgettext_internal instead of __dcgettext.
* intl/gettext.c: Likewise.
* locale/SYS_libc.c (_libc_intl_domainname): Use INTDEF to define
alias.
* posix/regcomp.c (gettext): Use __dcgettext_internal instead of
__dcgettext.
* posix/regex_internal.c (gettext): Likewise.
Ulrich Drepper [Mon, 8 Apr 2002 08:32:49 +0000 (08:32 +0000)]
(CPPFLAGS): Also add CPPFLAGS-<basename> where <basename> is the name of the source file without extension.
Andreas Jaeger [Mon, 8 Apr 2002 08:15:30 +0000 (08:15 +0000)]
Update.
2002-04-08 Andreas Jaeger <aj@suse.de>
* sysdeps/x86_64/fpu/s_llrint.S: New.
* sysdeps/x86_64/fpu/s_llrintf.S: New.
* sysdeps/x86_64/fpu/s_llrintl.S: New.
* sysdeps/x86_64/fpu/s_lrint.S: New.
* sysdeps/x86_64/fpu/s_lrintf.S: New
* sysdeps/x86_64/fpu/s_lrintl.S: New.
Andreas Jaeger [Mon, 8 Apr 2002 08:14:22 +0000 (08:14 +0000)]
lrint and llrint implementation for x86-64.
Roland McGrath [Mon, 8 Apr 2002 07:11:55 +0000 (07:11 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (__mmap): Use MAP_FAILED instead of
widening __hurd_fail value.
Roland McGrath [Mon, 8 Apr 2002 07:06:57 +0000 (07:06 +0000)]
* sysdeps/mach/hurd/alpha/trampoline.c: Don't include
<mach/machine/alpha_instruction.h>.
(_hurd_setup_sighandler): Take proper arguments for current decls.
Update code to use _hurdsig_catch_fault.
Use `callsys' instruction instead of `call_pal'.
* sysdeps/mach/hurd/alpha/intr-msg.h: New file.
* sysdeps/mach/alpha/sysdep.h: Include <mach/alpha/asm.h>.
(ALIGN, at, AT, fp): New macros.
Roland McGrath [Mon, 8 Apr 2002 02:16:43 +0000 (02:16 +0000)]
* mach/setup-thread.c (__mach_setup_thread): int -> natural_t
* sysdeps/mach/hurd/dl-sysdep.c: Use ElfW(TYPE) in place of Elf32_TYPE.
(__mmap): Use MAP_FAILED instead of widening __hurd_fail value.
* sysdeps/mach/hurd/bind.c: Use prototype definition.
* sysdeps/mach/hurd/connect.c: Likewise.
* sysdeps/mach/hurd/getsockopt.c: Likewise.
* sysdeps/mach/hurd/setsockopt.c: Likewise.
* sysdeps/mach/hurd/alpha/sigreturn.c: Pass missing argument to
__msg_sig_post RPC.
* hurd/catch-exc.c: Use integer_t instead of int.
* hurd/hurdfault.c: Likewise.
* sysdeps/mach/hurd/alpha/exc2signal.c
(_hurd_exception2signal): Rewritten.
* sysdeps/mach/hurd/alpha/longjmp-ts.c
(_hurd_longjmp_thread_state): Rewritten.
Roland McGrath [Mon, 8 Apr 2002 02:16:01 +0000 (02:16 +0000)]
2002-04-06 Roland McGrath <roland@frob.com>
* hurd/catch-exc.c: Use integer_t instead of int.
* hurd/hurdfault.c: Likewise.
Ulrich Drepper [Sun, 7 Apr 2002 19:46:16 +0000 (19:46 +0000)]
Update.
* nss/getXXbyYY_r.c: If NSS_attribute_hidden is defined use it with the
DB_LOOKUP_FCT prototype.
* nss/getXXent_r.c: Likewise.
* inet/getaliasent_r.c: Define NSS_attribute_hidden.
* inet/getaliasname_r.c: Likewise.
* inet/getnetbyad_r.c: Likewise.
* inet/getnetbynm_r.c: Likewise.
* inet/getnetent_r.c: Likewise.
* inet/getproto_r.c: Likewise.
* inet/getprtent_r.c: Likewise.
* inet/getprtname_r.c: Likewise.
* inet/getrpcbyname_r.c: Likewise.
* inet/getrpcbynumber_r.c: Likewise.
* inet/getrpcent_r.c: Likewise.
* inet/getservent_r.c: Likewise.
* inet/getsrvbynm_r.c: Likewise.
* inet/getsrvbypt_r.c: Likewise.
* shadow/getspent_r.c: Likewise.
* shadow/getspnam_r.c: Likewise.
* malloc/thread-m.h: Define __libc_tsd_MALLOC_data as static.
* sysdeps/i386/elf/bsd-setjmp.S: Use GOTOFF for __sigjmp_save access.
Use i686-friendly PIC code.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Use i686-friendly PIC code.
Ulrich Drepper [Sun, 7 Apr 2002 17:30:05 +0000 (17:30 +0000)]
Update.
2002-04-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/mach/hurd/Versions: Add _dl_init_first to libc and ld export
list.
* elf/Versions: Remove it here.
Ulrich Drepper [Sat, 6 Apr 2002 19:02:42 +0000 (19:02 +0000)]
Update.
2002-04-06 Ulrich Drepper <drepper@redhat.com>
* iconvdata/tcvn5712-1.c (MAX_NEEDED_INPUT): Define for from
direction. Reported by H . J . Lu <hjl@lucon.org>.
Ulrich Drepper [Sat, 6 Apr 2002 05:11:18 +0000 (05:11 +0000)]
Update.
* intl/tst-gettext.sh: Set GCONV_PATH and LOCPATH to values for the
test just before the test runs.
* intl/tst-translit.sh: Likewise.
* intl/tst-codeset.sh: Likewise.
Ulrich Drepper [Sat, 6 Apr 2002 04:05:41 +0000 (04:05 +0000)]
Update.
2002-04-05 Ulrich Drepper <drepper@redhat.com>
* timezone/zic.c: Update from tzcode2002c.
* timezone/asia: Update from tzdata2002c.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/northamerica: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
Ulrich Drepper [Sat, 6 Apr 2002 02:32:55 +0000 (02:32 +0000)]
Update.
Ulrich Drepper [Sat, 6 Apr 2002 01:45:15 +0000 (01:45 +0000)]
Update.
2002-03-23 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/brk.c (__curbrk): Declare.
* sysdeps/generic/dl-brk.c: Add attribute_hidden to __curbrk.
* sysdeps/generic/dl-sbrk.c: Likewise.
* sysdeps/unix/arm/dl-brk.S: New file.
* sysdeps/unix/bsd/hp/m68k/dl-brk.S: New file.
* sysdeps/unix/bsd/osf/alpha/dl-brk.S: New file.
* sysdeps/unix/bsd/sun/m68k/dl-brk.S: New file.
* sysdeps/unix/bsd/vax/dl-brk.S: New file.
* sysdeps/unix/i386/dl-brk.S: New file.
* sysdeps/unix/mips/dl-brk.S: New file.
* sysdeps/unix/sparc/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/alpha/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/ia64/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/powerpc/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/i386/dl-brk.c: Remove.
* sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Remove.
2002-04-03 Andreas Schwab <schwab@suse.de>
* Makefile (headers): Add gnu/lib-names.h here instead of
install-others.
($(inst_includedir)/gnu/lib-names.h): Remove explicit
installation rule.
(install-headers): Add dependency on install-headers-nosubdir.
* stdio-common/Makefile (headers): Add bits/stdio_lim.h here
instead of install-others.
($(inst_includedir)/bits/stdio_lim.h): Remove explicit
installation rule.
2002-04-05 Ulrich Drepper <drepper@redhat.com>
* manual/users.tex (Enable/Disable Setuid): Fix typo in example.
Reported by Sam Roberts <sroberts@uniserve.com>.
2002-04-03 Jakub Jelinek <jakub@redhat.com>
* elf/do-rel.h (elf_dynamic_do_rel): Skip relative relocs if
l_addr == 0 and ELF_MACHINE_REL_RELATIVE.
* sysdeps/alpha/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define.
* sysdeps/ia64/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define.
2002-04-03 David Mosberger <davidm@hpl.hp.com>
* sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind info.
(RTLD_START): Ditto.
(__ia64_init_bootstrap_fdesc_table): Insert stop bit to avoid RAW
dependency violation.
Ulrich Drepper [Fri, 5 Apr 2002 16:53:00 +0000 (16:53 +0000)]
Update.
2002-04-05 Jakub Jelinek <jakub@redhat.com>
* time/mktime.c (__mktime_internal): Move check for year < 70 below
all variable declarations.
2002-04-04 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/ia64/pipe.S: Don't overwrite r8 on error.
* sysdeps/unix/sysv/linux/x86_64/time.c: Removed.
* sysdeps/mips/dec/bits/endian.h: Removed since arch is not supported.
Ulrich Drepper [Fri, 5 Apr 2002 16:41:13 +0000 (16:41 +0000)]
Don't overwrite r8 on error.
Andreas Jaeger [Thu, 4 Apr 2002 09:04:37 +0000 (09:04 +0000)]
Update.
2002-04-04 Andreas Jaeger <aj@suse.de>
* sysdeps/x86_64/fpu/e_sqrt.c: New file.
* sysdeps/x86_64/fpu/e_sqrtf.c: New file.
* sysdeps/x86_64/fpu/s_fabs.c: New file.
* sysdeps/x86_64/fpu/s_fabsf.c: New file.
* sysdeps/x86_64/fpu/s_fabsl.c: New file.
* sysdeps/unix/sysv/linux/x86_64/time.S: New file.
* sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: New file.
* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
* configure.in: Handle all mips entries the same.
* sysdeps/mips/dec/bits/endian.h: Removed since arch is not
supported.
* sysdeps/mips/mips3/*: Likewise.
* sysdeps/mips/p40/bits/endian.h: Likewise.
Andreas Jaeger [Thu, 4 Apr 2002 08:42:21 +0000 (08:42 +0000)]
Remove files. Use assembler implementation instead.
Ulrich Drepper [Thu, 4 Apr 2002 08:12:33 +0000 (08:12 +0000)]
Update.
2002-04-04 Ulrich Drepper <drepper@redhat.com>
* misc/dirname.c (dirname): Ignore trailing slashes at end of
non-null result [PR libc/2600].
* misc/tst-dirname.c: Add more tests.
Ulrich Drepper [Thu, 4 Apr 2002 05:10:14 +0000 (05:10 +0000)]
Update.
2002-04-03 Ulrich Drepper <drepper@redhat.com>
* locale/programs/charmap.c (charmap_read): If the charmap doesn't
define a code_set_name provide one based on the filename.
* malloc/hooks.c: Define weak_variable correctly for _LIBC.
2001-12-28 Andreas Jaeger <aj@suse.de>
* time/mktime.c (__mktime_internal): Check for year < 70
[PR libc/2738].
* sysdeps/generic/w_lgamma.c: Initialized local_signgam.
* sysdeps/generic/w_lgammaf.c: Likewise.
* sysdeps/generic/w_lgammal.c: Likewise [PR libc/2854].
* debug/catchsegv.sh (exval): Quote [ in pattern [PR libc/2902].
Adjust for new output format of the backtrace functions.
* misc/syslog.c (vsyslog): Only use cleanup handler if
_LIBC_REENTRANT is defined [PR libc/2924].
* sysdeps/s390/s390-64/bits/byteswap.h: Likewise [PR libc/2757].
Ulrich Drepper [Wed, 3 Apr 2002 18:14:54 +0000 (18:14 +0000)]
Update.
2002-04-03 Ulrich Drepper <drepper@redhat.com>
* locales/es_ES: Define int_frac_digits and frac_digits as 2.
Ulrich Drepper [Wed, 3 Apr 2002 18:13:46 +0000 (18:13 +0000)]
Define int_frac_digits and frac_digits as 2.
Andreas Jaeger [Wed, 3 Apr 2002 15:35:50 +0000 (15:35 +0000)]
Update.
2002-04-03 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments for
shmat.
Reported by Andi Kleen <ak@suse.de>.
Andreas Jaeger [Wed, 3 Apr 2002 15:33:29 +0000 (15:33 +0000)]
Fix arguments for shmat.
Ulrich Drepper [Wed, 3 Apr 2002 09:26:58 +0000 (09:26 +0000)]
Update.
* libio/Makefile (tests): Add bug-ungetwc2.
* libio/bug-ungetwc2.c: New file.
Ulrich Drepper [Wed, 3 Apr 2002 09:17:17 +0000 (09:17 +0000)]
Update.
* manual/install.texi: Typographical and grammatical cleanup.
Patch by Dennis Grace <dgrace@us.ibm.com>.
Ulrich Drepper [Wed, 3 Apr 2002 08:57:21 +0000 (08:57 +0000)]
Update.
* sunrpc/rpc_svcout.c (write_real_program): Write "result, "
parameter if mtflag. Patch by <jeongyun@innovay.com>.
* sysdeps/unix/sysv/linux/x86_64/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/x86_64/getcontext.S: New file.
* sysdeps/unix/sysv/linux/x86_64/setcontext.S: New file.
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: New file.
Ulrich Drepper [Wed, 3 Apr 2002 08:31:07 +0000 (08:31 +0000)]
Update.
2002-04-03 Ulrich Drepper <drepper@redhat.com>
* sunrpc/rpc_svcout.c (printif): Remove third parameter. It was
always "&". Adjust callers.
Add "_" prefix to several generated definitions.
Patch by paul@serice.net [PR libc/3158].
Ulrich Drepper [Wed, 3 Apr 2002 06:59:37 +0000 (06:59 +0000)]
Update.
* sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Completely specify
size of _dl_arm_cap_flags.
Patch by enrico.scholz@informatik.tu-chemnitz.de [PR libc/3155].
* sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
Define as 8.
2002-03-22 H.J. Lu <hjl@gnu.org>
* scripts/firstversions.awk: Check the first version.
2002-04-02 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Wed, 3 Apr 2002 06:18:49 +0000 (06:18 +0000)]
Update.
* elf/dl-deps.c (_dl_map_object_deps): The sorting of the
dependencies must be stable to work correctly.
Reported by martin.lubich@datacon.at.
Ulrich Drepper [Wed, 3 Apr 2002 05:18:32 +0000 (05:18 +0000)]
Update.
* libio/bug-ungetwc1.c: New file.
* libio/Makefile (tests): Add bug-ungetwc1.
* libio/fileops.c (_IO_new_file_close_it): Only call _IO_do_flush
if stream was last used for writing.
Ulrich Drepper [Wed, 3 Apr 2002 04:11:00 +0000 (04:11 +0000)]
Update.
number [PR libc/3111].
Ulrich Drepper [Wed, 3 Apr 2002 04:05:59 +0000 (04:05 +0000)]
Update.
* elf/do-lookup.h (do_lookup): 2 is the first user-defined version
number.
Ulrich Drepper [Wed, 3 Apr 2002 03:12:43 +0000 (03:12 +0000)]
Update.
2002-04-02 Ulrich Drepper <drepper@redhat.com>
* libio/iofclose.c (_IO_new_fclose): Move freeing of backup buffer
to ...
* libio/fileops.c (_IO_new_file_close_it): ...here [PR libc/3190].
Ulrich Drepper [Wed, 3 Apr 2002 00:36:12 +0000 (00:36 +0000)]
Update.
2002-04-02 Jakub Jelinek <jakub@redhat.com>
* inet/ether_ntoh.c (__nss_ethers_lookup): Add internal_function.
* inet/ether_hton.c (__nss_ethers_lookup): Likewise.
* inet/getnetgrent_r.c (__nss_netgroup_lookup): Likewise.
* sunrpc/netname.c (__nss_publickey_lookup): Likewise.
* sunrpc/publickey.c (__nss_publickey_lookup): Likewise.
2002-03-30 Jakub Jelinek <jakub@redhat.com>
* elf/dynamic-link.h (elf_get_dynamic_info): Don't abort on unknown
dynamic tags.
2002-03-29 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/fpu/s_fabs.S: New file.
* sysdeps/i386/fpu/s_fabsf.S: New file.
* sysdeps/i386/fpu/s_fabsl.S: New file.
* sysdeps/sparc/sparc64/fpu/s_fabs.c: New file.
* sysdeps/sparc/sparc64/fpu/s_fabsf.c: New file.
* sysdeps/sparc/sparc64/fpu/s_fabsl.c: New file.
2002-04-02 Ulrich Drepper <drepper@redhat.com>
* rt/tst-shm.c (do_test): Add one more test for size of shared
memory object.
2002-03-29 Wolfram Gloger <wg@malloc.de>
* malloc/malloc.c: Add short description and prototypes for
malloc_get_state, malloc_set_state and posix_memalign, for
consistency and to avoid warnings with -Wstrict-prototypes.
Reported by Andreas Jaeger <aj@suse.de>.
2002-04-02 Ulrich Drepper <drepper@redhat.com>
* po/gl.po: Update from translation team.
Ulrich Drepper [Tue, 2 Apr 2002 22:29:51 +0000 (22:29 +0000)]
Update.
2002-04-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/ia64/pt-machine.h (MEMORY_BARRIER): Define.
Ulrich Drepper [Tue, 2 Apr 2002 22:28:27 +0000 (22:28 +0000)]
(MEMORY_BARRIER): Define.
Roland McGrath [Tue, 2 Apr 2002 04:43:06 +0000 (04:43 +0000)]
* hurd/hurdselect.c (_hurd_select): Fix
MACH_MSG_TYPE_INTEGER_T -> integer_t in sizeof.
Use a union rather than casts to compare mach_msg_type_t as int.
2002-03-25 Roland McGrath <roland@frob.com>
* hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't
check off the end of NAME when it's shorter than 2 chars.
Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>.
2002-03-17 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/sys/io.h: New file.
* sysdeps/mach/hurd/i386/ioperm.c: New file.
* sysdeps/mach/hurd/i386/Dist: Add them.
* sysdeps/mach/hurd/i386/Versions
(libc: GLIBC_2.2.6): New set, add ioperm.
* sysdeps/mach/configure.in: New check to set HAVE_I386_IO_PERM_MODIFY.
(mach_interface_list): Check for mach_i386.defs.
* config.h.in (HAVE_I386_IO_PERM_MODIFY): #undef it.
* sysdeps/mach/configure: Regenerated.
Roland McGrath [Tue, 2 Apr 2002 04:41:43 +0000 (04:41 +0000)]
2002-03-25 Roland McGrath <roland@frob.com>
* hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't
check off the end of NAME when it's shorter than 2 chars.
Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>.
Ulrich Drepper [Thu, 28 Mar 2002 23:49:09 +0000 (23:49 +0000)]
Update.
2002-03-22 Ulrich Drepper <drepper@redhat.com>
* po/fr.po: Update from translation team.
2002-03-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Remove
getpriority from syscalls list.
Andreas Jaeger [Thu, 28 Mar 2002 19:07:58 +0000 (19:07 +0000)]
Update.
2002-03-28 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/swapcontext.S: New.
* sysdeps/unix/sysv/linux/x86_64/getcontext.S: New.
* sysdeps/unix/sysv/linux/x86_64/setcontext.S: New.
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: New.
Andreas Jaeger [Wed, 27 Mar 2002 11:08:02 +0000 (11:08 +0000)]
Update.
2002-03-27 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
sigcontext): Follow further kernel change.
* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Follow further
kernel change.
* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (GET_STACK):
Change for struct sigcontext change.
* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
Follow changes in struct sigcontext.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Remove ptrace
sysycall, use wrapper instead.
Andreas Jaeger [Tue, 26 Mar 2002 19:45:43 +0000 (19:45 +0000)]
Update.
* sysdeps/i386/i486/bits/string.h (__memcpy_by4): Describe memory
read and write accesses as detailed as possible.
(__memcpy_by2): Likewise.
(__memcpy_g): Likewise.
(memmove): Likewise.
(memcmp): Likewise.
(__memset_ccn_by4): Likewise.
(__memset_ccn_by2): Likewise.
(__memset_gcn_by4): Likewise.
(__memset_gcn_by2): Likewise.
(memchr): Likewise.
(__memrchr): Likewise.
(rawmemchr): Likewise.
(__strlen_g): Likewise.
(__strcpy_g): Likewise.
(__mempcpy_by4): Likewise.
(__mempcpy_by2): Likewise.
(__mempcpy_byn): Likewise.
(__stpcpy_g): Likewise.
(__strncpy_by4): Likewise.
(__strncpy_by2): Likewise.
(__strncpy_byn): Likewise.
(__strncpy_gg): Likewise.
(__strcat_c): Likewise.
(__strcat_g): Likewise.
(__strncat_g): Likewise.
(__strcmp_gg): Likewise.
(__strncmp_g): Likewise.
(__strchr_c): Likewise.
(__strchr_g): Likewise.
(__strchrnul_c): Likewise.
(__strchrnul_g): Likewise.
(__strrchr_c): Likewise.
(__strrchr_g): Likewise.
(__strrchr_c): Likewise.
(__strrchr_g): Likewise.
(__strcspn_c1): Likewise.
(__strcspn_cg): Likewise.
(__strcspn_g): Likewise.
(__strcspn_g): Likewise.
(__strspn_c1): Likewise.
(__strspn_cg): Likewise.
(__strspn_g): Likewise.
(__strspn_g): Likewise.
(__strpbrk_cg): Likewise.
(__strpbrk_g): Likewise.
(__strstr_cg): Likewise.
(__strstr_g): Likewise.
Andreas Jaeger [Tue, 26 Mar 2002 16:52:39 +0000 (16:52 +0000)]
Update.
* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Fix typo. Reported by
Michal Ludvig <mludvig@suse.cz>.
Andreas Jaeger [Tue, 26 Mar 2002 12:38:27 +0000 (12:38 +0000)]
Update.
2002-03-26 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Add 32-bit
compatibilty, adjust for kernel changes.
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
sigcontext): Adjust for kernel changes.
Andreas Jaeger [Mon, 25 Mar 2002 17:07:27 +0000 (17:07 +0000)]
Update.
2002-03-25 Andreas Jaeger <aj@suse.de>
* iconv/gconv_simple.c (ucs4le_internal_loop_single): Handle
little endian.
Reported by Artur Zaprzala <zybi@talex.com.pl>.
Andreas Jaeger [Mon, 25 Mar 2002 17:07:14 +0000 (17:07 +0000)]
(ucs4le_internal_loop_single): Handle little endian.
Roland McGrath [Sun, 24 Mar 2002 22:43:02 +0000 (22:43 +0000)]
Fix bogus regeneration.
Andreas Jaeger [Sun, 24 Mar 2002 13:03:01 +0000 (13:03 +0000)]
Update.
2002-03-24 Andreas Jaeger <aj@suse.de>
* manual/memory.texi (Aligned Memory Blocks): Fix typo.
* stdio-common/tst-fdopen.c (main): Remove unused variable.
* iconv/tst-iconv3.c (main): Use correct printf strings.
Andreas Jaeger [Sun, 24 Mar 2002 12:58:23 +0000 (12:58 +0000)]
(Aligned Memory Blocks): Fix typo.
Roland McGrath [Sun, 24 Mar 2002 03:44:57 +0000 (03:44 +0000)]
* sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsgcred): New type.
(CMGROUP_MAX): New macro.
Roland McGrath [Sun, 24 Mar 2002 02:05:40 +0000 (02:05 +0000)]
* sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm
* sysdeps/posix/shm_unlink.c: Likewise.
Roland McGrath [Sun, 24 Mar 2002 01:59:44 +0000 (01:59 +0000)]
* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Make 2.2.6 default.
* sysdeps/mach/hurd/configure.in: Default oldest ABI is 2.2.6
under --enable-libio.
* sysdeps/mach/hurd/configure: Regenerated.
Roland McGrath [Sun, 24 Mar 2002 01:56:33 +0000 (01:56 +0000)]
* sysdeps/mach/hurd/i386/Makefile
(sysdep_routines, shared-only-routines): Don't add framestate,
reverting 2001-10-02 change.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
Do it here instead, only if [$(unwind-find-fde) = yes].
Roland McGrath [Sun, 24 Mar 2002 01:55:18 +0000 (01:55 +0000)]
2002-03-23 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/Makefile
(sysdep_routines, shared-only-routines): Don't add framestate,
reverting 2001-10-02 change.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
Do it here instead, only if [$(unwind-find-fde) = yes].