about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 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>.
* Update.Ulrich Drepper2001-12-1027-325/+594
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add const to first parameter of find_entry, iterate_table, and lookup.Ulrich Drepper2001-12-102-7/+7
|
* * sysdeps/powerpc/Dist: Update for recent FP changes. Geoff Keating2001-12-073-3/+8
| | | | | | | | * 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.
* * sysdeps/unix/sysv/linux/opensock.c: Include <string.h>.Andreas Schwab2001-12-071-0/+4
|
* Include <string.h>.Andreas Schwab2001-12-071-0/+1
|
* Remade for development-2.2.90Geoff Keating2001-12-061-1/+1
|
* * sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr Geoff Keating2001-12-066-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | save/restore functions here. (libm-support): Don't define these functions here. * sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore functions here. * sysdeps/powerpc/fe_nomask.c: Move to... * sysdeps/powerpc/fpu/fe_nomask.c: ... here. * sysdeps/powerpc/fprrest.S: Move to... * sysdeps/powerpc/fpu/fprrest.S: ... here. * sysdeps/powerpc/fprsave.S: Move to... * sysdeps/powerpc/fpu/fprsave.S: ... here. 2001-12-06 Geoff Keating <geoffk@redhat.com> * sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr save/restore functions here. (libm-support): Don't define these functions here. * sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore functions here. * sysdeps/powerpc/fe_nomask.c: Move to... * sysdeps/powerpc/fpu/fe_nomask.c: ... here. * sysdeps/powerpc/fprrest.S: Move to... * sysdeps/powerpc/fpu/fprrest.S: ... here. * sysdeps/powerpc/fprsave.S: Move to... * sysdeps/powerpc/fpu/fprsave.S: ... here.
* Update.Ulrich Drepper2001-12-061-0/+4
| | | | | | 2001-12-06 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/opensock.c: New file.
* Open socket for communication with network layer.Ulrich Drepper2001-12-061-0/+111
|
* * config.make.in (with-fp): Define from configure. Geoff Keating2001-12-065-117/+134
| | | | | | | | | | | | | | * configure.in: Substitute with_fp. * configure: Regenerate. * powerpc/Makefile: Set -msoft-float when --without-fp is specified, and don't change FPU environment. 2001-12-06 Geoff Keating <geoffk@redhat.com> * config.make.in (with-fp): Define from configure. * configure.in: Substitute with_fp. * configure: Regenerate. * sysdeps/powerpc/Makefile: Set -msoft-float when --without-fp is specified, and don't change FPU environment.
* Update.Ulrich Drepper2001-12-067-164/+236
| | | | | | | | | | | | | | | | | 2001-12-06 Ulrich Drepper <drepper@redhat.com> * libio/vasprintf.c (_IO_vasprintf): Free buffer on failure. * assert/assert.c: Check result of __asprintf call and don't use string if it failed. * assert/assert-perr.c: Likewise. * inet/rcmd.c: Likewise. * locale/programs/localedef.c (main): Check result of construct_output_path and exit if it failed. (construct_output_path): Check result of asprintf and mkdir calls and fail if they failed. * posix/getopt.c: Check result of __asprintf calls and fail if they failed. Patch by Dmitry V. Levin <ldv@alt-linux.org>.