aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-02-10Update.Ulrich Drepper
* elf/tst-tls1.c (main): Add complete set of tests. Split architecture specific definitions from the actual test code.
2002-02-10Update.Ulrich Drepper
2002-02-10 Ulrich Drepper <drepper@redhat.com> * po/tr.po: Update from translation team.
2002-02-10Update.Ulrich Drepper
* elf/Makefile (tests): Add tst-tls1. * elf/tst-tls1.c: New file. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Don't handle alignment of TCB for now. * elf/rtld.c (dl_main): Use p_vaddr as address of TLS initialization image for the application itself. loop to initialize TLS block.
2002-02-09Update.Ulrich Drepper
2002-02-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Correctly terminate loop to initial TLS block. * csu/version.c (banner): If TLS support is available say so.
2002-02-09Update.Ulrich Drepper
2002-02-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/tls.h (TLS_INIT_TP): Also initialize %gs.
2002-02-09Update.Ulrich Drepper
2002-02-08 Richard Henderson <rth@twiddle.net> * sysdeps/alpha/elf/initfini.c: Use \n\ for multiline string.
2002-02-09Update.Ulrich Drepper
2002-02-09 Richard Henderson <rth@twiddle.net> * sysdeps/generic/ldsodefs.h (struct rtld_global): Also include _dl_cpuclock_offset if HP_SMALL_TIMING_AVAIL. 2002-02-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/dl-environ.c (unsetenv): Clear cnt before use. * po/ca.po: Update from translation team. * po/sk.po: Likewise.
2002-02-09Update.Ulrich Drepper
2002-02-08 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (_dl_start_final): Install DTV explicitly. (dl_main): Move dtv/static TLS handling before relocation. Unconditionally call _dl_tlsoffset. Call _dl_allocate_tls and TLS_INIT_TP to allocate and install the dtv/static TLS block. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): If no object so far uses TLS initialize GL(dl_tls_static_size) and GL(dl_tls_static_align) to account for the TCB. (_dl_allocate_tls): New function. * sysdeps/generic/ldsodefs.h (rtld_global): Add _dl_initial_dtv_malloced. * configure.in: Test for __builtin_memset more realistically. * csu/version.c (banner): If TLS support available say so.
2002-02-09(banner): If TLS support available say so.Ulrich Drepper
2002-02-08Update.Andreas Jaeger
2002-02-04 H.J. Lu <hjl@gnu.org> * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Use __attribute_used__. (__dl_runtime_resolve): Likewise. * sysdeps/mips/machine-gmon.h (_MCOUNT_DECL): Make it a real declaration.
2002-02-08Update.Andreas Jaeger
2001-11-15 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include <signal.h>, <sys/ucontext.h> nor <asm/elf.h>. Updated for gdb. * sysdeps/unix/sysv/linux/mips/sys/user.h: New.
2002-02-08* sysdeps/mips/atomicity.h (compare_and_swap): RemoveAndreas Jaeger
".set noreorder". * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
2002-02-08* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Silence the Andreas Jaeger
gcc warning. (__pthread_spin_lock): Remove ".set noreorder". * sysdeps/mips/pt-machine.h (__compare_and_swap): Liekwise. 2002-02-07 H.J. Lu <hjl@gnu.org> * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Silence the gcc warning. (__pthread_spin_lock): Remove ".set noreorder". * sysdeps/mips/pt-machine.h (__compare_and_swap): Liekwise.
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.