about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2000-10-255-15/+34
| | | | | | | | | | * elf/dl-lookup.c (add_dependency): Fix test to check whether dependency already exists. * elf/Makefile: Add testobj1 and testobj2 as dependencies of testobj6. * elf/loadtest.c (main): Add test at the end that everything is unloaded. * elf/dl-open.c (dl_open_worker): Fix typo in comment.
* Update.Ulrich Drepper2000-10-251-0/+4
| | | | | | 2000-10-24 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Add even more IA-64 relocations.
* Add even more IA-64 relocations.Ulrich Drepper2000-10-251-0/+18
|
* * io/test-lfs.c (do_prepare): Call setrlimit64, in case the user Geoff Keating2000-10-242-1/+11
| | | | | | | | | | has a limit set---for instance, a limit of 2^31 bytes, which can't easily be reset by non-LFS-aware shells. 2000-10-24 Geoffrey Keating <geoffk@cygnus.com> * io/test-lfs.c (do_prepare): Call setrlimit64, in case the user has a limit set---for instance, a limit of 2^31 bytes, which can't easily be reset by non-LFS-aware shells.
* * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT Geoff Keating2000-10-242-3/+10
| | | | | | | | explicitly rather than getting it from <asm/page.h>. 2000-10-21 Geoffrey Keating <geoffk@cygnus.com> * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT explicitly rather than getting it from <asm/page.h>.
* Update.Ulrich Drepper2000-10-242-9/+29
| | | | | * elf/dl-close.c (_dl_close): Handle relocation dependencies of the dependencies of the object currently unloaded.
* Update.Ulrich Drepper2000-10-242-7/+17
| | | | | | * elf/dl-close.c (_dl_close): Don't free memory for global scope list immediately when empty. Move code to... (free_mem): ...here. Called as part of __libc_subfreeres list.
* Update.Ulrich Drepper2000-10-243-22/+24
| | | | | | | * elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before r_list array in allocated memory. * elf/dl-close.c (_dl_close): Optimize access to l_initfini list and remove use of r_list.
* Update.Ulrich Drepper2000-10-244-12/+155
| | | | | | | | | | | | 2000-10-24 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c (_dl_close): Use correct list (l_initfini) when computing new opencounts. * elf/Makefile: Add rules to build and run neededtest3. * neededtest3.c: New file. * neededobj4.c: New file. * elf/neededtest.c (main): Correct tests for failing dlopen.
* Object for unload testing.Ulrich Drepper2000-10-241-0/+11
|
* Regenerated.Andreas Jaeger2000-10-241-3/+44
|
* Mention glibc 2.2 caveats.Andreas Jaeger2000-10-241-0/+25
|
* (main): Correct tests for failing dlopen.Ulrich Drepper2000-10-241-5/+9
|
* Update.Andreas Jaeger2000-10-241-0/+4
| | | | | | 2000-10-24 Andreas Jaeger <aj@suse.de> * elf/dl-lookup.c (add_dependency): Remove unused variable j.
* (add_dependency): Remove unused variable j.Andreas Jaeger2000-10-241-2/+0
|
* (main): Run tests for different alignments.Ulrich Drepper2000-10-241-16/+26
|
* Update.Ulrich Drepper2000-10-242-1/+2
| | | | * malloc/Makefile (tests): Add tst-obstack.
* Update.Ulrich Drepper2000-10-243-4/+69
| | | | | | | * malloc/obstack.c (_obstack_newchunk): Correctly align first returned block. * malloc/tst-obstack.c: New file. Patch and test case by Alexandre Duret-Lutz <duret_g@epita.fr>.
* Update.Ulrich Drepper2000-10-248-58/+91
| | | | | | | | | | | | | | | | | | 2000-10-24 Ulrich Drepper <drepper@redhat.com> Complete revamp of the reference counter handling. * include/link.h (struct link_map): Add l_idx field. * elf/dl-close.c: Handle decrementing of reference counters more correctly. If necessary decrement reference counters of dependencies of dependencies. * elf/dl-lookup.c (add_dependency): Only increment reference counter of the object itself and not also its dependencies. * elf/dl-open.c: Increment reference counters here. * elf/dl-deps.c: Remove reference counter handling here. * elf/dl-load.c: Likewise. * elf/rtld.c: Adjust for _dl_map_deps not handling reference counters. * elf/loadtest.c: Print loaded objects at the beginning.
* (struct link_map): Add l_idx field.Ulrich Drepper2000-10-241-0/+3
|
* Update.Andreas Jaeger2000-10-241-0/+4
| | | | | | 2000-10-24 Andreas Jaeger <aj@suse.de> * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18.
* Partly revert patch from 2000-10-18.Andreas Jaeger2000-10-241-12/+3
|
* Update.Ulrich Drepper2000-10-246-11/+19
| | | | | | | | | * include/link.h (struct link_map): New bit field l_faked. * elf/dl-deps.c: Use l_faked field in struct link_map instead of the magic l_opencount==0. * elf/dl-load.c: Likewise. * elf/dl-version.c: Likewise. * elf/rtld.c: Likewise.
* Update.Ulrich Drepper2000-10-242-4/+8
| | | | | | 2000-10-23 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c (_dl_close): Add a few more __builtin_expect.
* Update.Ulrich Drepper2000-10-232-4/+17
| | | | | | | | | 2000-10-23 Jim Meyering <meyering@ascend.com> Allow this code to be used outside of glibc. * sysdeps/generic/memrchr.c: Undef __memrchr, too. [!weak_alias]: Define __memrchr to memrchr. Guard weak_alias use with `#ifdef weak_alias'.
* Update.Ulrich Drepper2000-10-235-11/+175
| | | | | | | | * elf/unload.c: Generate more debugging output. * elf/neededtest.c: Make it more complicated. * elf/neededtest2.c: New file. * elf/Makefile: Add rules to build and run neededtest2.
* Update.Ulrich Drepper2000-10-232-27/+37
| | | | | | * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range of DSO address space. (_dl_vsym): Likewise.
* Update.Ulrich Drepper2000-10-232-2/+12
| | | | | | | 2000-10-23 Ulrich Drepper <drepper@redhat.com> * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects global scope if we can determine it.
* Update.Ulrich Drepper2000-10-231-0/+6
| | | | | | | | * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added. (RLIMIT_NLIMITS): Sync with kernel definition. (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros. 2000-10-23 Andreas Schwab <schwab@suse.de>
* (RLIMIT_LOCKS): Added. (RLIMIT_NLIMITS): Sync with kernel definition. ↵Ulrich Drepper2000-10-231-3/+10
| | | | (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
* * sysdeps/m68k/fpu/libm-test-ulps: Updated.Andreas Schwab2000-10-231-0/+4
|
* Updated.Andreas Schwab2000-10-231-6/+198
|
* Update.Ulrich Drepper2000-10-232-0/+6
| | | | | | 2000-10-23 Ulrich Drepper <drepper@redhat.com> * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
* Update.Ulrich Drepper2000-10-239-2/+50
| | | | | | | | | | | | | | | | | | 2000-10-22 Bruno Haible <haible@clisp.cons.org> * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings for 0x8BF8, 0xA27E..0xA2A7. * iconvdata/BIG5HKSCS.irreversible: New file. 2000-10-23 Jakub Jelinek <jakub@redhat.com> * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES. * timezone/zic.c (main): Likewise. 2000-10-23 Thorsten Kukuk <kukuk@suse.de> * nscd/connections.c (invalidate_cache): Don't invalidate a cache if it is not enabled.
* (TIMEOUT): Override default timeout.Ulrich Drepper2000-10-231-0/+1
|
* Update.Andreas Jaeger2000-10-232-0/+36
| | | | * sysdeps/s390/fpu/libm-test-ulps: New ulps.
* Update.Andreas Jaeger2000-10-232-0/+6
| | | | | | | 2000-10-23 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64. Patch by Ralf Baechle <ralf@gnu.org>.
* Update MIPS entry.Andreas Jaeger2000-10-221-5/+4
|
* Update.Ulrich Drepper2000-10-212-96/+166
| | | | | | | | | | | | * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file verification in open_verify. (open_verify): New function. Called instead of open. Ignores valid files for other architectures. (open_path): Call open_verify instead of open. (_dl_map_object): Likewise. Somewhat based on a patch by Don Dugger <n0ano@valinux.com>. * io/pwd.c (main): The output was missing a newline.
* (main): The output was missing a newline.Ulrich Drepper2000-10-211-1/+1
|
* Add MIPS information.Andreas Jaeger2000-10-211-1/+14
|
* Update.Ulrich Drepper2000-10-213-11/+31
| | | | | | * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar expects it. Patch by Colin Watson <riva.ucam.org>. * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR.
* Update.Ulrich Drepper2000-10-216-78/+195
| | | | | | | | | | | | | | 2000-10-21 Ulrich Drepper <drepper@redhat.com> * elf/dl-open.c (add_to_global): New function. Split out from dl_open_worker. (dl_open_worker): Call add_to_global not only for new objects, also for previously loaded objects when (mode & RTLD_GLOBAL) and the object was not yet in the global scope. * elf/Makefile: Add rules to build and run lateglobal. * elf/lateglobal.c: New file. * elf/ltglobmod1.c: New file. * elf/ltglobmod2.c: New file.
* Update.Ulrich Drepper2000-10-213-1/+9
| | | | | | * include/link.h (struct link_map): Add l_soname_added bitfield. * elf/dl-load.c (_dl_map_object): Remember when we added the SONAME to the l_libname list and don't try it again.
* Update.Ulrich Drepper2000-10-218-18/+71
| | | | | | | | | | | | | * elf/dl-close.c: Decrement opencount for all dependencies which can be removed even if the object is not yet unloaded. * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in the list decrement opencount of all dependencies. * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object and all dependencies. (_dl_map_object): Likewise. * elf/dl-lookup.c (add_dependency): Likewise. * elf/loadtest.c: Add debug when with more output.
* Update.Ulrich Drepper2000-10-216-19/+86
| | | | | | | | | | * elf/Makefile: Add rules to build and run unload2. * elf/unload2.c: New file. * elf/unload2mod.c: New file. * elf/unload2dep.c: New file. * intl/libintl.h (ngettext macro): Add missing parameter. (dngettext macro): Likewise.
* Update.Ulrich Drepper2000-10-212-4/+9
| | | | | | | 2000-10-20 Ulrich Drepper <drepper@redhat.com> * intl/libintl.h (ngettext): Add missing parameter. (dngettext): Likewise.
* Update.Ulrich Drepper2000-10-2126-103/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-19 H.J. Lu <hjl@gnu.org> * elf/Makefile (distribute): Add neededtest.c, neededobj1.c, neededobj2.c and neededobj3.c. (tests): Add neededtest. (modules-names): Add neededobj1, neededobj2 and neededobj3. ($(objpfx)neededobj1.so): New target. ($(objpfx)neededobj2.so): Likewise. ($(objpfx)neededobj3.so): Likewise. ($(objpfx)neededtest): Likewise. ($(objpfx)neededtest.out): Likewise. * elf/neededtest.c: New. Based on the bug report from Allen Bauer <kylix_rd@hotmail.com>. * elf/neededobj1.c: Likewise. * elf/neededobj2.c: Likewise. * elf/neededobj3.c: Likewise. 2000-10-20 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c (_dl_close): Decrement reference counter for all dependencies even if the DSO does not get unloaded. * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header to elf_machine_matches_host. * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter is now pointer to ELF header. * sysdeps/arm/dl-machine.h: Likewise. * sysdeps/generic/dl-machine.h: Likewise. * sysdeps/hppa/dl-machine.h: Likewise. * sysdeps/i386/dl-machine.h: Likewise. * sysdeps/ia64/dl-machine.h: Likewise. * sysdeps/m68k/dl-machine.h: Likewise. * sysdeps/mips/dl-machine.h: Likewise. * sysdeps/mips/mips64/dl-machine.h: Likewise. * sysdeps/powerpc/dl-machine.h: Likewise. * sysdeps/s390/dl-machine.h: Likewise. * sysdeps/sh/dl-machine.h: Likewise. * sysdeps/sparc/sparc32/dl-machine.h: Likewise. * sysdeps/sparc/sparc64/dl-machine.h: Likewise. Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>. 2000-10-20 Jakub Jelinek <jakub@redhat.com> * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64 check instead of #ifdef __alpha__. * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when this is included. * posix/wordexp-tst.sh (testout): Place output file in build directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
* Update.Ulrich Drepper2000-10-201-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print. 2000-10-19 Ulrich Drepper <drepper@redhat.com> * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): Correctly handle numeric group member information. Patch by tomasw@cs.huji.ac.il. * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): Complete test for strtol overflow. 2000-10-19 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union semun as 4th argument to semctl syscall, not address of it. 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall. 2000-10-17 Andreas Schwab <schwab@suse.de> * string/string.h: Remove declaration of __strcasecmp and __strcasestr. * include/string.h: Declare them here.
* Pretty print.Ulrich Drepper2000-10-201-18/+17
|