platform/upstream/glibc.git
21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 16:28:03 +0000 (16:28 +0000)]
Update.

2003-06-18  Ulrich Drepper  <drepper@redhat.com>

* intl/localealias.c (read_alias_file): Determine whether line is
read incompletely early, before we modify the line.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 06:49:48 +0000 (06:49 +0000)]
Update.

2003-06-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela)
<case R_PPC64_DTPREL64>: Don't segfault on undefined symbols.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 03:38:07 +0000 (03:38 +0000)]
Update.

2003-06-17  Paul Mackerras  <paulus@samba.org>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Adjust.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 00:00:50 +0000 (00:00 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_mutex_lock):
Add ax to clobber list.
(lll_mutex_cond_lock): Likewise.
(lll_mutex_unlock): Likewise.
(lll_lock): Likewise.
(lll_unlock): Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Jun 2003 22:40:05 +0000 (22:40 +0000)]
Update.

2003-06-17  Jakub Jelinek  <jakub@redhat.com>

* posix/regcomp.c (build_word_op): Use alnum instead of alpha class.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Jun 2003 22:11:22 +0000 (22:11 +0000)]
Update.

* sysdeps/unix/clock_nanosleep.c (clock_nanosleep): nanosleep
takes care of enabling cancellation.

* sysdeps/pthread/aio_suspend.c (aio_suspend): Make aio_suspend
cancelable.  It's not correct to disable cancellation.  Instead of
a cleanup handler.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Jun 2003 20:46:06 +0000 (20:46 +0000)]
Update.

* sysdeps/unix/sysv/linux/sigtimedwait.c: If SIGCANCEL is defined
and part of the incoming set, create a temporary set without this
signal.
* sysdeps/unix/sysv/linux/sigwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.

returning because seconds==0.  Add __builtin_expect.

21 years agoUpdate..
Ulrich Drepper [Tue, 17 Jun 2003 09:33:56 +0000 (09:33 +0000)]
Update..

2003-06-17  Ulrich Drepper  <drepper@redhat.com>

* tst-cancel4.c: Test open, close, pread, pwrite, fsync, and msync.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Jun 2003 08:58:31 +0000 (08:58 +0000)]
Update.

2003-06-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sleep.c: Use CANCELLATION_P if defined before
returning because seconds==0.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Jun 2003 08:44:32 +0000 (08:44 +0000)]
Update.

2003-06-17  Ulrich Drepper  <drepper@redhat.com>

* tst-cancel4.c: Add tests for the socket and signal functions, pause.
Also test early cancellation before the thread reaches the cancellation
point.

* Makefile: Compile forward.c with exceptions.

* sysdeps/unix/sysv/linux/sleep.c: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 23:07:43 +0000 (23:07 +0000)]
Update.

2003-06-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/socket.S: Add unwind information.

* sysdeps/unix/sysv/linux/wait.c (__libc_wait): Fix type of result
variable.

* sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date also

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 19:39:00 +0000 (19:39 +0000)]
Update.

* Makefile: Add CFLAGS definition to compile function wrappers
duplicated from libc with exceptions.
* tst-cancel4.c: Also check cancellation handlers.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 17:18:06 +0000 (17:18 +0000)]
Update.

2003-06-16  Thorsten Kukuk  <kukuk@suse.de>

* include/libc-symbols.h: Add static_link_warning macro.
* grp/initgroups.c: Print linker warning if this function
is called in a static linked binary.
* nss/getXXbyYY.c: Likewise.
* nss/getXXbyYY_r.c: Likewise.
* nss/getXXent.c: Likewise.
* nss/getXXent_r.c: Likewise.
* sysdeps/posix/getaddrinfo.c: Likewise.

2003-06-16  Bruno Haible  <bruno@clisp.org>

* iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15,
LATIN-9.
(ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16.
(IBM1047): Add alias IBM-1047.
(GBK): Add aliases MS936, WINDOWS-936.

2003-06-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if
defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64.
(__xstat64_conv): Change xstat_conv to __xstat_conv.

Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 08:57:09 +0000 (08:57 +0000)]
Update.

* locale/iso-639.def: Update from current official ISO 639.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 08:03:44 +0000 (08:03 +0000)]
Update.

* math/tgmath.h (__TGMATH_UNARY_IMAG_ONLY): Removed.

2003-06-15  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Correct setting
of MXCSR.
* sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
* sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
Reported by Arnaud Desitter
<arnaud.desitter@geography.oxford.ac.uk>.

* math/tgmath.h (carg): Handle real arguments.
(conj): Likewise.
(cproj): Likewise.
(cimag): Likewise.
(creal): Likewise.

* math/Makefile (CFLAGS-test-tgmath-ret.c): New.
(tests): Add test-tgmath-ret.
* math/test-tgmath-ret.c: New file.

* math/tgmath.h (ilogb): Return always an int.

2003-06-16  Ulrich Drepper  <drepper@redhat.com>

computation so that prelinking works.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 07:39:03 +0000 (07:39 +0000)]
Update.

2003-06-16  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (dl_main): Use l_map_start not l_addr in Phdr
computation so that prelinking wroks.

* inet/netinet/ip6.h (IP6OPT_PAD1, IP6OPT_PADN): Define.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 07:00:05 +0000 (07:00 +0000)]
Update.

* elf/dl-iteratephdr.c (__dl_iterate_phdr): Don't skip dynamic
linker's map.
* elf/rtld.c (dl_main): Initialize l_phdr and l_phnum of of the
dynamic linker's map.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 05:29:24 +0000 (05:29 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/dl-sysdep.h
(DL_SYSINFO_IMPLEMENTATION): Use CFI opcodes.
* sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h
(DL_SYSINFO_IMPLEMENTATION): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Jun 2003 21:22:26 +0000 (21:22 +0000)]
Update.

2003-06-15  Ulrich Drepper  <drepper@redhat.com>

Fix cancellation point handling wrt exception based cleanup.
* io/Makefile: Compile fcntl.c, poll.c, and lockf.c with exceptions.
* misc/Makefile: Compile pselect.c, readv.c, writev.c, and usleep.c
with exceptions.
* posix/Makefile: Compile pread.c, pread64.c, pwrite.c, pwrite64.c,
sleep.c, wait.c, waitid.c, and waitpid.c with exceptions.
* rt/Makefile: Compile aio_suspend.c and clock_nanosleep.c with
exceptions.
* signal/Makefile: Compile sigpause.c, sigsuspend.c, sigtimedwait.c,
sigwait.c, and sigwaitinfo.c with exceptions.
* stdlib/Makefile: Compile system.c with exceptions.
* sysvipc/Makefile: Compile msgrcv.c and msgsnd.c with exceptions.
* termios/Makefile: Compile tcdrain.c with exceptions.
* sysdeps/generic/lockf.c: Add comment explaining the cancellation
situation.
* sysdeps/generic/pselect.c: Likewise.
* sysdeps/posix/sigpause.c: Likewise.
* sysdeps/posix/system.c: Likewise.
* sysdeps/posix/waitid.c: Likewise.
* sysdeps/unix/sysv/linux/sleep.c: Likewise.
* sysdeps/unix/sysv/linux/usleep.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Major rewrite of
INTERNAL_SYSCALL to not use push inside asm statement so that
unwind info is correct around the syscall.
* sysdeps/unix/clock_nanosleep.c: Add cancellation support.
* sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.

21 years ago(LIBC_CANCEL_ASYNC): Also define for librt. (LIBC_CANCEL_RESET): Likewise. Declare...
Ulrich Drepper [Sun, 15 Jun 2003 20:45:32 +0000 (20:45 +0000)]
(LIBC_CANCEL_ASYNC): Also define for librt. (LIBC_CANCEL_RESET): Likewise. Declare __librt_enable_asynccancel and __librt_disable_asynccancel.

21 years ago* sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
Andreas Jaeger [Sun, 15 Jun 2003 19:40:29 +0000 (19:40 +0000)]
* sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):

Add CFI directives.

21 years agoUpdate.
Andreas Jaeger [Sun, 15 Jun 2003 14:41:45 +0000 (14:41 +0000)]
Update.

2003-06-15  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and
create $(objpfx).

21 years ago2003-06-15 Guido Guenther <agx@sigxcpu.org>
Andreas Jaeger [Sun, 15 Jun 2003 14:41:02 +0000 (14:41 +0000)]
2003-06-15  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and
create $(objpfx).

21 years agoBump to 0.46.
Ulrich Drepper [Sat, 14 Jun 2003 16:47:07 +0000 (16:47 +0000)]
Bump to 0.46.

21 years agoUpdate.
Ulrich Drepper [Sat, 14 Jun 2003 16:44:22 +0000 (16:44 +0000)]
Update.

* sysdeps/pthread/posix-timer.h (timespec_compare): Always inline.

21 years agoUpdate.
Ulrich Drepper [Sat, 14 Jun 2003 09:00:28 +0000 (09:00 +0000)]
Update.

* sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Use __close,
not close.

* inet/inet6_option.c (inet6_option_alloc): Add libc_hidden_def.
* include/netinet/in.h (inet6_option_alloc): Add libc_hidden_proto
definition.

21 years agoUpdate.
Ulrich Drepper [Sat, 14 Jun 2003 08:39:08 +0000 (08:39 +0000)]
Update.

2003-06-14  Ulrich Drepper  <drepper@redhat.com>

* inet/netinet/ip6.h (IP6OPT_PAD1, IP6OPT_PADn): Define.
* inet/netinet/in.h: Add prototypes for inet6_option_* functions.
* inet/Makefile (routines): Add inet6_option.
* inet/inet6_option.c: New file.
* inet/Versions [GLIBC_2.3.3] (libc): Add inet6_option_space,
inet6_option_init, inet6_option_append, inet6_option_alloc,
inet6_option_next, and inet6_option_find.

* inet/netinet/ip6.h (struct ip6_ext): Define.

21 years agoUpdate.
Ulrich Drepper [Sat, 14 Jun 2003 05:18:31 +0000 (05:18 +0000)]
Update.

* sysdeps/unix/sysv/linux/sys/param.h (howmany): Optimize for gcc.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Jun 2003 21:05:42 +0000 (21:05 +0000)]
Update.

2003-06-13  Ulrich Drepper  <drepper@redhat.com>

Fixing gcc 3.3 warnings, part II.
* argp/argp-help.c (hol_entry_long_iterate): Always inline.
* elf/dl-load.c (cache_rpath): Don't inline.
* iconvdata/cns11642l2.h: Always inline all functions.
* iconvdata/iso-ir-165.h: Likewise.
* locale/Makefile (aux): Add coll-lookup.
* locale/coll-lookup.c: New file.
* locale/coll-lookup.h (collidx_table_lookup): Do not define here.
(collseq_table_lookup): Likewise.
* locale/weightwc.h: Adjust collidx_table_lookup calls for name change.
* posix/fnmatch_loop.c: Adjust collseq_table_lookup calls for name
change.
* posix/regcomp.c: Likewise.
* posix/regexec.c: Likewise.
* locale/programs/3level.h (*_get): Always inline.
* locale/programs/locfile.h: Move definition of handle_copy to...
* locale/programs/locfile.c: ...here.
* locale/programs/ld-collate.c (obstack_int32_grow): Always inline.
(obstack_int32_grow_fast): Likewise.
(utf8_encode): Likewise.
(find_element): Avoid aliasing problems.
(insert_value): Likewise.
(collate_read): Likewise.
* nss/getent.c (print_hosts): Don't inline
(print_networks): Likewise.
(print_shadow): Likewise.
(build_doc): Likewise.
* nss/nss_files/files-parse.c [ENTDATA] (parser_stclass): Don't
inline.
* posix/regcomp.c (re_set_fastmap): Always inline.
(seek_collating_symbol_entry): Likewise.
(lookup_collation_sequence_value): Likewise.
(build_range_exp): Likewise.
(build_collating_symbol): Likewise.
* posix/regexec.c (acquire_init_state_context): Don't inline.
(clean_state_log_if_need): Likewise.
* resolv/res_send.c (eConsIovec): Rewrite to not return struct and
adjust all callers.
(evConsTime): Likewise.
(evAddTime): Likewise.
(evSubTime): Likewise.
(evNowTime): Likewise.
(evTimeSpec): Removed.
(__libc_res_nsend): Avoid aliasing problem.
* sysdeps/unix/sysv/linux/ifreq.h: Move old_siocgifconf definition to..
* sysdeps/unix/sysv/linux/ifreq.c: ...here.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_string_hwcap):
Always inline.
(_dl_string_platform): Likewise.
* wctype/wchar-lookup.h (wctype_table_lookup): Always inline.
(wcwidth_table_lookup): Likewise.
(wctrans_table_lookup): Likewise.

* sysdeps/unix/sysv/linux/sys/epoll.h: Include <stdint.h>.

21 years agoInclude <stdint.h>.
Ulrich Drepper [Fri, 13 Jun 2003 19:49:50 +0000 (19:49 +0000)]
Include <stdint.h>.

21 years ago* sysdeps/x86_64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Pass FS
Roland McGrath [Fri, 13 Jun 2003 07:31:10 +0000 (07:31 +0000)]
* sysdeps/x86_64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Pass FS

constant from <sys/reg.h> to ps_get_thread_area, not register contents.

21 years ago2003-06-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 13 Jun 2003 07:30:47 +0000 (07:30 +0000)]
2003-06-13  Roland McGrath  <roland@redhat.com>

* sysdeps/x86_64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Pass FS
constant from <sys/reg.h> to ps_get_thread_area, not register contents.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Jun 2003 05:19:10 +0000 (05:19 +0000)]
Update.

2003-06-12  Ulrich Drepper  <drepper@redhat.com>

* wcsmbs/wchar.h: Define wint_t in std namespace, too [PR libc/5034].

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Jun 2003 02:54:37 +0000 (02:54 +0000)]
Update.

2003-05-29  Jim Meyering  <jim@meyering.net>

* time/strftime.c (my_strftime) [!defined _NL_CURRENT
&& HAVE_STRFTIME]: Use underlying_strftime for %r.
Suggested by Daniel Yacob <locales@geez.org>.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Jun 2003 22:33:06 +0000 (22:33 +0000)]
Update.

2003-06-12  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Replace
@got notation with @toc.
* sysdeps/powerpc/powerpc64/sysdep.h (CALL_MCOUNT): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Jun 2003 22:31:43 +0000 (22:31 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date alse
if only PF_INET address is needed.

* nss/getXXbyYY_r.c: Make sure we always return a nonzero value in
case of an error.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Jun 2003 20:17:22 +0000 (20:17 +0000)]
Update.

2003-06-12  Ulrich Drepper  <drepper@redhat.com>

* scripts/config.guess: Update from upstream version.
* scripts/config.sub: Likewise.

2003-06-12  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/ld-time.c (time_output): Also copy the era format,
not only the name.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Jun 2003 18:29:52 +0000 (18:29 +0000)]
Update.

2003-06-12  H.J. Lu  <hongjiu.lu@intel.com>

* posix/transbug.c (run_test): Return 1 for failure.
(do_test): Compare only if run_test is successful.

2003-06-12  Simon Josefsson  <jas@extundo.com>

* argp/argp.h [!__THROW]: Define if undefined.

* posix/transbug.c: New file.
* inet/Makefile (aux): Add check_pf.
* include/ifaddrs.h: Add prototype for __check_pf.
* sysdeps/generic/check_pf.c: New file.
* sysdeps/unix/sysv/linux/check_pf.c: New file.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Jun 2003 16:20:32 +0000 (16:20 +0000)]
Update.

2003-06-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/cris/sysdep.h: Fix handling of syscalls with
more than four parameters.
Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>.

2003-06-12  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
* sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: New file.

* stdio-common/printf-parsemb.c: Include stdlib.h and sys/param.h.

21 years agoInclude stdlib.h and sys/param.h.
Ulrich Drepper [Thu, 12 Jun 2003 15:06:16 +0000 (15:06 +0000)]
Include stdlib.h and sys/param.h.

21 years ago* Makerules ($(objpfx)stubs): Rewrite sed magic.
Roland McGrath [Thu, 12 Jun 2003 11:30:34 +0000 (11:30 +0000)]
* Makerules ($(objpfx)stubs): Rewrite sed magic.

21 years ago2003-06-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 12 Jun 2003 11:30:23 +0000 (11:30 +0000)]
2003-06-12  Roland McGrath  <roland@redhat.com>

* Makerules ($(objpfx)stubs): Rewrite sed magic.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Jun 2003 02:33:26 +0000 (02:33 +0000)]
Update.

2003-02-28  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (parse_expression): Deliver translation to
build_word_op, and build_charclass.
(build_charclass): Apply translation for character classes too.
(build_word_op): Deliver translation to build_charclass.
* posux/transbug.c: New file.
* posix/Makefile (tests): Add transbug.

2003-06-04  Paolo Bonzini  <bonzini@gnu.org>

* posix/regexec.c (group_nodes_into_DFAstates): Check for
NEXT_ENDBUF_CONSTRAINT.  Move check for constraints which do a
'continue' before the others.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Jun 2003 02:04:20 +0000 (02:04 +0000)]
Update.

* dirent/scandir.c (SCANDIR): Reset errno after calling selector
function [PR libc/5045].

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Jun 2003 01:35:15 +0000 (01:35 +0000)]
Update.

* sysdeps/i386/bits/byteswap.h (__bswap_32): Use bswap instruction
also for P4.

21 years agoUpdate.
Ulrich Drepper [Wed, 11 Jun 2003 23:22:36 +0000 (23:22 +0000)]
Update.

2003-06-11  Ulrich Drepper  <drepper@redhat.com>

* time/tzfile.c: Add a couple of __builtin_expect.

Remove warnings gcc 3.3 shows.
* argp/argp-help.c (hol_entry_short_iterate): Don't inline.
* elf/dl-load.c (fillin_rpath): Likewise.
(add_path): Likewise.
* elf/dl-version.c (find_needed): Always inline.
* elf/do-lookup.c (FCT): Don't inline.
* iconv/Makefile: Extend vpath to intl subdir.
(iconvconfig-modules): Add hash-string.
* iconv/gconv_charset.h (strip): Don't inline.
(upstr): Always inline.
Move __gconv_compare_alias prototype to...
* iconv/gconv_int.h: ...here.
* iconv/gconv_db.c: Don't include gconv_charset.h.
* iconv/gconv_conf.c (add_alias): Don't inline.
(insert_module): Likewise.
* iconv/gconv_simple.c (internal_ucs4_loop): Always inline.
(internal_ucs4_loop_unaligned): Likewise.
(internal_ucs4_loop_single): Likewise.
(ucs4_internal_loop): Likewise.
(ucs4_internal_loop_unaligned): Likewise.
(ucs4_internal_loop_single): Likewise.
(internal_ucs4le_loop): Always inline.
(internal_ucs4le_loop_unaligned): Likewise.
(internal_ucs4le_loop_single): Likewise.
(ucs4le_internal_loop): Likewise.
(ucs4le_internal_loop_unaligned): Likewise.
(ucs4le_internal_loop_single): Likewise.
* iconv/loop.c: Always inline the defined functions.
* iconvdata/cns11642.h: Likewise.
* iconvdata/cns11642l1.h: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/gb2312.h: Likewise.
* iconvdata/jis0201.h: Likewise.
* iconvdata/jis0208.h: Likewise.
* iconvdata/jis0212.h: Likewise.
* iconvdata/jisx0213.h: Likewise.
* iconvdata/ksc5601.h: Likewise.
* iconvdata/utf-7.c (base64): Don't inline.
* include/libc-symbols.h (symbol_set_first_element): Add cast
(symbol_set_end_p): Likewise.
* include/set-hooks (RUN_HOOK): Likewise.
* inet/Makefile (aux): Add ifreq.
* intl/Makefile (aux): Add some entries from routines.  Add
hash-string.
* intl/hash-string.c: New file.
* intl/hash-string.h: Remove hash_string definition.  Declare
__hash_string.
* iconv/gconv_cache.c (find_module_idx): Adjust hash_string caller.
* iconv/iconvconfig.c (new_name): Likewise.
* intl/dcigettext.c (_nl_find_msg): Likewise.
* intl/loadmsgcat.c (_nl_load_domain): Likewise.
* io/ftw.c (open_dir_stream): Always inline.
(process_entry): Don't inline.
* locale/findlocale.c: Include gconv_int.h.
* locale/setlocale.c (new_composite_name): Don't inline.
* locale/weight.h (findidx): Always inline.
* locale/weightwc.h (findidx): Likewise.
* locale/programs/linereader.c (lr_ignore_rest): Define here.
* locale/programs/linereader.h (lr_ignore_rest): Don't define here,
just declare it.
(lr_getc): Always inline.
(lr_ungetc): Likewise.
* nss/nss_files/files-parse.c (parse_list): Likewise.
* stdio-common/Makefile (aux): Add printf-parsemb and
printf-parsewc.
* stdio-common/_itoa.h (_itoa_word): Always inline.
(_fitoa_word, _fitoa): Don't define here, only declare.
* stdio-common/_itoa.c (_iftoa_word): Add here.
(_fitoa): Likewise.
* stdio-common/_itowa.h (_itowa_word): Always inline.
* stdio-common/printf-parse.h (read_int): Don't inline.
(find_spec): Don't define.
Declare __find_specmb and __find_specwc.
(parse_one_spec): Don't define.
Declare __parse_one_specmb and __parse_one_specwc.
* stdio-common/printf-parsemb.c: New file.
* stdio-common/printf-parsewc.c: New file.
* stdio-common/vfprintf.c: Update calls to find_spec and
parse_one_spec for new names.
* stdio-common/printf-prs.c: Likewise.  Define DONT_NEED_READ_INT.
* stdlib/Makefile (aux): Add grouping and groupingwc.
* stdlib/grouping.c: New file.
* stdlib/groupingwc.c: New file.
* stdlib/grouping.h (correctly_grouped_prefix): Don't define here.
Just prototype.
* stdlib/rpmatch.c (try): Don't inline.
* stdlib/strtod.c (round_and_return): Don't line.
(str_to_mpn): Likewise.
(__mpn_lshift_1): Always inline.  Optimize only for constant count.
Adjust for name change of correctly_grouped_prefix.
* sysdeps/generic/strtol.c: Adjust for name change of
correctly_grouped_prefix.
* string/strxfrm.c (utf8_encode): Don't inline.
* sysdeps/generic/dl-cache.c: Define _dl_cache_libcmp.
* sysdeps/generic/dl-cache.h: Just declare _dl_cache_libcmp.
* sysdeps/generic/ifreq.c: New file.
* sysdeps/unix/sysv/linux/ifreq.c: New file.
* sysdeps/generic/ifreq.h (__ifreq): Only declare here.
* sysdeps/unix/sysv/linux/ifreq.h: Likewise.
* sysdeps/generic/ldsodefs.h (_dl_name_match_p): Always inline.
* sysdeps/generic/unwind-dw2-fde.c (start_fde_sort): Don't inline.
(fde_split): Likewise.
(fde_merge): Likewise.
(end_fde_sort): Likewise.
(init_object): Likewise.
(binary_search_unencoded_fdes): Likewise.
(binary_search_single_encoding_fdes): Likewise.
(binary_search_mixed_encoding_fdes): Likewise.
* sysdeps/generic/wordexp.c (w_addchar): Don't inline.
* sysdeps/i386/dl-machine.c (elf_machine_runtime_setup): Always inline.
* sysdeps/posix/sprofil.c (profil_count): Don't inline.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
Add xstatconv.
* sysdeps/unix/sysv/linux/xstatconv.h: New file.
* sysdeps/unix/sysv/linux/xstatconv.c: Don't inline the function.
Export them.  Prepend __ to name.
* sysdeps/unix/sysv/linux/Dist: Add xstatconv.h.
* sysdeps/unix/sysv/linux/fxstat.c: Adjust for name change of
conversion functions.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max,
__statfs_filesize_max, __statfs_symlinks): Define here.  __ prepended
to name.  Change callers.
* sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max,
__statfs_filesize_max, __statfs_symlinks): Don't define here, just
declare.
* sysdeps/unix/sysv/linux/fpathconf.c: Change all callers.
* time/tzfile.c (decode): Always inline.
* wcsmbs/wcsnrtombs.c: Change type of inbuf to unsigned char*.
Remove cast in tomb function call.
* wcsmbs/wcsrtombs.c Likewise.
* wcsmbs/wcstob.c: Introduce new temp variable to take pointer in
tomb function call.

21 years agoUpdate.
Ulrich Drepper [Wed, 11 Jun 2003 21:57:23 +0000 (21:57 +0000)]
Update.

2003-06-11  Ulrich Drepper  <drepper@redhat.com>

* allocatestack.c (queue_stack): Always inline.
* ptreadhP.h (__do_cancel): Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 10 Jun 2003 16:23:23 +0000 (16:23 +0000)]
Update.

* po/zh_CN.po: Update from translation team.

2003-06-10  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/bits/in.h (IPV6_V6ONLY, IPV6_JOIN_ANYCAST,
IPV6_LEAVE_ANYCAST, IPV6_IPSEC_POLICY, IPV6_XFRM_POLICY): Define.

2003-06-10  Ulrich Drepper  <drepper@redhat.com>

21 years ago(IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST, IPV6_IPSEC_POLICY, IPV6_XFRM_POL...
Ulrich Drepper [Tue, 10 Jun 2003 16:20:32 +0000 (16:20 +0000)]
(IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST, IPV6_IPSEC_POLICY, IPV6_XFRM_POLICY): Define.

21 years ago* sysdeps/unix/sysv/linux/s390/sem_timedwait.c (sem_timedwait): Fix
Jakub Jelinek [Tue, 10 Jun 2003 09:58:27 +0000 (09:58 +0000)]
* sysdeps/unix/sysv/linux/s390/sem_timedwait.c (sem_timedwait): Fix

a typo.

* sysdeps/unix/sysv/linux/s390/sem_timedwait.c (sem_timedwait):

21 years ago(sem_timedwait): Fix a typo.
Jakub Jelinek [Tue, 10 Jun 2003 09:58:19 +0000 (09:58 +0000)]
(sem_timedwait): Fix a typo.

21 years agoUpdate.
Ulrich Drepper [Tue, 10 Jun 2003 08:58:05 +0000 (08:58 +0000)]
Update.

* inet/Makefile (aux): Add check_fd.
* include/ifaddrs.h: Add prototype for __check_fd.
* sysdeps/generic/check_fd.c: New file.
* sysdeps/unix/sysv/linux/check_fd.c: New file.
* sysdeps/unix/sysv/linux/ifaddrs.h (__no_netlink_support): Renamed
from no_netlink_support.  Export.
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call getifaddrs,
call __check_pf.

* sysdeps/generic/ifaddrs.h: Add libc_hidden_def.

21 years agoUpdate.
Ulrich Drepper [Tue, 10 Jun 2003 07:45:18 +0000 (07:45 +0000)]
Update.

2003-06-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't leak memory
from getifaddr calls.

21 years agoUpdate.
Ulrich Drepper [Tue, 10 Jun 2003 02:32:35 +0000 (02:32 +0000)]
Update.

2003-06-09  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_SETRESGID_SYSCALL): Define.
* sysdeps/unix/sysv/linux/setegid.c: Use __ASSUME_SETRESGID_SYSCALL
instead of __ASSUME_SETRESUID_SYSCALL.
(setegid): Only use setresgid32 inline syscall if __NR_setresgid32 is
defined.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Only use setresgid32
inline syscall if __NR_setresuid32 is defined.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use
__ASSUME_SETRESGID_SYSCALL instead of __ASSUME_SETRESUID_SYSCALL.
* sysdeps/unix/sysv/linux/i386/setregid.c: Backout last changes.
* sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Protect
code handling non-existant setresgid32 syscall with
#if __ASSUME_SETRESGID_SYSCALL == 0.

2003-06-09  Andreas Schwab  <schwab@suse.de>

* sunrpc/Makefile (generated): Remove rpc-proto.c, rpc-proto.d.
($(rpcsvc:%.x=$(objpfx)x%$o)): Don't depend on
$(objpfx)rpc-proto.d.
(rpcsvc-dt-files, rpcsvc-depfiles): Define.  Include
$(rpcsvc-depfiles) instead of $(objpfx)rpc-proto.d.
($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): Remove rules.

21 years agoUpdate.
Ulrich Drepper [Mon, 9 Jun 2003 22:49:50 +0000 (22:49 +0000)]
Update.

(__pthread_cond_signal): Use correct futex pointer in
__lll_mutex_lock_wait call.

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S

21 years agoUpdate.
Ulrich Drepper [Mon, 9 Jun 2003 07:39:03 +0000 (07:39 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
(__pthread_cond_signal): Some more tweaks to handle cond_lock!=0.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 22:37:53 +0000 (22:37 +0000)]
Update.

* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Use setresuid32
syscall directly if possible.  If __ASSUME_SETRESUID_SYSCALL is
defined drop compatibility code.
* sysdeps/unix/sysv/linux/setegid.c (setegid): Use setresgid32
syscall directly if possible.  If __ASSUME_SETRESUID_SYSCALL is
defined drop compatibility code.
* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Use
setresuid32 syscall directly if possible.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use
setresgid32 syscall directly if possible.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 20:24:04 +0000 (20:24 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Make POSIX
compliant.  Don't change sgid.
* sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Make POSIX
compliant.  Don't change suid.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 16:30:17 +0000 (16:30 +0000)]
Update.

* sysdeps/unix/sysv/linux/s390/sem_wait.c (__new_sem_wait): Make
cancelable.
* sysdeps/unix/sysv/linux/s390/sem_timedwait.c (__sem_timedwait):
Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 08:16:08 +0000 (08:16 +0000)]
Update.

2003-06-08  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Remove
hand-written CFI generation code.  Since ENTRY/END also initiated
CFI frames this caused two CFI sets to be generated.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 07:09:07 +0000 (07:09 +0000)]
Update.

2003-06-08  Ulrich Drepper  <drepper@redhat.com>

* config.h.in: Add have-forced-unwind.
* configure.in: Add AC_SUBST(libc_cv_forced_unwind).

* sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/alpha/elf/start.S: Likewise.  Remove pointless allocation.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp
entry sequence and explicit relocs.  Add unwind info for sigreturn
and rt_sigreturn.
* configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
Annotate some parameters.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.
* include/libc-symbols.h (symbol_set_declare): Use arrays
of unspecified size.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 05:28:14 +0000 (05:28 +0000)]
Update.

2003-06-07  Ulrich Drepper  <drepper@redhat.com>

* cleanup_routine.c: New file.
* Versions (libpthread) [GLIBC_2.3.3]: Add __pthread_cleanup_routine.
* sysdeps/pthread/pthread.h: Add support for fully exception-based
cleanup handling.
* Makefile (libpthread-routines): Add cleanup_routine.
Add more CFLAGS variables to compile with exceptions.  Add comments
why which file needs unwind tables.
(tests) [have-forced-unwind==yes]: Add tst-cancelx* and tst-cleanupx*
tests.
* tst-cancelx1.c: New file.
* tst-cancelx2.c: New file.
* tst-cancelx3.c: New file.
* tst-cancelx4.c: New file.
* tst-cancelx5.c: New file.
* tst-cancelx6.c: New file.
* tst-cancelx7.c: New file.
* tst-cancelx8.c: New file.
* tst-cancelx9.c: New file.
* tst-cancelx10.c: New file.
* tst-cancelx11.c: New file.
* tst-cancelx12.c: New file.
* tst-cancelx13.c: New file.
* tst-cancelx14.c: New file.
* tst-cancelx15.c: New file.
* tst-cleanupx0.c: New file.
* tst-cleanupx0.expect: New file.
* tst-cleanupx1.c: New file.
* tst-cleanupx2.c: New file.
* tst-cleanupx3.c: New file.

* tst-cleanup0.c: Make standard compliant.
* tst-cleanup1.c: Likewise.

* sysdeps/unix/sysv/linux/sem_timedwait.c: Add cancellation support.
* sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Likewise.
* sysdeps/i386/tcb-offsets.sym: Add RESULT, CANCELHANDLING, and
CLEANUP_JMP_BUF.
* sysdeps/x86_64/tcb-offsets.sym: Likewise.
* tst-cancel12.c: New file.
* tst-cancel13.c: New file.
* tst-cancel14.c: New file.
* tst-cancel15.c: New file.
* Makefile (tests): Add tst-cancel12, tst-cancel13, tst-cancel14,
and tst-cancel15.

* tst-cancel1.c: Add some comments.

* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Compute relative
timeout correctly.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Jun 2003 23:24:07 +0000 (23:24 +0000)]
Update.

* test-skeleton.c (main): If EXPECTED_STATUS is defined check that
returned status from child matches.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Jun 2003 09:40:26 +0000 (09:40 +0000)]
Update.

2003-06-07  Ulrich Drepper  <drepper@redhat.com>

* Makeconfig (gnulib): Add -lgcc_eh once again.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Jun 2003 00:40:13 +0000 (00:40 +0000)]
Update.

* test-skeleton.c (main): Use TEMP_FAILURE_RETRY with waitpid.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Jun 2003 00:19:38 +0000 (00:19 +0000)]
Update.

21 years agoUpdate.
Ulrich Drepper [Fri, 6 Jun 2003 17:34:54 +0000 (17:34 +0000)]
Update.

* sysdeps/unix/sysv/linux/sleep.c (__sleep): Use nanosleep syscall
directly to avoid cancellation in the regular nanosleep
implementation.

21 years agoUpdate.
Ulrich Drepper [Fri, 6 Jun 2003 09:02:20 +0000 (09:02 +0000)]
Update.

2003-06-06  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Only allow
%edx for first parameter.  This means no pushl and therefore the
unwind info isn't screwed up.

21 years agoUpdate.
Ulrich Drepper [Fri, 6 Jun 2003 07:53:15 +0000 (07:53 +0000)]
Update.

2003-06-06  Ulrich Drepper  <drepper@redhat.com>

* Makefile (CFLAGS-pthread_cancel.c): Define.

21 years ago(CFLAGS-pthread_cancel.c): Define.
Ulrich Drepper [Fri, 6 Jun 2003 07:51:02 +0000 (07:51 +0000)]
(CFLAGS-pthread_cancel.c): Define.

21 years ago * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace. ...
Richard Henderson [Fri, 6 Jun 2003 05:54:15 +0000 (05:54 +0000)]
    * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.         * sysdeps/alpha/elf/start.S: Likewise.  Remove pointless allocation.         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp         entry sequence and explicit relocs.  Add unwind info for sigreturn         and rt_sigreturn.         * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.         * configure: Regenerate.

        * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
        * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
        * sysdeps/alpha/elf/start.S: Likewise.  Remove pointless allocation.
        * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp
        entry sequence and explicit relocs.  Add unwind info for sigreturn
        and rt_sigreturn.
        * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.
        * configure: Regenerate.

21 years ago * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New. ...
Richard Henderson [Fri, 6 Jun 2003 05:52:52 +0000 (05:52 +0000)]
    * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.         Annotate some parameters.         * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.

        * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
        Annotate some parameters.
        * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.

21 years ago * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.
Richard Henderson [Fri, 6 Jun 2003 05:51:53 +0000 (05:51 +0000)]
    * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.

        * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.

21 years ago * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use and...
Richard Henderson [Fri, 6 Jun 2003 05:51:03 +0000 (05:51 +0000)]
    * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use         and require CFI assembler directives.         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.

2003-06-05  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use
and require CFI assembler directives.
* sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.

21 years ago * include/libc-symbols.h (symbol_set_declare): Use arrays of unspecif...
Richard Henderson [Fri, 6 Jun 2003 05:43:57 +0000 (05:43 +0000)]
    * include/libc-symbols.h (symbol_set_declare): Use arrays         of unspecified size.

2003-06-04  Richard Henderson  <rth@redhat.com>

        * include/libc-symbols.h (symbol_set_declare): Use arrays
        of unspecified size.

21 years agoUpdate.
Ulrich Drepper [Fri, 6 Jun 2003 02:24:30 +0000 (02:24 +0000)]
Update.

2003-06-04  Jakub Jelinek  <jakub@redhat.com>

* config.make.in (ASFLAGS-config): New.
* Makeconfig (ASFLAGS): Append $(ASFLAGS-config).
* configure.in (libc_cv_as_noexecstack): New check.
(ASFLAGS_config): Substitute.

2003-06-04  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/fpu/bits/mathinline.h (log1p, asinh, acosh, atanh,
hypot, logb): Protect with #ifdef __FAST_MATH__.

2003-06-04  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/i386/fpu/bits/mathinline.h (ldexpf, ldexpl): Protect with
#ifdef __FAST_MATH__.

_POSIX_ prefix.

21 years agoUpdate.
Ulrich Drepper [Thu, 5 Jun 2003 19:31:57 +0000 (19:31 +0000)]
Update.

2003-06-05  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_rwlock_t):
Change type of __writer element to int.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
* sysdeps/i386/tcb-offsets.sym: Replace SELF entry with TID entry.
* sysdeps/x86_64/tcb-offsets.sym: Likewise.
* pthread_rwlock_trywrlock.c: Store TID not self pointer in __writer.
Compare with TID to determine deadlocks.
* sysdeps/pthread/pthread_rwlock_rdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedwrlock.: Likewise.
* sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Likewise.
* Makefile (tests): Add tst-rwlock12.
* tst-rwlock12.c: New file.

21 years agoTest for inter-process rwlocks.
Ulrich Drepper [Thu, 5 Jun 2003 19:20:54 +0000 (19:20 +0000)]
Test for inter-process rwlocks.

21 years ago* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait,
Jakub Jelinek [Thu, 5 Jun 2003 08:12:11 +0000 (08:12 +0000)]
* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait,

__lll_timedlock_wait, lll_unlock_wake_cb, __lll_timedwait_tid):
Remove bogus hidden_proto.
* sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c (___lll_lock):
Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevellock.c (___lll_lock,
lll_unlock_wake_cb, ___lll_timedwait_tid): Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevelmutex.c (___lll_mutex_lock,
___lll_mutex_timedlock): Likewise.
2003-06-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait,
__lll_timedlock_wait, lll_unlock_wake_cb, __lll_timedwait_tid):
Remove bogus hidden_proto.
* sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c (___lll_lock):
Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevellock.c (___lll_lock,
lll_unlock_wake_cb, ___lll_timedwait_tid): Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevelmutex.c (___lll_mutex_lock,
___lll_mutex_timedlock): Likewise.

21 years agoRegenerated.
Ulrich Drepper [Wed, 4 Jun 2003 21:41:25 +0000 (21:41 +0000)]
Regenerated.

21 years agoUpdate.
Ulrich Drepper [Wed, 4 Jun 2003 19:48:29 +0000 (19:48 +0000)]
Update.

2003-06-04  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
(__pthread_cond_signal): Add some code to eventually handle
cond_lock!=0.

21 years agoUpdate.
Ulrich Drepper [Wed, 4 Jun 2003 05:12:46 +0000 (05:12 +0000)]
Update.

2003-06-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/glob.c [HAVE_D_TYPE] (glob_in_dir): Also allow
DT_LNK entries if GLOB_ONLYDIR is set [PR libc/5043].
* posix/globtest.sh: Adjust for this change.

21 years agoUpdate.
Ulrich Drepper [Tue, 3 Jun 2003 23:07:39 +0000 (23:07 +0000)]
Update.

* sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname
to get the actual PID value used in the records passed up.
(getifaddrs): Don't initialize nh.pid here.

2003-06-02  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Tue, 3 Jun 2003 05:46:37 +0000 (05:46 +0000)]
Update.

* sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor
optimization.

21 years agoUpdate.
Ulrich Drepper [Tue, 3 Jun 2003 03:23:17 +0000 (03:23 +0000)]
Update.

* po/zh_CN.po: Update from translation team.

21 years agoUpdate.
Ulrich Drepper [Mon, 2 Jun 2003 22:44:59 +0000 (22:44 +0000)]
Update.

2003-06-02  Ulrich Drepper  <drepper@redhat.com>

* posix/getconf.c (main): Also recognize names without the
__POSIX_ prefix.

* elf/Makefile (CFLAGS-dl-lookup.c): Define.

21 years agoUpdate.
Ulrich Drepper [Mon, 2 Jun 2003 22:41:06 +0000 (22:41 +0000)]
Update.

2003-06-02  Bernd Schmidt  <bernds@redhat.com>

* sysdeps/i386/fpu/bits/mathinline.h (sqrt, __sqrtl, ldexp,
ldexpf, ldexpl): Only define if __FAST_MATH__.

21 years ago(sqrt, __sqrtl, ldexp, ldexpf, ldexpl): Only define if __FAST_MATH__.
Ulrich Drepper [Mon, 2 Jun 2003 22:39:19 +0000 (22:39 +0000)]
(sqrt, __sqrtl, ldexp, ldexpf, ldexpl): Only define if __FAST_MATH__.

21 years agoReplace hard-coded offsets into struct sigcontext with generated file.
Roland McGrath [Mon, 2 Jun 2003 19:56:35 +0000 (19:56 +0000)]
Replace hard-coded offsets into struct sigcontext with generated file.

* sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file.
* sysdeps/unix/sysv/linux/ia64/Makefile
[$(subdir) = stdlib] (gen-as-const-headers): Add it.
* sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of
defining SC_* macros here.

21 years ago* sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove.
Roland McGrath [Mon, 2 Jun 2003 18:32:20 +0000 (18:32 +0000)]
* sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove.

21 years ago* sysdeps/i386/dl-machine.h: Include <sysdep.h>.
Roland McGrath [Mon, 2 Jun 2003 18:20:33 +0000 (18:20 +0000)]
* sysdeps/i386/dl-machine.h: Include <sysdep.h>.

21 years ago2003-06-01 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Mon, 2 Jun 2003 18:20:22 +0000 (18:20 +0000)]
2003-06-01  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/dl-machine.h: Include <sysdep.h>.

21 years agoUpdate.
Ulrich Drepper [Sun, 1 Jun 2003 18:07:34 +0000 (18:07 +0000)]
Update.

* test-skeleton.c (main): Request getopt to not reorder the
command line.

21 years agoUpdate.
Ulrich Drepper [Sun, 1 Jun 2003 08:52:38 +0000 (08:52 +0000)]
Update.

2003-06-01  Ulrich Drepper  <drepper@redhat.com>

* elf/Makefile (CFLAGS-dl-runtime.c): Define.

* wcsmbs/wcpncpy.c (__wcpncpy): Fix broken implementation to match
stpncpy.

21 years agoUpdate.
Ulrich Drepper [Sun, 1 Jun 2003 04:09:55 +0000 (04:09 +0000)]
Update.

2003-05-31  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (SA_NOCLDWAIT): Define.

21 years agoUpdate.
Ulrich Drepper [Sun, 1 Jun 2003 01:32:04 +0000 (01:32 +0000)]
Update.

2003-05-31  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_plt_conflict):
New function.
(elf_machine_rela) <case R_PPC64_JMP_SLOT>: Avoid
RESOLVE_CONFLICT_FIND_MAP.  If RESOLVE_CONFLICT_FIND_MAP is defined,
call elf_machine_plt_conflict instead of elf_machine_fixup_plt.

* sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add
CFI directives.

* csu/Makefile: Fix Makefile warnings regarding Scrt1.o.

21 years agoUpdate.
Ulrich Drepper [Sat, 31 May 2003 23:36:18 +0000 (23:36 +0000)]
Update.

* csu/Makefile: Fix Makefile warnings regarding Scrt1.

* sysdeps/ia64/elf/initfini.c (gmon_initializer): Mark with

21 years agoUpdate.
Ulrich Drepper [Sat, 31 May 2003 19:58:46 +0000 (19:58 +0000)]
Update.

* Makefile (tests): Add tst-sem8 and tst-sem9.
* tst-sem8.c: New file.
* tst-sem9.c: New file.
* sem_open.c: Fix creation of in_use record if the file exists but
no internal record.

21 years agoUpdate.
Ulrich Drepper [Sat, 31 May 2003 07:50:12 +0000 (07:50 +0000)]
Update.

2003-05-31  Ulrich Drepper  <drepper@redhat.com>

* libio/fileops.c (_IO_file_open): Don't mark as inline.

* sysdeps/ia64/elf/initfini.c ((gmon_initializer): Mark with
attribute used.

21 years agoUpdate.
Ulrich Drepper [Sat, 31 May 2003 06:30:37 +0000 (06:30 +0000)]
Update.

2003-05-30  Ulrich Drepper  <drepper@redhat.com>

* scripts/config.guess: Update from master copy.
* scripts/config.sub: Likewise.