aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-02-08Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/stat.h: Undo last patch.
2002-02-08Update.Ulrich Drepper
* sysdeps/i386/dl-tls.h (__tls_get_addr): Call ___tls_get_addr_internal. (___tls_get_addr_internal): Define as alias for ___tls_get_addr.
2002-02-08Update.Ulrich Drepper
2002-02-07 Ulrich Drepper <drepper@redhat.com> * po/ko.po: Update from translation team.
2002-02-08Update.Ulrich Drepper
2002-02-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Remove packed attribute, change __pad{1,2} type to unsigned int. (struct stat64): Remove packed attribute.
2002-02-07Update.Ulrich Drepper
2002-02-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/dl-tls.h: No need for #ifdef USE_TLS.
2002-02-07Update.Ulrich Drepper
2002-02-07 Andreas Schwab <schwab@suse.de> * configure.in: Fix check for -zcombreloc. 2002-02-06 H.J. Lu <hjl@gnu.org> * config.h.in (HAVE_BUILTIN_MEMSET): New. * configure.in: Check if __builtin_memset really works. * elf/rtld.c (_dl_start): Check HAVE_BUILTIN_MEMSET instead of __GNUC_PREREQ (2, 96) before using __builtin_memset. 2002-02-06 Jakub Jelinek <jakub@redhat.com> * io/bug-ftw3.c (main): Don't try the test if root. 2002-02-06 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/brk.c (__brk): Correct inline assembly constraints. * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h (RLIMIT_LOCKS): Add RLIMIT_LOCKS and adjust RLIMIT_NLIMITS. * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h (RLIMIT_LOCKS): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (clone): Make clone a weak alias for __clone. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (clone): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: Fix typo. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add framestate. * sysdeps/unix/sysv/linux/s390/s390-64/Versions: New file. * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap64): Make __mmap a weak alias for __mmap64. * sysdeps/mips/atomicity.h (exchange_and_add): Not use branch likely. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise. * sysdeps/generic/dl-tls.c: Don't read TLS header if TLS is not needed.
2002-02-07Don't read TLS header if TLS is not needed.Ulrich Drepper
2002-02-07* sysdeps/mips/atomicity.h (exchange_and_add): Not use branchAndreas Jaeger
likely. (atomic_add): Likewise. (compare_and_swap): Likewise. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
2002-02-07Do not use branch likely.Andreas Jaeger
2002-02-05 H.J. Lu <hjl@gnu.org> * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Not use branch likely. * sysdeps/mips/pt-machine.h (testandset): Likewise. (__compare_and_swap): Likewise. >>>>>>> 1.469
2002-02-07Update.Ulrich Drepper
2002-02-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Account for alignment of the TCB and store total size and alignment of static TLS block in _dl_tls_static_size and _dl_tls_static_align. tls_index is a typedef. * sysdeps/generic/ldsodefs.h: Declare _dl_tls_static_size and _dl_tls_static_align. * sysdeps/i386/dl-tls.h: tls_index is a typedef. * elf/dl-support.c: Define _dl_tls_static_size and _dl_tls_static_align.
2002-02-07Update.Ulrich Drepper
2002-02-06 Ulrich Drepper <drepper@redhat.com> * configure.in: Add --without-tls option. * sysdeps/i386/elf/configure.in: Don't check for TLS support if --without-tls is given. * sysdeps/generic/dl-tls.c: Include <tls.h>. * sysdeps/i386/dl-tls.h: Don't define anything if !USE_TLS.
2002-02-07Don't define anything if !USE_TLS.Ulrich Drepper
2002-02-07* malloc/hooks.c [! HAVE_MREMAP]: Conditionalize unused decls.Roland McGrath
* malloc/malloc.c [! HAVE_MREMAP]: Likewise.
2002-02-07* scripts/versions.awk: Improve error message for missing version.Roland McGrath
Each version inherits from the last one only if they have the same nonnumeric prefix, i.e. GLIBC_x.y and GLIBC_x.z or FOO_x and FOO_y but not GLIBC_x and FOO_y. * scripts/firstversions.awk: Handle libraries that don't have each particular version named in the third column of shlib-versions.
2002-02-07* scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE.Roland McGrath
2002-02-072002-02-06 Roland McGrath <roland@frob.com>Roland McGrath
* scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE.
2002-02-07Update.Ulrich Drepper
2002-02-06 Ulrich Drepper <drepper@redhat.com> * Versions.def [ld]: Add GLIBC_2.3. * elf/Versions [ld]: Add __tls_get_addr to GLIBC_2.3. * elf/Makefile (dl-routines): Add dl-tls. (distribute): Add dl-tls.h. * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove _dl_tls_module_cnt, add _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps. Add prototypes for _dl_next_tls_modid and _dl_determine_tlsoffset. * elf/dl-load.c (_dl_map_object_from_fd): Store alignment requirement along with the other info in the link map. Change queueing of init images for double linked list. Use _dl_next_tls_modid to compute l_tls_modid. * elf/rtld.c (_dl_start_final): Store alignment requirement along with the other info in rtld map and executable map. (dl_main): Add ld.so to the init image list if necessary. Compute final module ID with _dl_next_tls_modid. * include/link.h (struct link_map): Add l_tls_previmage and l_tls_align. * eld/dl-support.c: Define _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps. * sysdeps/i386/elf/Versions: New file. * sysdeps/generic/dl-tls.c: New file. * sysdeps/generic/dl-tls.h: New file. * sysdeps/i386/dl-tls.h: New file. attribute((packed)) to counter stupid people misusing gcc options.
2002-02-07(_dl_map_object_from_fd): Store alignment requirement along with the other ↵Ulrich Drepper
info in the link map. Change queueing of init images for double linked list. Use _dl_next_tls_modid to compute l_tls_modid.
2002-02-07* sysdeps/mach/configure.in: New file.Roland McGrath
* sysdeps/mach/configure: New generated file. * mach/Makefile (user-interfaces): Remove default_pager_helper. It has never been used by anything.
2002-02-07whitespaceRoland McGrath
2002-02-07[ld]: Add __tls_get_addr to GLIBC_2.3.Ulrich Drepper
2002-02-07* sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ...Roland McGrath
* sysdeps/generic/netinet/ip.h: ... here, replacing old file.
2002-02-07(dl-routines): Add dl-tls. (distribute): Add dl-tls.h.Ulrich Drepper
2002-02-072002-02-06 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ... * sysdeps/generic/netinet/ip.h: ... here, replacing old file.
2002-02-07[ld]: Add GLIBC_2.3.Ulrich Drepper
2002-02-07Additional version definitions for i386/ELF.Ulrich Drepper
2002-02-06* sysdeps/mips/elf/ldsodefs.h: Make sure the right <ldsodefs.h>Andreas Jaeger
is included.
2002-02-06 Andreas Jaeger
Make sure the right <ldsodefs.h> is included.
2002-02-06Update.Ulrich Drepper
2002-02-06 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Add attribute((packed)) to counter stupid people misuing gcc options. (struct stat64): Likewise. 2002-02-05 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (dl_main): Correct indentation. Use bool as type for the variables which are used as booleans.
2002-02-06(struct stat): Add attribute((packed)) to counter stupid people misuing gcc ↵Ulrich Drepper
options. (struct stat64): Likewise.
2002-02-06Update.Andreas Jaeger
* elf/dl-error.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/do-lookup.h: Likewise.
2002-02-06Update.Andreas Jaeger
2002-02-06 Andreas Jaeger <aj@suse.de> * include/libc-symbols.h (INTUSE): Renamed from INT. * elf/dl-deps.c: Change users. * sysdeps/generic/dl-sysdep.c: Likewise. * sysdeps/generic/dl-cache.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/rtld.c: Likewise. * elf/dl-version.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-dst.h: Likewise. * elf/dl-init.c: Likewise.
2002-02-06Update.Andreas Jaeger
2002-02-05 Andreas Jaeger <aj@suse.de> * stdio-common/_itoa.h: Undefine SPECIAL to avoid duplicate definition. * stdio-common/_itowa.h: Likewise.
2002-02-06Undefine SPECIAL to avoid duplicate definition.Andreas Jaeger
2002-02-06(dl_main): Correct indentation. Use bool as type for the variables which ↵Ulrich Drepper
are used as booleans.
2002-02-06Update.Ulrich Drepper
* elf/dl-minimal.c: Define _itoa_lower_digits. * elf/dynamic-link.h (elf_get_dynamic_info): ld.so can have DT_FLAGS set.
2002-02-06Update.Ulrich Drepper
* elf/dl-load.c (_dl_map_object_from_fd): Prevent dynamically loading modules with the DF_STATIC_TLS flag set. * elf/dynamic-link.h (elf_get_dynamic_info): Initialize l_flags element. * include/link.h (struct link_map): Add l_flags field. * elf/elf.h (DF_STATIC_TLS): New definition.
2002-02-06Update.Ulrich Drepper
* dlfcn/Makefile: Add rules to build and run bug-dlopen1. * dlfcn/bug-dlopen1.c: New file. By Bruno Haible.
2002-02-06Update.Ulrich Drepper
* elf/rtld.c (process_dl_debug): Correct printing help message. * elf/dl-misc.c (_dl_debug_vdprintf): Implement precision handling for %s.
2002-02-05Update.Ulrich Drepper
* inet/getnetgrent_r.c (innetgr): Add int* parameter to getfct definition and pass &errno in use of this variable. Reported by Simon Wilkinson <simon@sxw.org.uk> [PR libc/2911]. 2002-02-04 Andreas Schwab <schwab@suse.de> * locale/programs/localedef.h (WITH_CUR_LOCALE): Define. * locale/programs/charmap-dir.c: Wrap calls that output messages with WITH_CUR_LOCALE. Include "localedef.h" first. * locale/programs/charmap.c: Likewise. * locale/programs/ld-address.c: Likewise. * locale/programs/ld-collate.c: Likewise. * locale/programs/ld-ctype.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-telephone.c: Likewise. * locale/programs/ld-time.c: Likewise. * locale/programs/linereader.c: Likewise. * locale/programs/linereader.h: Likewise. * locale/programs/localedef.c: Likewise. * locale/programs/locfile.c: Likewise. * locale/programs/repertoire.c: Likewise. 2002-02-05 Ulrich Drepper <drepper@redhat.com>
2002-02-05Update.Ulrich Drepper
* elf/rtld.c (_dl_start_final): Determine load address to locate ehdr with GL(dl_rtld_map).l_map_start.
2002-02-05Update.Ulrich Drepper
* po/ca.po: Update from translation team.
2002-02-05Update.Ulrich Drepper
* elf/dl-load.c (_dl_map_object_from_fd): Handle PT_TLS program header entry. * elf/dl-support.c: Define _dl_initimage_list and _dl_tls_module_cnt.
2002-02-05Update.Ulrich Drepper
2002-02-05 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (dl_main): Read PT_TLS entry of the executable. * sysdeps/generic/ldsodefs.h (struct rtld_global): Add _dl_tls_module_cnt.
2002-02-05Update.Ulrich Drepper
* elf/rtld.c (_dl_start): Fill TLS values in link map for rtld. * include/link.h (struct link_map): Add various members for TLS information. * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove _rtld_tlsoffset, add _dl_initimage_list. * sysdeps/i386/dl-lookupcfg.h: New file. * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement missing TLS relocation. When using TLS we now use RESOLVE_MAP. (elf_machine_rela): Use RESOLVE_MAP instead of RESOLVE_MAP if TLS is used. * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Mark as possibly unused.
2002-02-05Update.Ulrich Drepper
* elf/rtld.c (_dl_start_final): Allocate TLS and initialize thread-pointer as soon as possible. * sysdeps/generic/ldsodefs.h: Include <tls.h>. Define first TLS elements in rtld_global. * sysdeps/generic/tls.h: New file. * elf/Makefile (distribute): Add tls.h. * sysdeps/i386/dl-machine.h (elf_machine_rel): Add support for TLS relocations. Not complete yet. * resolv/resolv.h: Allow user to define __need_res_state and only define __res_start structure then. * include/resolv.h: Only declare functions if _RESOLV_H_ is defined.
2002-02-04Update.Ulrich Drepper
2002-02-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Move dl_cpuclock_offset initialization to _dl_start_final. (_dl_show_auxv): Avoid unnecessary sign extension. * elf/rtld.c (_dl_start_final): Initialize dl_cpuclock_offset.
2002-02-04Update.Ulrich Drepper
2002-02-03 Ulrich Drepper <drepper@redhat.com> * config.h.in: Add HAVE_TLS_SUPPORT. * sysdeps/i386/elf/configure.in: New file.
2002-02-03Update.Ulrich Drepper
2002-02-03 Andreas Schwab <schwab@suse.de> * sysdeps/posix/readv.c: Use ssize_t for bytes_read. * sysdeps/posix/writev.c: Use ssize_t for bytes_written. Fix comment. 2002-02-03 Thorsten Kukuk <kukuk@suse.de> * sysdeps/posix/writev.c: Check for ssize_t overflow, don't use alloca if the memory reqirements are too high. 2002-02-03 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (decompose_rpath): Avoid using strstr. * elf/dl-minimal.c (_strerror_r): Use _itoa instead of _itoa_word since the former is available anyway and speed isn't important here. * elf/dl-misc.c (_dl_debug_vdprintf): Likewise. * elf/dl-version.c (match_symbol): Likewise. (_dl_check_map_versions): Likewise. * elf/rtld.c (process_envvars): Likewise. (print_statistics): Likewise. * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Likewise. * elf/dl-minimal.c (_itoa): Always define it. Make it work for all bases. Add assert to catch uses of unimplemented features. (__strsep): Add assert to catch uses of unimplemented features. * elf/dl-object.c (_dl_new_object): Don't use rawmemchr. Use strchr and avoid inline optimization. * elf/rtld.c (process_envvars): Likewise. * elf/dl-open.c: Don't include <stdio-common/_itoa.h>. * elf/dl-profile.c (_dl_start_profile): Help compiler to avoid ffs. * elf/rtld.c (dl_main): Avoid strsep inline optimization. * stdio-common/_itoa.h: Minor simplifications of the code. * stdio-common/_itoa.c: Likewise. * elf/dl-reloc.c (_dl_relocate_object): Use _dl_debug_printf instead of _dl_printf for debugging info output. * sysdeps/mips/atomicity.h (exchange_and_add): Use branch likely.
2002-02-03Update.Ulrich Drepper
2002-02-02 Ulrich Drepper <drepper@redhat.com> * manual/examples/mkfsock.c (make_named_socket): Make sure name is always NUL-terminated. Patch by Chris D. Sloan <cds@cs.hmc.edu>.