about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* Realloc error handling memory leak fix.Ulrich Drepper2001-12-2910-50/+100
|
* Update.Andreas Jaeger2001-12-295-6/+19
| | | | | | | | | | | 2001-12-29 Andreas Jaeger <aj@suse.de> * Examples/ex9.c: Add noreturn attribute for thread. * Examples/ex10.c: Likewise. * Examples/ex13.c (thread_start): Likewise. * Examples/ex15.c (worker): Likewise. * Examples/ex18.c: Include unistd.h for prototype of sleep.
* Include unistd.h for prototype of sleep.Andreas Jaeger2001-12-291-0/+1
|
* Update.Ulrich Drepper2001-12-297-43/+267
| | | | | | | | | | | | | | | | 2001-12-19 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/profil-counter.h: Move/copy to ... * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: ... here, remove high order bit from the program counter. * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h: ... and here. 2001-12-19 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove unnecessary code and add missing reloc types. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty case for reloc type R_390_NONE.
* (elf_machine_rela): Remove unnecessary code and add missing reloc types.Ulrich Drepper2001-12-291-25/+27
|
* Update.Andreas Jaeger2001-12-284-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-28 Andreas Jaeger <aj@suse.de> * io/bug-ftw3.c: Include string.h for prototypes. * crypt/md5test.c (main): Remove unused variable. * linuxthreads_db/td_init.c (td_init): Don't use __FUNCTION__ as literal. * linuxthreads_db/td_log.c (td_log): Likewise. * linuxthreads_db/td_ta_delete.c (td_ta_delete): Likewise. * linuxthreads_db/td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise. * linuxthreads_db/td_ta_get_ph.c (td_ta_get_ph): Likewise. * linuxthreads_db/td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise. * linuxthreads_db/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise. * linuxthreads_db/td_ta_new.c (td_ta_new): Likewise. * linuxthreads_db/td_ta_clear_event.c (td_ta_clear_event): Likewise. * linuxthreads_db/td_ta_enable_stats.c (td_ta_enable_stats): Likewise. * linuxthreads_db/td_ta_event_addr.c (td_ta_event_addr): Likewise. * linuxthreads_db/td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise. * linuxthreads_db/td_ta_get_stats.c (td_ta_get_stats): Likewise. * linuxthreads_db/td_ta_reset_stats.c (td_ta_reset_stats): Likewise. * linuxthreads_db/td_ta_set_event.c (td_ta_set_event): Likewise. * linuxthreads_db/td_ta_setconcurrency.c (td_ta_setconcurrency): Likewise. * linuxthreads_db/td_ta_thr_iter.c (td_ta_thr_iter): Likewise. * linuxthreads_db/td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise. * linuxthreads_db/td_thr_clear_event.c (td_thr_clear_event): Likewise. * linuxthreads_db/td_thr_dbresume.c (td_thr_dbresume): Likewise. * linuxthreads_db/td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise. * linuxthreads_db/td_thr_event_enable.c (td_thr_event_enable): Likewise. * linuxthreads_db/td_thr_event_getmsg.c (td_thr_event_getmsg): Likewise. * linuxthreads_db/td_thr_get_info.c (td_thr_get_info): Likewise. * linuxthreads_db/td_thr_getfpregs.c (td_thr_getfpregs): Likewise. * linuxthreads_db/td_thr_getgregs.c (td_thr_getgregs): Likewise. * linuxthreads_db/td_thr_getxregs.c (td_thr_getxregs): Likewise. * linuxthreads_db/td_thr_getxregsize.c (td_thr_getxregsize): Likewise. * linuxthreads_db/td_thr_set_event.c (td_thr_set_event): Likewise. * linuxthreads_db/td_thr_setfpregs.c (td_thr_setfpregs): Likewise. * linuxthreads_db/td_thr_setgregs.c (td_thr_setgregs): Likewise. * linuxthreads_db/td_thr_setprio.c (td_thr_setprio): Likewise. * linuxthreads_db/td_thr_setsigpending.c (td_thr_setsigpending): Likewise. * linuxthreads_db/td_thr_setxregs.c (td_thr_setxregs): Likewise. * linuxthreads_db/td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise. * linuxthreads_db/td_thr_tsd.c (td_thr_tsd): Likewise. * linuxthreads_db/td_thr_validate.c (td_thr_validate): Likewise. * dlfcn/modstatic.c: Add prototype to avoid warning.
* Don't use __FUNCTION__ as literal.Andreas Jaeger2001-12-2837-66/+66
|
* * sysdeps/mach/hurd/sigwait.c (__sigwait): When returning immediately,Roland McGrath2001-12-262-7/+18
| | | | | | | | | 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.
* * hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set,Roland McGrath2001-12-222-3/+5
| | | | _hurd_port_init, and __hurd_self_sigstate.
* * mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy.Roland McGrath2001-12-221-0/+6
| | | | | * hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set and __hurd_self_sigstate.
* 2001-12-22 Roland McGrath <roland@frob.com>Roland McGrath2001-12-222-1/+8
| | | | | | * 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.
* Update.Andreas Jaeger2001-12-211-0/+19
| | | | | | | | | | | | | | | | | | | | | 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.
* * elf/dblloadmod1.c: Add prototype to avoid warning. Andreas Jaeger2001-12-219-4/+13
| | | | | | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2001-12-192-1/+6
| | | | | | | 2001-12-19 Jakub Jelinek <jakub@redhat.com> * manual/llio.texi (aio_fsync): Fix a typo. Patch by Tammy Fox <tfox@redhat.com>.
* Update.Ulrich Drepper2001-12-198-15/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2001-12-172-3/+26
| | | | | | | | | 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.
* (ftw_dir): Handle inaccessibility of toplevel dir different than implemented ↵Ulrich Drepper2001-12-171-9/+4
| | | | in last patch.
* * nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.Roland McGrath2001-12-173-3/+6
| | | | * grp/initgroups.c (internal_getgrouplist): Likewise.
* * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' afterRoland McGrath2001-12-173-13/+19
| | | | | | | `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.
* * sysdeps/mach/hurd/spawni.c: New file, by me with aRoland McGrath2001-12-161-0/+5
| | | | couple fixes by Neal H Walfield <neal@cs.uml.edu>.
* 2001-12-16 Roland McGrath <roland@frob.com>Roland McGrath2001-12-161-0/+751
| | | | | * sysdeps/mach/hurd/spawni.c: New file, by me with a couple fixes by Neal H Walfield <neal@cs.uml.edu>.
* Update.Ulrich Drepper2001-12-152-22/+15
| | | | Patch by Stephen R. van den Berg.
* Update.Ulrich Drepper2001-12-145-79/+74
| | | | * sysdeps/generic/strstr.c (strstr): Update. New optimized version.
* Update.Ulrich Drepper2001-12-141-0/+4
| | | | | | 2001-12-14 Ulrich Drepper <drepper@redhat.com> * crypt/md5.h: Define md5_uintptr.
* Define md5_uintptr.Ulrich Drepper2001-12-141-3/+7
|
* Fix typo.Andreas Jaeger2001-12-141-1/+1
|
* Update.Ulrich Drepper2001-12-143-4/+26
| | | | | * libio/tst_swprintf.c (main): Add test for string argument with zero precision.
* Update.Ulrich Drepper2001-12-142-1/+3
| | | | * stdio-common/Makefile (tests): Add tst-sprintf.
* Update.Ulrich Drepper2001-12-143-1/+29
| | | | | | | | | | | 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.
* Update.Ulrich Drepper2001-12-143-17/+25
| | | | | | | 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.
* Update.Ulrich Drepper2001-12-143-10/+41
| | | | | | | | | | 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.
* Update.Ulrich Drepper2001-12-131-2/+2
| | | | | * nis/nis_intern.h: Define parameters controlling __nis_findfastest [PR libc/2520]. Patch by Alexander Belopolsky <alexb@rentec.com>.
* Update.Ulrich Drepper2001-12-133-45/+69
| | | | | | | | | | | | 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.
* Update from translation team.Ulrich Drepper2001-12-121-1/+1
|
* * configure.in: Use -nostartfiles -nostdlib for linker tests, fix Andreas Jaeger2001-12-123-60/+86
| | | | | | | | | | | 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.
* Update.Ulrich Drepper2001-12-126-3/+91
| | | | | | | | | 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.
* (INIT_THREAD_SELF): Added __volatile__ qualifier to be safe.Ulrich Drepper2001-12-121-1/+1
|
* (elf_machine_rela): Fix typo in last patch.Andreas Jaeger2001-12-121-1/+1
|
* Update.Ulrich Drepper2001-12-122-9/+11
| | | | | | | 2001-12-11 Ulrich Drepper <drepper@redhat.com> * resolv/nss_dns/dns-host.c (getanswer_r): Remove MAX_NR_ADDRS limitation [PR libc/2564].
* Update.Ulrich Drepper2001-12-123-1/+9
| | | | | | 2001-12-11 Ulrich Drepper <drepper@redhat.com> * SUPPORTED (SUPPORTED-LOCALES): Add vi_VN.TCVN.
* Update.Ulrich Drepper2001-12-1229-203/+1045
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2001-12-111-0/+5
| | | | | | | 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.
* (__ptsname_r): Use sizeof where appropriate instead of numbers. Little ↵Ulrich Drepper2001-12-111-6/+6
| | | | optimizations.
* * sysdeps/mach/hurd/bind.c (bind): Don't deallocate IFSOCK if we neverRoland McGrath2001-12-112-15/+18
| | | | set it.
* * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Set defaultRoland McGrath2001-12-112-1/+4
| | | | set to GLIBC_2.2.5, not GLIBC_2.2.4.
* * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde):Roland McGrath2001-12-111-0/+6
| | | | | Fix conditionals so this is set by default for stdio and not for libio. * sysdeps/mach/hurd/configure: Regenerated.
* 2001-12-10 Roland McGrath <roland@frob.com>Roland McGrath2001-12-112-2/+16
| | | | | | * 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.
* Update.Ulrich Drepper2001-12-104-1/+57
| | | | | | | | | 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.
* Update.Ulrich Drepper2001-12-106-103/+69
| | | | | | | | | | 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.
* Update.Ulrich Drepper2001-12-102-2/+7
| | | | | | | 2001-12-10 Ulrich Drepper <drepper@redhat.com> * locales/ca_ES: Fix typos (desembre -> decembre). Patch by Xavi Drudis Ferran <xdrudis@tinet.org>.