about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2002-02-112-4/+8
| | | | * elf/do-lookup.h (FCT): st_value can be zero for STT_TLS symbols.
* Update.Ulrich Drepper2002-02-113-134/+250
| | | | | | * po/fr.po: Update from translation team. * elf/tls-macros.h: Add alternative macros for use in PIC.
* Update.Ulrich Drepper2002-02-113-3/+12
| | | | | * elf/dl-lookup.c: Include <tls.h>. * elf/do-lookup.h (FCT): Don't discard STT_TLS symbols.
* Update.Ulrich Drepper2002-02-113-17/+25
| | | | | | | | | | * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): More changes required by passing pointer to last element of the list. * elf/dl-load.c (_dl_map_object_from_fd): Move adjustment of l_tls_initimage to a place where it actually is performed. * elf/tls-macros.h: ...here. New file.
* Update.Ulrich Drepper2002-02-102-3/+17
| | | | | * sysdeps/generic/glob.c (glob): Explicitly set gl_pathc to zero after globfree() calls.
* Update.Ulrich Drepper2002-02-108-26/+72
| | | | | | | | | | | | | | | | | | * elf/dl-deps.c (struct openaux_args): Add open_mode element. (openaux): Pass open_mode as new last argument to _dl_map_object. (_dl_map_object_deps): Add new argument open_mode. Initialize open_mode element of args variable with it. * elf/dl-open.c (dl_open_worker): Pass __RTLD_DLOPEN flag is set to _dl_map_object_deps. * elf/rtld.c (dl_main): Add zero as last parameter to _dl_map_object_deps call. * sysdeps/generic/ldsodefs.h: Adjust prototype of _dl_map_object_deps. * elf/nodlopen2.c: New file. * elf/nodlopenmod2.c: New file. * elf/Makefile: Add rules to build and run nodlopen2. * elf/tls-macros.hgg: ...here. New file. 2002-02-08 Richard Henderson <rth@redhat.com>
* Update.Ulrich Drepper2002-02-105-59/+163
| | | | | | | | * elf/tst-tls1.c: Move TLS helper macros to... * elf/tls-macros.h: ...here. New file. * elf/tst-tls2.c: New file. * elf/Makefile (tests): Add tst-tls2. (distribute): Add tls-macros.h.
* Update.Ulrich Drepper2002-02-102-119/+191
| | | | * po/sv.po: Update from translation team.
* Update.Ulrich Drepper2002-02-102-51/+110
| | | | | * elf/tst-tls1.c (main): Add complete set of tests. Split architecture specific definitions from the actual test code.
* Update.Ulrich Drepper2002-02-102-1144/+1218
| | | | | | 2002-02-10 Ulrich Drepper <drepper@redhat.com> * po/tr.po: Update from translation team.
* Update.Ulrich Drepper2002-02-105-15/+100
| | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2002-02-092-2/+8
| | | | | | | | | 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.
* Update.Ulrich Drepper2002-02-092-0/+6
| | | | | | 2002-02-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/tls.h (TLS_INIT_TP): Also initialize %gs.
* Update.Ulrich Drepper2002-02-095-116/+124
| | | | | 2002-02-08 Richard Henderson <rth@twiddle.net> * sysdeps/alpha/elf/initfini.c: Use \n\ for multiline string.
* Update.Ulrich Drepper2002-02-097-283/+396
| | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-02-097-56/+175
| | | | | | | | | | | | | | | | | | | 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.
* (banner): If TLS support available say so.Ulrich Drepper2002-02-091-0/+4
|
* Update.Andreas Jaeger2002-02-083-4/+14
| | | | | | | | | | | 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.
* Update.Andreas Jaeger2002-02-083-18/+72
| | | | | | | | | 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.
* * sysdeps/mips/atomicity.h (compare_and_swap): RemoveAndreas Jaeger2002-02-083-8/+9
| | | | | | ".set noreorder". * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
* * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Silence the Andreas Jaeger2002-02-083-9/+10
| | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-02-082-2/+4
| | | | * sysdeps/unix/sysv/linux/bits/stat.h: Undo last patch.
* Update.Ulrich Drepper2002-02-082-1/+8
| | | | | | * sysdeps/i386/dl-tls.h (__tls_get_addr): Call ___tls_get_addr_internal. (___tls_get_addr_internal): Define as alias for ___tls_get_addr.
* Update.Ulrich Drepper2002-02-082-115/+190
| | | | | | 2002-02-07 Ulrich Drepper <drepper@redhat.com> * po/ko.po: Update from translation team.
* Update.Ulrich Drepper2002-02-082-4/+10
| | | | | | | | 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.
* Update.Ulrich Drepper2002-02-072-3/+4
| | | | | | 2002-02-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/dl-tls.h: No need for #ifdef USE_TLS.
* Update.Ulrich Drepper2002-02-0716-67/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Don't read TLS header if TLS is not needed.Ulrich Drepper2002-02-071-4/+4
|
* * sysdeps/mips/atomicity.h (exchange_and_add): Not use branchAndreas Jaeger2002-02-072-1/+9
| | | | | | | | likely. (atomic_add): Likewise. (compare_and_swap): Likewise. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
* Do not use branch likely.Andreas Jaeger2002-02-075-37/+33
| | | | | | | | | | | 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
* Update.Ulrich Drepper2002-02-079-75/+136
| | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-02-0710-144/+192
| | | | | | | | | | | | 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.
* Don't define anything if !USE_TLS.Ulrich Drepper2002-02-071-0/+3
|
* * malloc/hooks.c [! HAVE_MREMAP]: Conditionalize unused decls.Roland McGrath2002-02-073-217/+222
| | | | * malloc/malloc.c [! HAVE_MREMAP]: Likewise.
* * scripts/versions.awk: Improve error message for missing version.Roland McGrath2002-02-073-7/+28
| | | | | | | | | 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.
* * scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE.Roland McGrath2002-02-071-0/+4
|
* 2002-02-06 Roland McGrath <roland@frob.com>Roland McGrath2002-02-071-9/+12
| | | | * scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE.
* Update.Ulrich Drepper2002-02-0710-22/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (_dl_map_object_from_fd): Store alignment requirement along with the other ↵Ulrich Drepper2002-02-071-3/+8
| | | | info in the link map. Change queueing of init images for double linked list. Use _dl_next_tls_modid to compute l_tls_modid.
* * sysdeps/mach/configure.in: New file.Roland McGrath2002-02-074-2/+137
| | | | | | | * sysdeps/mach/configure: New generated file. * mach/Makefile (user-interfaces): Remove default_pager_helper. It has never been used by anything.
* whitespaceRoland McGrath2002-02-071-0/+1
|
* [ld]: Add __tls_get_addr to GLIBC_2.3.Ulrich Drepper2002-02-071-0/+4
|
* * sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ...Roland McGrath2002-02-071-0/+5
| | | | * sysdeps/generic/netinet/ip.h: ... here, replacing old file.
* (dl-routines): Add dl-tls. (distribute): Add dl-tls.h.Ulrich Drepper2002-02-071-2/+2
|
* 2002-02-06 Roland McGrath <roland@frob.com>Roland McGrath2002-02-072-293/+125
| | | | | * sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ... * sysdeps/generic/netinet/ip.h: ... here, replacing old file.
* [ld]: Add GLIBC_2.3.Ulrich Drepper2002-02-071-0/+1
|
* Additional version definitions for i386/ELF.Ulrich Drepper2002-02-071-0/+6
|
* * sysdeps/mips/elf/ldsodefs.h: Make sure the right <ldsodefs.h>Andreas Jaeger2002-02-061-0/+5
| | | | is included.
* Andreas Jaeger2002-02-061-2/+2
| | | | Make sure the right <ldsodefs.h> is included.
* Update.Ulrich Drepper2002-02-061-0/+11
| | | | | | | | | | | | | 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.