aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-11-232002-11-23 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp. Reported by Luca Barbieri <ldb@ldb.ods.org>.
2002-11-22__unused3, and __unused4 fields.Andreas Schwab
2002-11-22* sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)Roland McGrath
[__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2, and __unused3 fields. * sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds) [__WORDSIZE == 32]: Only PPC32 requires __unused1 and __unused2 fields. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds) [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2, __unused3,and __unused4 fields.
2002-11-222002-11-20 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath
* csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to obtain lowest address for profiling in __monstartup call. * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove redunant $(calls) $(calls:=f) $(long-c-$(long-double-fcts)). 2002-11-21 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set __libc_multiple_libcs here. Call __setfpucw.
2002-11-22* sysdeps/mach/hurd/i386/init-first.c (posixland_init): SetRoland McGrath
__libc_multiple_libcs here. Call __setfpucw. * locale/localeinfo.h (struct locale_data): Revert last change.
2002-11-22* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.Roland McGrath
From Ian Wienand <ianw@gelato.unsw.edu.au>. * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to __NR_pread64 if not defined. (__NR_pwrite): Define to __NR_pwrite64 if not defined. From Ian Wienand <ianw@gelato.unsw.edu.au>.
2002-11-222002-11-21 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it. From Ian Wienand <ianw@gelato.unsw.edu.au>.
2002-11-22Update.Ulrich Drepper
* elf/Makefile (tests): Don't run test-arrayX tests for now.
2002-11-22Update.Ulrich Drepper
2002-11-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags. * sysdeps/unix/sysv/linux/i386/clone.S: Add support for CLONE_CHILD_*TID flags.
2002-11-22Add support for CLONE_CHILD_*TID flags.Ulrich Drepper
2002-11-21* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):Andreas Jaeger
We pass struct ucontext on x86-64. (GET_PC): Adjust. (GET_FRAME): Adjust. (GET_STACK): Adjust.
2002-11-21* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): Andreas Jaeger
We pass struct ucontext on x86-64. (GET_PC): Adjust. (GET_FRAME): Adjust. (GET_STACK): Adjust.
2002-11-21Improve error message.Ulrich Drepper
2002-11-21* sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: FurtherRoland McGrath
conditionalize [! DO_VERSIONING] #error.
2002-11-21* scripts/abilist.awk: Grok function descriptor symbols.Roland McGrath
* intl/tst-gettext.c (main): Check return values from setlocale. Add necessary unsetenv's to make LANG=existing-locale check work. * intl/tst-gettext.sh: Use mkdir -p. Copy test files unconditionally, so aborted prior runs don't confuse things. * locale/localeinfo.h (struct locale_data: union locale_data_value): Use uintptr_t instead of unsigned int for `word' member. (_NL_CURRENT_WORD): Cast to uint32_t. * posix/bug-regex5.c (main): Use union to extract _NL_COLLATE_NRULES value.
2002-11-212002-11-20 Roland McGrath <roland@redhat.com>Roland McGrath
* intl/tst-gettext.sh: Use mkdir -p. Copy test files unconditionally, so aborted prior runs don't confuse things.
2002-11-21Update.Ulrich Drepper
* elf/tls-macros.h: Add IA-64 definitions. Patch by Ian Wienand <ianw@gelato.unsw.edu.au>.
2002-11-21Update.Ulrich Drepper
* iconv/Makefile (tests): Add tst-iconv4. * iconv/tst-iconv4.c: New file.
2002-11-20Update.Ulrich Drepper
* iconv/gconv_simple.c (internal_ucs4le_loop_unaligned): Return __GCONV_EMPTY_INPUT only if input is really empty. Otherwise __GCONV_INCOMPLETE_INPUT. (ucs4le_internal_loop): Likewise. (ucs4le_internal_loop_unaligned): Likewise. * iconvdata/unicode.c (PREPARE_LOOP): Likewise. * iconvdata/utf-16.c (PREPARE_LOOP): Likewise. * iconvdata/utf-32.c (PREPARE_LOOP): Likewise. * iconv/loop.c (LOOPFCT): First test for empty input then for full output buffer.
2002-11-20Update.Ulrich Drepper
2002-11-20 Ulrich Drepper <drepper@redhat.com> * inet/getnameinfo.c: Use extend_alloca where appropriate. * sysdeps/posix/getaddrinfo.c: Likewise. * include/alloca.h (extend_alloca): New define. Based on stack direction it'll try to append to the previouls allocated buffer. 2002-11-07 Thorsten Kukuk <kukuk@suse.de> * sysdeps/posix/getaddrinfo.c (gaih_inet): If AF_UNSPEC is set, use the same service for AF_INET and AF_INET6. 2002-11-19 Ulrich Drepper <drepper@redhat.com> * intl/localealias.c (read_alias_file): Use only about 400 bytes of stack space instead of 16k.
2002-11-20(extend_alloca): New define. Based on stack direction it'll try to append ↵Ulrich Drepper
to the previouls allocated buffer.
2002-11-20* malloc/arena.cRoland McGrath
(ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do nothing if not initialized. Bug report from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
2002-11-202002-11-18 Wolfram Gloger <wg@malloc.de>Roland McGrath
* malloc/arena.c (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do nothing if not initialized. Bug report from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
2002-11-20(read_alias_file): Use only about 400 bytes of stack space instead of 16k.Ulrich Drepper
2002-11-20Update.Ulrich Drepper
2002-11-19 Ulrich Drepper <drepper@redhat.com> * Versions (libc:GLIBC_2.0): Remove names of functions which are not defined in libc. * Makefile (shared-only-routines): Add weaks. * weaks.c: Remove functions which are not exported from libc.so.
2002-11-20Remove functions which are not exported from libc.so.Ulrich Drepper
2002-11-20* posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity andRoland McGrath
sched_setaffinity.
2002-11-19* configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use librariesRoland McGrath
`-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed. * configure: Regenerated.
2002-11-192002-11-19 Roland McGrath <roland@redhat.com>Roland McGrath
* configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries `-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed. * configure: Regenerated.
2002-11-19Update.Ulrich Drepper
2002-11-19 Ulrich Drepper <drepper@redhat.com> * include/dlfcn.h: __libc_dlopen is now a macro calling __libc_dlopen_mode with the extra parameter RTLD_LAZY. (__libc_dlopen_mode): New prototype. * elf/dl-libc.c (__libc_dlopen_mode): Renamed from __libc_dlopen. Add new parameter. Store new parameter in mode field of structure passed to do_dlopen. (struct do_dlopen_args): Add new field mode. (do_dlopen): Pass mode from parameter structure to _dl_open. * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Define mcontext_t as a sigcontext. * manual/crypt.texi (Cryptographic Functions): Mention that the MD5 one-way algorithm is compatible with BSD's.
2002-11-19__libc_dlopen is now a macro calling __libc_dlopen_mode with the extra ↵Ulrich Drepper
parameter RTLD_LAZY. (__libc_dlopen_mode): New prototype.
2002-11-19* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]Roland McGrath
(F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions. * sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.
2002-11-19* sysdeps/hppa/fpu/libm-test-ulps: New file (generated).Roland McGrath
* sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable. Set -mdisable-fpregs for this file. 2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/unix/sysv/linux/configure.in: Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols from gcc-3.0 era for backwards compatibility. * sysdeps/unix/sysv/linux/configure: Regenerate. * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Define mcontext_t as a sigcontext. * dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)). Free memory in `last_result' if it was used. * resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search all aliases for one that matches the "<dotted-quad>.IN-ADDR.ARPA" form. Do the parsing inline instead of copying strings and calling inet_network, and properly skip all alias names not matching the form.
2002-11-18* manual/pattern.texi (Variable Substitution): Fix # and ## examples.Roland McGrath
* manual/pattern.texi (Wordexp Example): Fix sample code. 2002-11-14 Paul Eggert <eggert@twinsun.com>
2002-11-182002-11-18 Roland McGrath <roland@redhat.com>Roland McGrath
* manual/pattern.texi (Variable Substitution): Fix # and ## examples.
2002-11-18(Wordexp Example): Fix three bugs in the example code, all related to the ↵Ulrich Drepper
options parameter.
2002-11-18Update.Ulrich Drepper
2002-11-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/clone.S: Initialize word in the childs stack which will be loaded into the %esi register. * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer overflow when skipping the question part and when unpacking aliases.
2002-11-18Initialize word in the childs stack which will be loaded into the %esi register.Ulrich Drepper
2002-11-182002-11-14 Paul Eggert <eggert@twionsun.com>Roland McGrath
* resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer overflow when skipping the question part and when unpacking aliases.
2002-11-15* math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan,Roland McGrath
s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit. Instead add $(calls:s_%=m_%) to get m_* versions of them all.
2002-11-15* sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.Roland McGrath
* sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY. 2002-11-15 Roland McGrath <roland@redhat.com> * math/Makefile (libm-calls): Change s_ldexp to m_ldexp. * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc] from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep). (+make-include-of-dep): New canned sequence. * stdlib/canonicalize.c (__realpath): Check for malloc failure. From Dmitry V. Levin <ldv@altlinux.org>.
2002-11-15* sysdeps/generic/errno.c (__libc_errno): Remove alias.Roland McGrath
* inet/herrno.c (__libc_h_errno): Likewise. * resolv/res_libc.c (__libc_res): Likewise. [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD]. (__res_state) [! USE___THREAD]: Don't define as weak. * csu/Versions: Revert last change. * resolv/Versions: Revert last change. * Makerules ($(common-objpfx)%.make): New pattern rule. * tls.make.c: New file. * Makefile (distribute): Add it.
2002-11-152002-11-14 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/generic/errno.c (__libc_errno): Remove alias. * inet/herrno.c (__libc_h_errno): Likewise. * resolv/res_libc.c (__libc_res): Likewise. [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD]. (__res_state) [! USE___THREAD]: Don't define as weak. * csu/Versions: Revert last change. * resolv/Versions: Revert last change.
2002-11-15Regenerated: autoconf sysdeps/unix/common/configure.inUlrich Drepper
2002-11-15Regenerated: autoconf sysdeps/unix/sysv/linux/configure.inUlrich Drepper
2002-11-14* sysdeps/generic/errno.c [! USE___THREAD]Roland McGrath
[HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these with compat_symbol so they are not link-time visible. [! USE___THREAD] (__libc_errno): New alias for errno. * csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE): Add __libc_errno here. * inet/herrno.c [USE___THREAD]: Use this conditional in place of [USE_TLS && HAVE___THREAD]. [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING] (h_errno, _h_errno): Declare these with compat_symbol so they are not link-time visible. [! USE___THREAD] (__libc_h_errno): New alias for h_errno. * resolv/res_libc.c [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise. (_res): Use __attribute__ ((section (".bss"))) so we can have an alias. (__libc_res): Define as alias for _res. * resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE): Add __libc_h_errno and __libc_res here. 2002-11-14 Jakub Jelinek <jakub@redhat.com> * csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now. * resolv/Versions (h_errno, _res): Likewise. 2002-11-14 Roland McGrath <roland@redhat.com>
2002-11-14* Makerules (%.dynsym): Remove $(objpfx) from target and dep.Roland McGrath
(%.symlist): Likewise.
2002-11-142002-11-14 Roland McGrath <roland@redhat.com>Roland McGrath
* Makerules (%.dynsym): Remove $(objpfx) from target and dep.
2002-11-14* sysdeps/unix/sysv/linux/ia64/pt-initfini.c: Fix unterminatedAndreas Schwab
string.
2002-11-14Fix unterminated string.Andreas Schwab