aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-12-28Don't use __FUNCTION__ as literal.Andreas Jaeger
2001-12-26* sysdeps/mach/hurd/sigwait.c (__sigwait): When returning immediately,Roland McGrath
check only (SS->pending & MASK) for the signal to return. From Jeroen Dekkers <jeroen@dekkers.cx>. * iconv/skeleton.c [!RESET_INPUT_BUFFER && !SAVE_RESET_STATE]: Use preprocessor #if conditionals instead of `if' to avoid warnings about divide by zero in dead code.
2001-12-22* hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set,Roland McGrath
_hurd_port_init, and __hurd_self_sigstate.
2001-12-22* mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy.Roland McGrath
* hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set and __hurd_self_sigstate.
2001-12-222001-12-22 Roland McGrath <roland@frob.com>Roland McGrath
* mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy. * hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set and __hurd_self_sigstate.
2001-12-21Update.Andreas Jaeger
2001-12-21 Andreas Jaeger <aj@suse.de> * elf/dblloadmod1.c: Add prototype to avoid warning. * elf/dblloadmod2.c: Likewise. * elf/dblloadmod3.c: Likewise. * elf/reldepmod5.c: Likewise. * elf/reldepmod6.c: Likewise. * elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not used on all architectures. * sunrpc/svc_tcp.c: Add noreturn attribute for svctcp_rendezvous_abort. * sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort. * sysdeps/generic/strstr.c (strstr): Add paranthese for assignment to avoid warning.
2001-12-21* elf/dblloadmod1.c: Add prototype to avoid warning. Andreas Jaeger
* elf/dblloadmod2.c: Likewise. * elf/dblloadmod3.c: Likewise. * elf/reldepmod5.c: Likewise. * elf/reldepmod6.c: Likewise. * elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not used on all architectures. * sunrpc/svc_tcp.c: Add noreturn attribute for svctcp_rendezvous_abort. * sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort. * sysdeps/generic/strstr.c (strstr): Add paranthese for assignment to avoid warning.
2001-12-19Update.Ulrich Drepper
2001-12-19 Jakub Jelinek <jakub@redhat.com> * manual/llio.texi (aio_fsync): Fix a typo. Patch by Tammy Fox <tfox@redhat.com>.
2001-12-19Update.Ulrich Drepper
2001-12-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (clone): Subtract stack bias from child stack pointer before passing it to clone syscall. 2001-12-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/sysconf.c (__sysconf): Respect POSIX minimum for _SC_TZNAME_MAX. * sysdeps/generic/sysconf.c (__sysconf): Likewise. Reported by Thorsten Kukuk <kukuk@suse.de>. * sysdeps/unix/grantpt.c (grantpt): Correct typo in comment and add some casts. * sysdeps/unix/sysv/linux/grantpt.c: Make __unix_grantpt static. 2001-12-18 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/grantpt.c: Make errno results standard conforming: return EBADF if file descriptor is invalid and EINVAL if file descriptor is no valid tty. * login/tst-grantpt.c: New file. * login/Makefile (tests): Add tst-grantpt.
2001-12-17Update.Ulrich Drepper
2001-12-17 Ulrich Drepper <drepper@redhat.com> * io/ftw.c (ftw_dir): Handle inaccessibility of toplevel dir different than implemented in last patch. * io/bug-ftw3.c: Adjust test for changed handling of inaccessibility of toplevel dir.
2001-12-17(ftw_dir): Handle inaccessibility of toplevel dir different than implemented ↵Ulrich Drepper
in last patch.
2001-12-17* nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.Roland McGrath
* grp/initgroups.c (internal_getgrouplist): Likewise.
2001-12-17* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' afterRoland McGrath
`default:' to silence new GCC warning. Rewrite cast of lvalue to silence new GCC warning. * sysdeps/mach/hurd/i386/init-first.c: Avoid multi-line strings in asm.
2001-12-16* sysdeps/mach/hurd/spawni.c: New file, by me with aRoland McGrath
couple fixes by Neal H Walfield <neal@cs.uml.edu>.
2001-12-162001-12-16 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/spawni.c: New file, by me with a couple fixes by Neal H Walfield <neal@cs.uml.edu>.
2001-12-15Update.Ulrich Drepper
Patch by Stephen R. van den Berg.
2001-12-14Update.Ulrich Drepper
* sysdeps/generic/strstr.c (strstr): Update. New optimized version.
2001-12-14Update.Ulrich Drepper
2001-12-14 Ulrich Drepper <drepper@redhat.com> * crypt/md5.h: Define md5_uintptr.
2001-12-14Define md5_uintptr.Ulrich Drepper
2001-12-14Fix typo.Andreas Jaeger
2001-12-14Update.Ulrich Drepper
* libio/tst_swprintf.c (main): Add test for string argument with zero precision.
2001-12-14Update.Ulrich Drepper
* stdio-common/Makefile (tests): Add tst-sprintf.
2001-12-14Update.Ulrich Drepper
2001-12-13 Ulrich Drepper <drepper@redhat.com> * stdio-common/tst-sprintf.c: New file. 2001-12-13 Andreas Schwab <schwab@suse.de> * stdio-common/vfprintf.c (process_string_arg): Correctly handle zero precision with wide character string format.
2001-12-14Update.Ulrich Drepper
2001-12-13 Thorsten Kukuk <kukuk@suse.de> * sysdeps/posix/cuserid.c (cuserid): If we don't find the UID, but have a user supplied buffer, return the empty buffer, not NULL.
2001-12-14Update.Ulrich Drepper
2001-12-13 Ulrich Drepper <drepper@redhat.com> * crypt/md5.c (md5_process_bytes): Correct handling of alignment. Patch by Eric Sharkey <sharkey@netrics.com>. * crypt/md5test.c (main): Add test for multiple calls to __md5_process_bytes to itererate over input string.
2001-12-13Update.Ulrich Drepper
* nis/nis_intern.h: Define parameters controlling __nis_findfastest [PR libc/2520]. Patch by Alexander Belopolsky <alexb@rentec.com>.
2001-12-13Update.Ulrich Drepper
2001-12-12 Ulrich Drepper <drepper@redhat.com> * nis/nis_findserv.c (__nis_findfastest_with_timeout): Mostly the code from __nis_findfastest. Take timeout value from parameter. (__nis_findfastest): Call __nis_findfastest_with_timeout repeatedly. * nis/nis_intern.h: Define parameters controlling __nis_findfastest. Patch by Alexander Belopolsky <alexb@rentec.com>. * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch.
2001-12-12Update from translation team.Ulrich Drepper
2001-12-12* configure.in: Use -nostartfiles -nostdlib for linker tests, fix Andreas Jaeger
combreloc test so that it works in this case. 2001-12-12 Andreas Jaeger <aj@suse.de> * configure.in: Use -nostartfiles -nostdlib for linker tests, fix combreloc test so that it works in this case. * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch.
2001-12-12Update.Ulrich Drepper
2001-12-12 NIIBE Yutaka <gniibe@m17n.org> * sysdeps/sh/Makefile: New file. * sysdeps/sh/_mcount.S: New file. * sysdeps/sh/sysdep.h (CALL_MCOUNT): Implemented. * sysdeps/sh/machine-gmon.h: Remove "NOTYET" comment, as we are ready.
2001-12-12(INIT_THREAD_SELF): Added __volatile__ qualifier to be safe.Ulrich Drepper
2001-12-12(elf_machine_rela): Fix typo in last patch.Andreas Jaeger
2001-12-12Update.Ulrich Drepper
2001-12-11 Ulrich Drepper <drepper@redhat.com> * resolv/nss_dns/dns-host.c (getanswer_r): Remove MAX_NR_ADDRS limitation [PR libc/2564].
2001-12-12Update.Ulrich Drepper
2001-12-11 Ulrich Drepper <drepper@redhat.com> * SUPPORTED (SUPPORTED-LOCALES): Add vi_VN.TCVN.
2001-12-12Update.Ulrich Drepper
2001-12-11 Jakub Jelinek <jakub@redhat.com> * elf/Makefile (dl-routines): Add conflict. (rtld-ldscript-in, rtld-ldscript, rtld-parms): Remove. (ld.so): Add _begin local symbol. * elf/elf.h (DT_VALTAGIDX, DT_VALNUM, DT_ADDRTAGIDX, DT_ADDRNUM): Define. * elf/dl-deps.c (_dl_build_local_scope): New. (_dl_map_object_deps): If LD_TRACE_PRELINKING, compute local scopes of all libraries. * elf/do-rel.h (VALIDX): Define. (elf_dynamic_do_rel): If ELF_MACHINE_PLT_REL is defined, don't do lazy binding for RELA. If DT_GNU_PRELINKED, DT_RELACOUNT relocations can be skipped. * elf/dl-conflict.c: New file. * elf/dl-lookup.c (_dl_debug_bindings): New. (_dl_lookup_symbol): Use _dl_debug_bindings. Reference_name is always non-NULL. (_dl_lookup_symbol_skip): Likewise. (_dl_lookup_versioned_symbol): Likewise. (_dl_lookup_versioned_symbol_skip): Likewise. * elf/dl-runtime.c (PLTREL): If ELF_MACHINE_PLT_REL is defined, define to ElfW(Rel). * elf/dynamic-link.h (elf_get_dynamic_info): Record selected dynamic tags in the DT_VALRNGLO..DT_VALRNGHI and DT_ADDRRNGLO..DT_ADDRRNGHI ranges. Don't adjust address dynamic tags if l_addr is 0. * elf/rtld.c (_dl_trace_prelink, _dl_trace_prelink_map): New variables. (_dl_start): Skip ELF_DYNAMIC_RELOCATE if ld.so is prelinked. (VALIDX, ADDRIDX): Define. (_dl_start_final): Initialize _dl_rtld_map's l_map_start and l_map_end. (dl_main): Print library list for LD_TRACE_PRELINKING. If prelinking information can be used, skip relocating libraries and call _dl_resolve_conflicts instead. (process_envvars): Handle LD_TRACE_PRELINKING envvar. * elf/dl-load.c (_dl_map_object): Don't create fake libs if LD_TRACE_PRELINKING. * include/link.h (struct link_map) [l_info]: Add DT_VALNUM + DT_ADDRNUM. * sysdeps/generic/ldsodefs.h (_dl_trace_prelink_map): New declaration. (DL_DEBUG_PRELINK): Define. (_dl_resolve_conflicts): Add prototype. * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Reinitialize .plt for prelinked libraries where prelinking info cannot be used. (elf_machine_rela): If relocating R_ALPHA_JMP_SLOT in .gnu.conflict section, use RESOLVE_CONFLICT_FIND_MAP to find out reloc's link_map. * sysdeps/arm/bits/link.h: New file. * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Save original content of .got[1]. (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP. (ELF_MACHINE_PLT_REL): Define. (elf_machine_rela, elf_machine_rela_relative): New. (elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead of adjusting it if prelinked and prelinking cannot be used. * sysdeps/i386/bits/link.h: New file. * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Save original content of .got[1]. (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP. (ELF_MACHINE_PLT_REL): Define. (elf_machine_rela, elf_machine_rela_relative): New. (elf_machine_lazy_rel): Reinitialize R_386_JUMP_SLOT address instead of adjusting it if prelinked and prelinking cannot be used. * sysdeps/powerpc/dl-machine.h (elf_machine_rela): If relocating conflicts, skip finaladdr computation. Use RESOLVE_CONFLICT_FIND_MAP to find out map for R_PPC_JMP_SLOT relocs. * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Define. (OPCODE_BA): Define. (elf_machine_runtime_setup): Reinitialize .plt for prelinked libraries where prelinking info cannot be used. (sparc_fixup_plt): Renamed from elf_machine_fixup_plt. (elf_machine_fixup_plt): Call sparc_fixup_plt. (elf_machine_rela): Set value to 0 if relocating conflicts. Call sparc_fixup_plt for R_SPARC_JMP_SLOT. * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Define. (sparc64_fixup_plt): Fix a typo. (elf_machine_rela): Set value to 0 if relocating conflicts. Handle R_SPARC_JMP_SLOT relocs when relocating conflicts. (elf_machine_runtime_setup): Reinitialize .plt for prelinked libraries where prelinking info cannot be used. * sysdeps/sh/bits/link.h: New file. * sysdeps/sh/dl-machine.h (elf_machine_runtime_setup): Save original content of .got[1]. (elf_machine_lazy_rel): Reinitialize R_SH_JMP_SLOT address instead of adjusting it if prelinked and prelinking cannot be used. * sysdeps/s390/s390-32/bits/link.h: New file. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup): Save original content of .got[1]. (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead of adjusting it if prelinked and prelinking cannot be used. * sysdeps/s390/s390-64/bits/link.h: New file. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup): Save original content of .got[1]. (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead of adjusting it if prelinked and prelinking cannot be used. * sysdeps/x86_64/bits/link.h: New file. * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Save original content of .got[1]. (elf_machine_lazy_rel): Reinitialize R_X86_64_JMP_SLOT address instead of adjusting it if prelinked and prelinking cannot be used.
2001-12-11Update.Ulrich Drepper
2001-12-11 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use sizeof where appropriate instead of numbers. Little optimizations.
2001-12-11(__ptsname_r): Use sizeof where appropriate instead of numbers. Little ↵Ulrich Drepper
optimizations.
2001-12-11* sysdeps/mach/hurd/bind.c (bind): Don't deallocate IFSOCK if we neverRoland McGrath
set it.
2001-12-11* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Set defaultRoland McGrath
set to GLIBC_2.2.5, not GLIBC_2.2.4.
2001-12-11* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde):Roland McGrath
Fix conditionals so this is set by default for stdio and not for libio. * sysdeps/mach/hurd/configure: Regenerated.
2001-12-112001-12-10 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Fix conditionals so this is set by default for stdio and not for libio. * sysdeps/mach/hurd/configure: Regenerated.
2001-12-10Update.Ulrich Drepper
2001-12-10 Thorsten Kukuk <kukuk@suse.de> * io/ftw.c (ftw_startup): Check, if the path is search and readable. * io/Makefile (tests): Add bug-ftw3. * io/bug-ftw3.c: New file.
2001-12-10Update.Ulrich Drepper
2001-12-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/glob.c (glob): Return only pattern if nothing matches and GLOB_NOCHECK is set. * posix/globtest.sh: Correct expected result for NOCHECK test. * po/ca.po: Update from translation team.
2001-12-10Update.Ulrich Drepper
2001-12-10 Ulrich Drepper <drepper@redhat.com> * locales/ca_ES: Fix typos (desembre -> decembre). Patch by Xavi Drudis Ferran <xdrudis@tinet.org>.
2001-12-10Update.Ulrich Drepper
2001-12-09 Ulrich Drepper <drepper@redhat.com> Implement transliteration of characters in strings of the locale definitions. * locale/programs/linereader.c: Adjust for additional parameter to lr_token. (get_string): If character <Uxxxx> is not found try to transliterate it. * locale/programs/ld-ctype.c: Adjust for additional parameter to lr_token. Add const to charmap parameter of all functions. (find_translit, find_translit2): New functions. * locale/programs/charmap.c: Adjust for additional parameter to lr_token. * locale/programs/repertoire.c: Likewise. * locale/programs/linereader.h: Likewise. * locale/programs/ld-address.c: Likewise. Add const to charmap parameter of all functions. * locale/programs/ld-collate.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-paper.c: Likewise. * locale/programs/ld-telephone.c: Likewise. * locale/programs/ld-time.c: Likewise. * locale/programs/locfile.c: Likewise. * locale/programs/localedef.c: Likewise. * locale/programs/localedef.h: Likewise. * locale/programs/locfile.h: Likewise. Add declaration for find_translit. * locale/programs/simple-hash.c: Add const to first parameter of find_entry, iterate_table, and lookup. * locale/programs/simple-hash.h: Likewise. * locale/localeinfo.h: Don't define __LC_LAST here. Include <locale.h> instead. * include/locale.h: Define __LC_LAST. * iconv/Makefile (CFLAGS-linereader.c): Define to -DNO_TRANSLITERATION.
2001-12-10Add const to first parameter of find_entry, iterate_table, and lookup.Ulrich Drepper
2001-12-07* sysdeps/powerpc/Dist: Update for recent FP changes. Geoff Keating
* sysdeps/powerpc/fpu/Dist: Likewise. 2001-12-07 Geoff Keating <geoffk@redhat.com> * sysdeps/powerpc/Dist: Update for recent FP changes. * sysdeps/powerpc/fpu/Dist: Likewise.
2001-12-07* sysdeps/unix/sysv/linux/opensock.c: Include <string.h>.Andreas Schwab
2001-12-07Include <string.h>.Andreas Schwab
2001-12-06Remade for development-2.2.90Geoff Keating