about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-06-194-14/+30
| | | | | | | | | | | | | | | | | | 2003-06-19 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/sem_post.c: Move to... * sysdeps/unix/sysv/linux/sem_post.c: ...here. * sysdeps/unix/sysv/linux/sem_post.c: Move to... * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here. Pass nr + 1 instead of nr to lll_futex_wake. Only set errno and return -1 if err < 0. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On success return actual return value from the syscall, not 0. compat_timer_getoverrun.
* Make clear that futex_wake in sem_post gets passed the new value.Ulrich Drepper2003-06-191-1/+2
|
* * td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'Roland McGrath2003-06-191-0/+5
| | | | for value written into inferior's `report_events'.
* 2003-06-19 Roland McGrath <roland@redhat.com>Roland McGrath2003-06-191-2/+3
| | | | | * td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool' for value written into inferior's `report_events'.
* Update.Ulrich Drepper2003-06-182-1/+6
| | | | | | | * malloc/malloc.c (public_mALLINFo): Initialize malloc if it hasn't happened yet. Fix completely broken implementation. The second parameter is of
* Update.Ulrich Drepper2003-06-182-2/+20
| | | | | | | * tst-cancel4.c (tf_msgsnd): Don't always use 100 as the type, find a random value. (tf_msgrcv): Likewise. Also don't report msgrcv returns if errno==EIDRM.
* Update.Ulrich Drepper2003-06-1811-104/+142
| | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): Fix completely broken impleentation. The second parameter is of type struct ucontext*. * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Always inline. * sysdeps/i386/i686/dl-hash.h: Don't inline _dl_elf_hash. * sysdeps/generic/dl-hash.h: Likewise. * sysdeps/generic/memcmp.c: Remove inline from memcmp_common_alignment and memcmp_not_common_alignment definition.
* Update.Ulrich Drepper2003-06-183-2/+13
| | | | | | | 2003-06-18 Ulrich Drepper <drepper@redhat.com> * pthread_mutex_destroy.c (__pthread_mutex_destroy): For error-checking mutex detect busy mutexes.
* Update.Ulrich Drepper2003-06-182-6/+17
| | | | | | | 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.
* Update.Ulrich Drepper2003-06-182-1/+7
| | | | | | | 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.
* Update.Ulrich Drepper2003-06-187-5/+697
| | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-06-183-7/+15
| | | | | | | | | * 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.
* Update.Ulrich Drepper2003-06-1723-98/+838
| | | | | | 2003-06-17 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (build_word_op): Use alnum instead of alpha class.
* Update.Ulrich Drepper2003-06-179-20/+282
| | | | | | | | | * 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.
* Update.Ulrich Drepper2003-06-175-3/+45
| | | | | | | | | | * 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.
* Update..Ulrich Drepper2003-06-172-4/+266
| | | | | | 2003-06-17 Ulrich Drepper <drepper@redhat.com> * tst-cancel4.c: Test open, close, pread, pwrite, fsync, and msync.
* Update.Ulrich Drepper2003-06-1715-24/+121
| | | | | | | 2003-06-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sleep.c: Use CANCELLATION_P if defined before returning because seconds==0.
* Update.Ulrich Drepper2003-06-174-74/+1078
| | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-06-162-2/+19
| | | | | | | | | | | 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
* Update.Ulrich Drepper2003-06-165-31/+139
| | | | | | * Makefile: Add CFLAGS definition to compile function wrappers duplicated from libc with exceptions. * tst-cancel4.c: Also check cancellation handlers.
* Update.Ulrich Drepper2003-06-1615-4/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>.
* Update.Ulrich Drepper2003-06-164-6/+27
| | | | * locale/iso-639.def: Update from current official ISO 639.
* Update.Ulrich Drepper2003-06-169-24/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2003-06-1610-46/+416
| | | | | | | | | 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.
* Update.Ulrich Drepper2003-06-163-4/+13
| | | | | | | * 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.
* Update.Ulrich Drepper2003-06-163-31/+11
| | | | | | | * 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.
* Update.Ulrich Drepper2003-06-1531-61/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (LIBC_CANCEL_ASYNC): Also define for librt. (LIBC_CANCEL_RESET): Likewise. ↵Ulrich Drepper2003-06-151-0/+14
| | | | Declare __librt_enable_asynccancel and __librt_disable_asynccancel.
* * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):Andreas Jaeger2003-06-152-15/+23
| | | | Add CFI directives.
* Update.Andreas Jaeger2003-06-151-0/+5
| | | | | | | 2003-06-15 Guido Guenther <agx@sigxcpu.org> * sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and create $(objpfx).
* 2003-06-15 Guido Guenther <agx@sigxcpu.org>Andreas Jaeger2003-06-151-0/+2
| | | | | * sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and create $(objpfx).
* Bump to 0.46.Ulrich Drepper2003-06-142-1/+2
|
* Update.Ulrich Drepper2003-06-141-0/+2
| | | | * sysdeps/pthread/posix-timer.h (timespec_compare): Always inline.
* Update.Ulrich Drepper2003-06-147-2/+20
| | | | | | | | | * 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.
* Update.Ulrich Drepper2003-06-146-20/+407
| | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-06-142-4/+12
| | | | * sysdeps/unix/sysv/linux/sys/param.h (howmany): Optimize for gcc.
* Update.Ulrich Drepper2003-06-1323-262/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>.
* Include <stdint.h>.Ulrich Drepper2003-06-131-0/+1
|
* * sysdeps/x86_64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Pass FSRoland McGrath2003-06-131-0/+5
| | | | constant from <sys/reg.h> to ps_get_thread_area, not register contents.
* 2003-06-13 Roland McGrath <roland@redhat.com>Roland McGrath2003-06-131-7/+2
| | | | | * 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.
* Update.Ulrich Drepper2003-06-133-7/+15
| | | | | | 2003-06-12 Ulrich Drepper <drepper@redhat.com> * wcsmbs/wchar.h: Define wint_t in std namespace, too [PR libc/5034].
* Update.Ulrich Drepper2003-06-134-4/+28
| | | | | | | | 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>.
* Update.Ulrich Drepper2003-06-122-1/+8
| | | | | | | | | 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.
* Update.Ulrich Drepper2003-06-128-16/+61
| | | | | | | | * 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.
* Update.Ulrich Drepper2003-06-124-15/+31
| | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-06-125-35/+63
| | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-06-125-2/+79
| | | | | | | | | | | | | | | | 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.
* Include stdlib.h and sys/param.h.Ulrich Drepper2003-06-121-1/+3
|
* * Makerules ($(objpfx)stubs): Rewrite sed magic.Roland McGrath2003-06-121-0/+4
|
* 2003-06-12 Roland McGrath <roland@redhat.com>Roland McGrath2003-06-121-10/+14
| | | | * Makerules ($(objpfx)stubs): Rewrite sed magic.