aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-10-24Update.Ulrich Drepper2-1/+2
* malloc/Makefile (tests): Add tst-obstack.
2000-10-24Update.Ulrich Drepper3-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>.
2000-10-24Update.Ulrich Drepper8-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.
2000-10-24(struct link_map): Add l_idx field.Ulrich Drepper1-0/+3
2000-10-24Update.Andreas Jaeger1-0/+4
2000-10-24 Andreas Jaeger <aj@suse.de> * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18.
2000-10-24Partly revert patch from 2000-10-18.Andreas Jaeger1-12/+3
2000-10-24Update.Ulrich Drepper6-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.
2000-10-24Update.Ulrich Drepper2-4/+8
2000-10-23 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c (_dl_close): Add a few more __builtin_expect.
2000-10-23Update.Ulrich Drepper2-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'.
2000-10-23Update.Ulrich Drepper5-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.
2000-10-23Update.Ulrich Drepper2-27/+37
* elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range of DSO address space. (_dl_vsym): Likewise.
2000-10-23Update.Ulrich Drepper2-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.
2000-10-23Update.Ulrich Drepper1-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>
2000-10-23(RLIMIT_LOCKS): Added. (RLIMIT_NLIMITS): Sync with kernel definition. ↵Ulrich Drepper1-3/+10
(PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
2000-10-23* sysdeps/m68k/fpu/libm-test-ulps: Updated.Andreas Schwab1-0/+4
2000-10-23Updated.Andreas Schwab1-6/+198
2000-10-23Update.Ulrich Drepper2-0/+6
2000-10-23 Ulrich Drepper <drepper@redhat.com> * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
2000-10-23Update.Ulrich Drepper9-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.
2000-10-23(TIMEOUT): Override default timeout.Ulrich Drepper1-0/+1
2000-10-23Update.Andreas Jaeger2-0/+36
* sysdeps/s390/fpu/libm-test-ulps: New ulps.
2000-10-23Update.Andreas Jaeger2-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>.
2000-10-22Update MIPS entry.Andreas Jaeger1-5/+4
2000-10-21Update.Ulrich Drepper2-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.
2000-10-21(main): The output was missing a newline.Ulrich Drepper1-1/+1
2000-10-21Add MIPS information.Andreas Jaeger1-1/+14
2000-10-21Update.Ulrich Drepper3-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.
2000-10-21Update.Ulrich Drepper6-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.
2000-10-21Update.Ulrich Drepper3-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.
2000-10-21Update.Ulrich Drepper8-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.
2000-10-21Update.Ulrich Drepper6-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.
2000-10-21Update.Ulrich Drepper2-4/+9
2000-10-20 Ulrich Drepper <drepper@redhat.com> * intl/libintl.h (ngettext): Add missing parameter. (dngettext): Likewise.
2000-10-21Update.Ulrich Drepper26-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>.
2000-10-20Update.Ulrich Drepper1-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.
2000-10-20Pretty print.Ulrich Drepper1-18/+17
2000-10-20Update.Andreas Jaeger1-0/+4
2000-10-18 Ralf Baechle <ralf@gnu.org> * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
2000-10-20Include <asm/unistd.h>.Andreas Jaeger1-0/+12
2000-10-20(_nss_hesiod_initgroups_dyn): Correctly handle numeric group member ↵Ulrich Drepper1-3/+15
information. Complete test for strtol overflow.
2000-10-20Update.Ulrich Drepper4-4/+16
2000-10-19 Ulrich Drepper <drepper@redhat.com> * locales/iso14651_t1: Handle Macedonian correctly. Patch by Damjan <arhiv@freemail.org.mk>.
2000-10-20Remove declaration of __strcasecmp and __strcasestr.Ulrich Drepper1-4/+0
2000-10-19* sysdeps/powerpc/fpu/bits/mathinline.h: Add versions Geoff Keating2-2/+15
of the unordered comparison functions that use the GCC builtins. 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
2000-10-19* sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function. Geoff Keating2-8/+28
(__process_machine_rela): Print the address of an overflowing reloc. 2000-10-17 Geoffrey Keating <geoffk@cygnus.com> * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions of the unordered comparison functions that use the GCC builtins. * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function. (__process_machine_rela): Print the address of an overflowing reloc.
2000-10-18Update.Ulrich Drepper1-0/+6
2000-10-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point in comments. (freeit): Remove unnecessary test.
2000-10-18Correct default mount point in comments. (freeit): Remove unnecessary test.Ulrich Drepper1-3/+3
2000-10-18Update.Andreas Jaeger3-2/+22
2000-10-18 Andreas Jaeger <aj@suse.de> * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New. (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers. (elf_machine_runtime_link_map): Likewise. (elf_machine_runtime_setup): Likewise. Handle dynamic linker's local got entries. Patches by Ralf Baechle <ralf@gnu.org>. 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as the frame pointer. Allocate stack space for $a0 for __dl_runtime_resolve(). Do not save $sp in $s0 as it's callee-saved anyway.
2000-10-182000-10-18 Andreas Jaeger <aj@suse.de>Andreas Jaeger1-25/+35
* sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New. (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers. (elf_machine_runtime_link_map): Likewise. (elf_machine_runtime_setup): Likewise. Handle dynamic linker's local got entries. Patches by Ralf Baechle <ralf@gnu.org>. 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as the frame pointer. Allocate stack space for $a0 for __dl_runtime_resolve(). Do not save $sp in $s0 as it's callee-saved anyway.
2000-10-17Update.Ulrich Drepper1-0/+5
2000-10-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in libm-test.inc.
2000-10-17Update after precision increase is sources.Ulrich Drepper1-8/+8
2000-10-17* sysdeps/m68k/fpu/libm-test-ulps: Update for changes inAndreas Schwab1-0/+5
libm-test.inc.
2000-10-17Update for changes in libm-test.inc.Andreas Schwab1-448/+137
2000-10-17Update.Ulrich Drepper2-1/+6
2000-10-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE): Add missing backslash.