platform/upstream/glibc.git
22 years agoUpdate.
Ulrich Drepper [Wed, 24 Apr 2002 21:09:14 +0000 (21:09 +0000)]
Update.

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

* elf/dl-load.c (open_verify): Correct __lseek parameters.
Patch by Simon Hildrew <simon@hildrew.net> [PR libc/3354].

2002-04-23  H.J. Lu  <hjl@gnu.org>

* include/math.h (isfinite): Fix a typo.

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

* libio/bug-ungetwc2.c (test_locale): Use the de_DE.UTF-8 locale
which is created by the test suite.

2002-04-20  Bruno Haible  <bruno@clisp.org>

* iconvdata/iso-2002-kr.c (MAX_NEEDED_FROM): Set to 4.
(BODY for FROM_LOOP): Fix comparisons between inptr and inend.

2002-04-20  Bruno Haible  <bruno@clisp.org>

* iconvdata/johab.c (BODY for FROM_LOOP): Change type of i, m, f,
to avoid gcc warning.

2002-04-20  Bruno Haible  <bruno@clisp.org>

* iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Fix modification mask
of data->__statep->__count.

2002-04-20  Bruno Haible  <bruno@clisp.org>

* iconvdata/euc-jisx0213.c (BODY for TO_LOOP): Really ignore Unicode
tag characters.
* iconvdata/shift_jisx0213.c (BODY for TO_LOOP): Likewise.

* sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New file.
* sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New file.

22 years agoFix the Unicode values for LETTER H WITH CARON.
Ulrich Drepper [Wed, 24 Apr 2002 20:14:49 +0000 (20:14 +0000)]
Fix the Unicode values for LETTER H WITH CARON.

22 years ago* sysdeps/mach/alpha/syscall.S: Don't use .frame, ENTRY will have it;
Roland McGrath [Wed, 24 Apr 2002 18:17:16 +0000 (18:17 +0000)]
* sysdeps/mach/alpha/syscall.S: Don't use .frame, ENTRY will have it;

use END macro instead of our own .end directive.
Use `callsys' insn mnemonic instead of `call_pal'.

* sysdeps/mach/alpha/sysdep.h (ENTRY): New macro.

* sysdeps/alpha/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New
macro; we need this for Hurd.

Log entry was missing for 2002/03/24 commit of rev 1.8,
goes with 2002-03-17 changes.
* sysdeps/mach/hurd/i386/Makefile [$(subdir) = misc]
(sysdep_routines): Append ioperm here.
(sysdep_headers): Append sys/io.h here.

22 years ago* sysdeps/mach/hurd/send.c: int -> size_t for WROTE.
Roland McGrath [Tue, 23 Apr 2002 22:23:13 +0000 (22:23 +0000)]
* sysdeps/mach/hurd/send.c: int -> size_t for WROTE.

* sysdeps/mach/hurd/sendto.c: Likewise.
* hurd/hurdioctl.c (siocgifconf): int -> size_t for DATA_LEN.
* sysdeps/mach/hurd/wait4.c (__wait4): natural_t -> int for SIGCODE.
* sysdeps/mach/hurd/getpriority.c: unsigned int -> size_t for PISIZE.

22 years ago2002-04-23 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 23 Apr 2002 22:22:24 +0000 (22:22 +0000)]
2002-04-23  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/send.c: int -> size_t for WROTE.
* sysdeps/mach/hurd/sendto.c: Likewise.
* hurd/hurdioctl.c (siocgifconf): int -> size_t for DATA_LEN.
* sysdeps/mach/hurd/wait4.c (__wait4): natural_t -> int for SIGCODE.
* sysdeps/mach/hurd/getpriority.c: unsigned int -> size_t for PISIZE.

22 years agoAdd strerror_r prototype.
Ulrich Drepper [Tue, 23 Apr 2002 21:16:22 +0000 (21:16 +0000)]
Add strerror_r prototype.

22 years ago* sysdeps/mach/hurd/i386/ioperm.c (ioperm): Translate MIG_BAD_ID
Roland McGrath [Tue, 23 Apr 2002 03:49:04 +0000 (03:49 +0000)]
* sysdeps/mach/hurd/i386/ioperm.c (ioperm): Translate MIG_BAD_ID

failure from i386_io_perm_* RPCs to ENOSYS.

22 years ago2002-04-22 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 23 Apr 2002 03:48:54 +0000 (03:48 +0000)]
2002-04-22  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/ioperm.c (ioperm): Translate MIG_BAD_ID
failure from i386_io_perm_* RPCs to ENOSYS.

22 years ago(Output Conversion Syntax): Document how to use precision with the * precision.
Ulrich Drepper [Mon, 22 Apr 2002 19:42:10 +0000 (19:42 +0000)]
(Output Conversion Syntax): Document how to use precision with the * precision.

22 years agoUpdate.
Andreas Jaeger [Mon, 22 Apr 2002 11:52:42 +0000 (11:52 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New.

* sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New.

22 years agoUpdate.
Andreas Jaeger [Mon, 22 Apr 2002 05:58:22 +0000 (05:58 +0000)]
Update.

2002-04-22  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/vfork.S: Use %rdi as temp
register instead of destroying %rbx.

22 years agoUse %rdi as temp register instead of destroying %rbx.
Andreas Jaeger [Mon, 22 Apr 2002 05:58:12 +0000 (05:58 +0000)]
Use %rdi as temp register instead of destroying %rbx.

22 years agoUpdate.
Ulrich Drepper [Sun, 21 Apr 2002 18:04:21 +0000 (18:04 +0000)]
Update.

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

* string/string.h: Declare strerror_r also for XPG6.

22 years agoUpdate.
Ulrich Drepper [Sun, 21 Apr 2002 00:49:57 +0000 (00:49 +0000)]
Update.

* manual/Makefile: Likewise.

22 years ago(glibc-targets): Add xtests.
Ulrich Drepper [Sun, 21 Apr 2002 00:42:54 +0000 (00:42 +0000)]
(glibc-targets): Add xtests.

22 years ago* sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen.
Roland McGrath [Sat, 20 Apr 2002 21:33:03 +0000 (21:33 +0000)]
* sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen.

22 years ago2002-04-19 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 20 Apr 2002 21:32:49 +0000 (21:32 +0000)]
2002-04-19  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen.

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Apr 2002 20:36:26 +0000 (20:36 +0000)]
Update.

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

* Makefile: Add handling of xtests and xcheck targets.
* MakeTAGS: Likewise.
* Makeconfig: Likewise.
* Makerules: Likewise.
* Rules: Likewise.
* sunrpc/Makefile (xtests): Add thrsvc if thread library available.
* sunrpc/thrsvc.c: New file.  By Zack Weinberg.

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Apr 2002 18:57:50 +0000 (18:57 +0000)]
Update.

2002-04-11  Zack Weinberg  <zack@codesourcery.com>

* include/rpc/rpc.h (struct rpc_thread_variables): Remove
authnone_private_s.
* sunrpc/auth_none.c: Include bits/libc-lock.h.
Delete #ifdef _RPC_THREAD_SAFE_ block.
(authnone_private): Make a struct, not a pointer to struct.
(authnone_private_guard): New once-control variable.
(authnone_create_once): New function, split out of
authnone_create.  No need to allocate memory.
(authnone_create): Just call authnone_create_once via
__libc_once, then return &authnone_private->no_client.
(authnone_marshal): Access private data via CLIENT argument,
not authnone_private pointer.
Fix typo (MAX_MARSHEL_SIZE -> MAX_MARSHAL_SIZE).
* sunrpc/rpc_thread.c (__rpc_thread_destroy): No need to free
authnone_private_s.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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>

22 years agoUpdate.
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.

22 years ago(parse_expression): Fix incorrect error code. (parse_dup_op): Fix error handling...
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.

22 years agoUpdate.
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>.

22 years agoFix comment.
Andreas Jaeger [Fri, 19 Apr 2002 14:52:54 +0000 (14:52 +0000)]
Fix comment.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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>.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
Ulrich Drepper [Sun, 14 Apr 2002 08:52:10 +0000 (08:52 +0000)]
Update.

* posix/bsd-getpgrp.c: Use INTUSE for __getpgid call.

22 years agoUpdate.
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.

22 years agoDeclare __getpid_internaland define __getpid macro if not NOT_IN_libc.
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.

22 years agoUpdate.
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.

22 years ago(__strcspn_cg): Use only memory as clobber to reduce register pressure.
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.

22 years ago* sysdeps/m68k/fpu/s_finite.c: Add internal alias.
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.

22 years ago* sysdeps/m68k/fpu/s_finite.c: Add internal alias.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoLOC): Don't paste in a token.
Ulrich Drepper [Thu, 11 Apr 2002 20:38:52 +0000 (20:38 +0000)]
LOC): Don't paste in a token.

22 years agoUpdate.
Andreas Jaeger [Wed, 10 Apr 2002 12:30:50 +0000 (12:30 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/glob.c: New.

22 years agoUpdate.
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.

22 years agoRemove extra char.
Andreas Jaeger [Wed, 10 Apr 2002 11:50:25 +0000 (11:50 +0000)]
Remove extra char.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoFor libc itself replace MB_CUR_MAX definition with one accessing the locale data...
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoFix rewrite rule.
Andreas Jaeger [Mon, 8 Apr 2002 11:14:01 +0000 (11:14 +0000)]
Fix rewrite rule.

22 years agoUpdate.
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.

22 years ago(CPPFLAGS): Also add CPPFLAGS-<basename> where <basename> is the name of the source...
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.

22 years agoUpdate.
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.

22 years agolrint and llrint implementation for x86-64.
Andreas Jaeger [Mon, 8 Apr 2002 08:14:22 +0000 (08:14 +0000)]
lrint and llrint implementation for x86-64.

22 years ago* sysdeps/mach/hurd/dl-sysdep.c (__mmap): Use MAP_FAILED instead of
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.

22 years ago* sysdeps/mach/hurd/alpha/trampoline.c: Don't include
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.

22 years ago* mach/setup-thread.c (__mach_setup_thread): int -> natural_t
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.

22 years ago2002-04-06 Roland McGrath <roland@frob.com>
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
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>.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
Ulrich Drepper [Sat, 6 Apr 2002 02:32:55 +0000 (02:32 +0000)]
Update.

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoDon't overwrite r8 on error.
Ulrich Drepper [Fri, 5 Apr 2002 16:41:13 +0000 (16:41 +0000)]
Don't overwrite r8 on error.

22 years agoUpdate.
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.

22 years agoRemove files. Use assembler implementation instead.
Andreas Jaeger [Thu, 4 Apr 2002 08:42:21 +0000 (08:42 +0000)]
Remove files.  Use assembler implementation instead.

22 years agoUpdate.
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.

22 years agoUpdate.
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].

22 years agoUpdate.
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.

22 years agoDefine 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.

22 years agoUpdate.
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>.

22 years agoFix arguments for shmat.
Andreas Jaeger [Wed, 3 Apr 2002 15:33:29 +0000 (15:33 +0000)]
Fix arguments for shmat.

22 years agoUpdate.
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.

22 years agoUpdate.
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>.

22 years agoUpdate.
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.

22 years agoUpdate.
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].

22 years agoUpdate.
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>

22 years agoUpdate.
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.

22 years agoUpdate.
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.

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 04:11:00 +0000 (04:11 +0000)]
Update.

number [PR libc/3111].

22 years agoUpdate.
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.

22 years agoUpdate.
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].

22 years agoUpdate.
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.

22 years agoUpdate.
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.