about summary refs log tree commit diff
path: root/elf
Commit message (Collapse)AuthorAgeFilesLines
...
* Replace _dl_debug_* variables with _dl_debug_mask.Ulrich Drepper2001-02-2712-67/+48
|
* Update.Ulrich Drepper2001-02-151-0/+1
| | | | * elf/elf.h (DT_CHECKSUM): Define.
* Update.Andreas Jaeger2001-02-101-0/+2
| | | | | | | | | | | * stdlib/Makefile (tests): Don't run tst-fmtmsg when cross-compiling. ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix. * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static only builds. * elf/Makefile (tests): Only run tst-pathopt with shared libs.
* (distribute): Add firstobj.c.Ulrich Drepper2001-02-091-1/+1
|
* Add prototype.Andreas Jaeger2001-02-061-0/+2
|
* Update.Ulrich Drepper2001-02-061-3/+3
| | | | | * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf string. Include <inttypes.h> instead of <stdint.h>.
* Update.Ulrich Drepper2001-02-061-2/+2
| | | | | * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf string. Include <inttypes.h> instead of <stdint.h>.
* Update.Ulrich Drepper2001-02-031-5/+7
| | | | * elf/dl-init.c: Add a few __builtin_expect.
* Update.Ulrich Drepper2001-02-023-3/+37
| | | | | | * elf/Makefile: Add rules to build and run initfirst test. * elf/initfirst.c: New file. * elf/firstobj.c: New file.
* Update.Ulrich Drepper2001-02-024-63/+73
| | | | | | | | | | | | | | | | | | | | 2001-02-01 Ulrich Drepper <drepper@redhat.com> * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so). * configure.in: Test for -z initfirst linker option. * config.make.in: Add have-z-initfirst. * elf/dl-init.c (_dl_init): Split out actual initialization code in new function call_init. If _dl_initfirst is non-NULL initialize first. * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set remember object in _dl_initfirst. * elf/soinit.c: Remove special support for calling __pthread_initialize_minimal. * conform/conformtest.pl: Add missing $prepend in type test. * elf/elf.h (SHT_CHECKSUM): New definition. * posix/tst-fnmatch.input: Add tests for [. .] in locales.
* Update.Andreas Jaeger2001-01-231-1/+2
| | | | | | * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>, closes PR libc/2039.
* Add prototype for init.Andreas Jaeger2001-01-211-0/+2
|
* Update.Ulrich Drepper2001-01-192-78/+4
| | | | | | | | | | * elf/rtld.c (process_envvars): Call __strtoul_internal instead of strtoul. * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed. (__sigjmp_save): Set __mask_was_saved to zero since we don't save anything. * dlfcn/eval.c (__strtol_internal): Define here. (eval): Use __strtol_internal instead of strtol.
* Update.Ulrich Drepper2001-01-181-5/+9
| | | | | | 2001-01-18 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Add a few more EF_MIPS_* constants.
* * posix/fnmatch_loop.c (FCT): Remove signed warnings. Andreas Jaeger2001-01-123-5/+5
| | | | | | | | | | * posix/wordexp.c (do_parse_glob): Likewise. * sysdeps/posix/sigblock.c (__sigblock): Likewise. * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. * elf/dl-open.c (_dl_open): Likewise. * elf/dl-close.c (_dl_close): Likewise. * elf/dl-load.c (_dl_map_object): Likewise. * iconv/iconv_prog.c (process_fd): Likewise.
* Update.Ulrich Drepper2001-01-112-4/+4
| | | | | | | | | | | | 2001-01-11 H.J. Lu <hjl@gnu.org> * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ... * elf/dl-open.c (_dl_open): Here. * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock): Make it static. (_dl_static_init): Initialize the variables every time when possible. * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT): Undefine it first.
* Update.Ulrich Drepper2001-01-111-1/+5
| | | | | | | | | | | | | 2001-01-10 H.J. Lu <hjl@gnu.org> * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries. * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add dl-static. * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init. * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined. * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file. * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file. * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
* Update.Ulrich Drepper2001-01-091-2/+2
| | | | | * elf/rtld.c (process_envvars): Place output files for profiling in SUID binaries in /var/profile.
* Update.Ulrich Drepper2001-01-091-3/+3
| | | | | * elf/dl-load.c (_dl_map_object): Don't look in cache for preloading in SUID binaries.
* Update.Ulrich Drepper2001-01-091-2/+7
| | | | | * elf/dl-profile.c (_dl_start_profile): Open the output file with O_NOFOLLOW if possible.
* Update.Ulrich Drepper2001-01-071-13/+10
| | | | | | | | | | | | | | | | | | | 2001-01-05 H.J. Lu <hjl@gnu.org> * elf/dl-support.c (non_dynamic_init): Move the auxiliary vector checking to ... (_dl_aux_init): Here. New function. Defined only if HAVE_AUX_VECTOR is defined. * sysdeps/generic/libc-start.c (__libc_start_main): Call _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call _dl_aux_init. * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed. (HAVE_AUX_VECTOR): Defined. (_dl_aux_init): Declared.
* Update.Ulrich Drepper2001-01-051-9/+2
| | | | | | * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV if it is not available. Instead use it only if it is available. * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
* UpdateUlrich Drepper2001-01-051-5/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-04 H.J. Lu <hjl@gnu.org> * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined. (_dl_clktck): Declared. (non_dynamic_init): Take 3 arguments. Set _dl_pagesize, _dl_platform and _dl_clktck from AUX. 2001-01-01 Bruno Haible <haible@clisp.cons.org> Finish implementation of plural form handling. * intl/dcigettext.c (known_translation_t): Rename 'domain' field to 'domainname'. Remove 'plindex' field. Add 'domain' and 'translation_length' fields. (transcmp): Don't compare 'plindex' fields. (plural_lookup): New function. (DCIGETTEXT): Change cache handing in the plural case. Don't call plural_eval before the translation and its catalog file have been found. Remove plindex from cache key. Add 'translation_length' and 'domain' to cache result. (_nl_find_msg): Remove index argument, return length of translation to the caller instead. Weaken comparison of string lengths, to account for plural entries. Call iconv() on the entire result string, not only on the portion needed so far. * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp argument. * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
* Update.Ulrich Drepper2001-01-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-04 Ulrich Drepper <drepper@redhat.com> * Versions.def (ld): Add GLIBC_2.2. * catgets/gencat.c: Copyright 2001. * csu/version.c: Likewise. * debug/catchsegv.sh: Likewise. * debug/xtrace.sh: Likewise. * elf/ldconfig.c: Likewise. * elf/sprof.c: Likewise. * iconv/iconv_prog.c: Likewise. * locale/locale.c: Likewise. * locale/localedef.c: Likewise. * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise. * nscd/nscd.c: Likewise. * posix/getconf.c: Likewise. 2001-01-04 Mark Kettenis <kettenis@gnu.org> * include/stdio.h: Only provide __getwc_unlocked prototype if USE_IN_LIBIO is defined. 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code handling. 2001-01-03 Andreas Schwab <schwab@suse.de> * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias. * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias. * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias. * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix strtoull alias. * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias. * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix wcstoull alias. * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this directory. * sysdeps/generic/strtol_l.c: Likewise. * sysdeps/generic/strtoul_l.c: Likewise. * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c. * sysdeps/wordsize-64/strtol_l.c: Fix alias. * sysdeps/wordsize-64/strtoul_l.c: Likewise. * sysdeps/wordsize-64/wcstol_l.c: Fix alias. * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
* Update.Andreas Jaeger2000-12-311-2/+4
| | | | | | | * include/libc-internal.h: Add prototype for __libc_freeres. * malloc/mtrace.c: Likewise. * malloc/set-freeres.c: Likewise.
* Update.Andreas Jaeger2000-12-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h> for prototypes, remove redundant prototypes. * gmon/gmon.c: Likewise. * sysdeps/unix/i386/i586/clock_getres.c: Likewise. * sysdeps/unix/i386/i586/clock_gettime.c: Likewise. * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for prototypes. * elf/soinit.c: Likewise. * sysdeps/generic/prof-freq.c: Likewise. * sysdeps/mach/hurd/profil.c: Likewise. * debug/noophooks.c: Likewise. * debug/pcprofile.c: Likewise. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise. * sysdeps/generic/get_clockfreq.c: Likewise. * locale/localeinfo.h: Add internal prototypes. * elf/rtld.c (dl_main): Fix prototype.
* Update.Ulrich Drepper2000-12-311-8/+7
| | | | | | | | 2000-12-28 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (MALLOC_COPY): Handle case if source and destination overlap. Assume dest is always below source if overlapping.
* Update.Ulrich Drepper2000-12-317-20/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-30 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the object was not yet initialized. 2000-12-28 H.J. Lu <hjl@gnu.org> * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state is always consistent even if its dependency is failed. * elf/dl-open.c (_dl_open): Increment the open count before calling _dl_close () in case of failure. * elf/neededtest4.c: New file. * elf/neededobj5.c: New file. * elf/neededobj6.c: New file. * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c. (tests): Add neededtest4. (modules-names): Add neededobj5 and neededobj6. ($(objpfx)neededobj6.so): New target. ($(objpfx)neededtest4): New target. ($(objpfx)neededtest4.out): New target.
* Update.Andreas Jaeger2000-12-281-0/+14
| | | | | | | * elf/dl-minimal.c: Add prototypes. * include/locale.h: Add internal prototypes. * include/sys/gmon.h: Likewise.
* Update.Ulrich Drepper2000-12-281-3/+3
| | | | | | | | 2000-12-27 Ben Collins <bcollins@debian.org> * elf/dl-open.c (_dl_open): Correctly set the new objname pointer when reallocating the error strings. Reported by Kalle Olavi Niemitalo <kon@iki.fi>
* * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested Andreas Jaeger2000-12-272-0/+5
| | | | | | | | | | | function. * elf/dl-load.c (_dl_map_object_from_fd): Likewise. * locale/programs/locale.c (show_locale_vars): Likewise. (show_info): Likewise. * locale/programs/ld-collate.c (collate_output): Likewise. * locale/programs/ld-ctype.c (set_class_defaults): Likewise. * elf/dl-deps.c (_dl_map_object_deps): Likewise. * stdlib/rpmatch.c (rpmatch): Likewise.
* Add prototype for foo.Andreas Jaeger2000-12-271-0/+2
|
* Update.Andreas Jaeger2000-12-1719-0/+36
| | | | | | | | | * elf/neededobj1.c: Likewise. * elf/neededobj2.c: Likewise. * elf/neededobj3.c: Likewise. * elf/neededobj4.c: Likewise. * elf/nextmod1.c: Likewise. * elf/nextmod2.c: Likewise.
* Update.Andreas Jaeger2000-12-176-26/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-17 Andreas Jaeger <aj@suse.de> * elf/vismain.c: Move prototypes for functions in vismod*.c to vismod.h. * elf/vismod.h: New file. * elf/Makefile (distribute): Add vismod.h. * elf/vismod1.c: Include vismod.h. * elf/vismod2.c: Likewise. * elf/vismod3.c: Likewise. * elf/constload3.c: Add prototype declarations to shut up gcc. * elf/failobj.c: Likewise. * elf/nodelmod3.c: Likewise. * elf/filtmod1.c: Likewise. * elf/filtmod2.c: Likewise. * elf/reldepmod1.c: Likewise. * elf/reldepmod2.c: Likewise. * elf/reldepmod3.c: Likewise. * elf/reldepmod4.c: Likewise. * elf/unload2dep.c: Likewise. * elf/unload2mod.c: Likewise. * elf/ltglobmod1.c: Likewise. * elf/pathoptobj.c: Likewise. * locale/programs/ld-collate.c (collate_finish): Don't use labels at end of compound statement. * locale/programs/locale.c (show_info): Likewise. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
* Update.Andreas Jaeger2000-12-1516-10/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-15 Andreas Jaeger <aj@suse.de> * stdio-common/scanf9.c (main): Reformat and change to avoid warnings. * stdio-common/tstdiomisc.c: Make local functions static. * stdio-common/tst-printf.c: Likewise. * elf/constload2.c: Add prototype declarations to shut up gcc. * elf/dep1.c: Likewise. * elf/dep2.c: Likewise. * elf/dep3.c: Likewise. * elf/dep4.c: Likewise. * elf/ltglobmod2.c: Likewise. * libio/fmemopen.c: Make local functions static. * elf/Makefile (distribute): Added testobj.h. * elf/testobj.h: New file. * elf/testobj1.c: Include testobj.h and move prototype declarations to testobj.h. * elf/testobj2.c: Likewise. * elf/testobj3.c: Likewise. * elf/testobj4.c: Likewise. * elf/testobj5.c: Likewise. * elf/testobj6.c: Likewise. * elf/testobj1_1.c: Likewise. * elf/preloadtest.c: Likewise.
* Update.Ulrich Drepper2000-12-092-2/+16
| | | | | | | | | 2000-12-08 Jakub Jelinek <jakub@redhat.com> * elf/dl-open.c (_dl_open): If objname points right after errstring, allocate it together with errstring using alloca. * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname to "", because it might point to local stack.
* Fix a few more places.Ulrich Drepper2000-12-081-3/+3
|
* Update.Ulrich Drepper2000-12-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-08 Jakub Jelinek <jakub@redhat.com> * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at cp + len. Compute where from dirname. Reported by <jreiser@BitWagon.com>. 2000-12-08 Richard Henderson <rth@twiddle.net> * sysdeps/alpha/_mcount.S: Fix typo. * sysdeps/alpha/strncpy.S: Likewise. * sysdeps/alpha/alphaev6/Implies: New file. * sysdeps/alpha/alphaev67/Implies: New file. * sysdeps/alpha/alphaev67/ffs.S: New file. * sysdeps/alpha/alphaev67/ffsll.S: New file. * sysdeps/alpha/alphaev67/rawmemchr.S: New file. * sysdeps/alpha/alphaev67/stpcpy.S: New file. * sysdeps/alpha/alphaev67/stpncpy.S: New file. * sysdeps/alpha/rawmemchr.S: New file. * sysdeps/alpha/strcat.S: Tail call to __stxcpy. * sysdeps/alpha/strcpy.S: Likewise. From GMP 3.1.1: * sysdeps/alpha/alphaev6/addmul_1.s: New file. From rick.gorton@alpha-processor.com: * sysdeps/alpha/alphaev6/memchr.S: New file. * sysdeps/alpha/alphaev6/memcpy.S: New file. * sysdeps/alpha/alphaev6/memset.S: New file. * sysdeps/alpha/alphaev6/stxcpy.S: New file. * sysdeps/alpha/alphaev6/stxncpy.S: New file. * sysdeps/alpha/alphaev67/strcat.S: New file. * sysdeps/alpha/alphaev67/strchr.S: New file. * sysdeps/alpha/alphaev67/strlen.S: New file. * sysdeps/alpha/alphaev67/strncat.S: New file. * sysdeps/alpha/htonl.S: Use a shorter sequence. 2000-12-08 Jakub Jelinek <jakub@redhat.com> * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support. Reported by <pspencer@fields.utoronto.ca>. 2000-12-07 Jes Sorensen <jes@linuxcare.com> * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable. Pointed out by Hans Boehm. 2000-12-07 H.J. Lu <hjl@gnu.org> * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing. 2000-12-07 Andreas Jaeger <aj@suse.de> * misc/error.c: Add format attributes for __error and __error_at_line. * nscd/dbg_log.h: Add format attribute. 2000-12-08 Ulrich Drepper <drepper@redhat.com> * misc/sys/syslog.h: Add format attributes to syslog and vsyslog. Patch by Joseph S. Myers <jsm28@cam.ac.uk>. * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap. * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
* Update.Andreas Jaeger2000-12-053-20/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-05 Andreas Jaeger <aj@suse.de> * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as internal_function. * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise. * sysdeps/generic/dl-cache.c: Remove declaration of _dl_sysdep_read_whole_file. * elf/dl-load.c (_dl_map_object): Remove declaration of _dl_load_cache_lookup. * sysdeps/generic/ldsodefs.h: Add declarations of _dl_load_cache_lookup, _dl_unload_cache, _dl_sysdep_read_whole_file, _dl_sysdep_start and _dl_sysdep_start_cleanup. * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h now. * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes. * sysdeps/generic/dl-environ.c: Likewise. * stdio-common/printf_fp.c: Include <gmp.h> instead of <stdlib/gmp.h>. * math/atest-exp.c: Likewise. * math/atest-exp2.c: Likewise. * math/atest-sincos.c: Likewise. * stdio-common/_itoa.c: Likewise. * stdio-common/_itowa.c: Likewise. * include/gmp.h: New file with internal prototypes. * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from here to... * include/setjmp.h: ...here. * locale/Makefile (routines): Remove codeset_name since it's not needed anywhere. * locale/codeset_name.c: Removed.
* Update.Ulrich Drepper2000-11-2610-2/+12
| | | | | | | | | | | | | * elf/loadfail.c: Little cosmetic changes to avoid warnings. * elf/loadtest.c: Likewise. * elf/multiload.c: Likewise. * elf/next.c: Likewise. * elf/nodelete.c: Likewise. * elf/noload.c: Likewise. * elf/order.c: Likewise. * elf/origtest.c: Likewise. * elf/preloadtest.c: Likewise. * elf/restest1.c: Likewise.
* Update.Ulrich Drepper2000-11-201-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | 2000-11-20 Jakub Jelinek <jakub@redhat.com> * iconvdata/bug-iconv2.c (main): Use %zd in format string. * io/test-lfs.c (do_test): Cast statbuf.st_size to long long. * malloc/tst-valloc.c (main): Cast valloc return value to long. * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string. * math/test-fpucw.c (main): Use %lx in format string, cast control words to long. * stdio-common/tst-fmemopen.c (main): Use %td in format strings. * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so large that it is unsigned warning. * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing it to long on sparc64. 2000-11-20 Andreas Jaeger <aj@suse.de> * nscd/nscd.h (termination_handler): Add noreturn attribute. (receiv_print_stats): Likewise. * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
* Update.Ulrich Drepper2000-11-163-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-15 H.J. Lu <hjl@gnu.org> * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if ELF_FUNCTION_PTR_IS_SPECIAL is not defined. (DL_DT_FINI_ADDRESS): Likewise. * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the return type to ElfW(Addr). (_dl_function_address): New prototype. (DL_FUNCTION_ADDRESS): Defined. (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS. (DL_DT_FINI_ADDRESS): Likewise. * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address. * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed. (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS. * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ... (_dl_function_address): This. * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the function pointer for DT_FINI. * elf/dl-close.c (_dl_close): Likewise. * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the function pointer for DT_INIT. 2000-11-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly end of wexpbuf buffer.
* Update.Andreas Jaeger2000-11-151-0/+2
| | | | * elf/chroot_canon.c: Include <stdint.h>.
* Update.Andreas Jaeger2000-11-152-14/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-15 Andreas Jaeger <aj@suse.de> * elf/cache.c (struct cache_entry): Use uint64_t for hwcap. (print_entry): Likewise. (add_to_cache): Likewise. * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change. * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap. (path_hwcap): Likewise. (search_dir): Likewise. * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform. * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_platform_string): New. (_DL_HWCAP_PLATFORM): New. (_dl_string_platform): New. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New. (_dl_string_platform): New. (_DL_HWCAP_PLATFORM): New. (_dl_platform_string): New. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform recognition. (_DL_HWCAP_COUNT): New. (_dl_string_platform): New. (_DL_HWCAP_PLATFORM): New. (_dl_platform_string): New.
* (struct cache_entry): Use uint64_t for hwcap. (print_entry): Likewise. ↵Andreas Jaeger2000-11-151-6/+7
| | | | (add_to_cache): Likewise.
* (create_links): Fix alloca calculation. Patch by Ben Collins ↵Andreas Jaeger2000-11-101-2/+2
| | | | <bcollins@debian.org>.
* Update. glibc-2.1.97 cvs/glibc-2_1_97Ulrich Drepper2000-11-031-1/+1
| | | | | | * iconvdata/Makefile (distribute): Add viscii.c. * elf/Makefile (distribute): Add tst-pathopt.sh.
* Update.Ulrich Drepper2000-11-013-1/+5
| | | | | | | | | | | | | | | | | | | | | * elf/Versions [ld] (GLIBC_2.2): Export _dl_clktck and _dl_pagesize. * elf/dl-load.c: Define _dl_clktck. * elf/elf.h: Define AT_CLKTCK. * include/time.h: Declare __getclktck. * misc/Makefile (routines): Add getclktck. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_CLKTCK. (_dl_show_auxv): Show AT_CLKTCK value. * sysdeps/generic/getclktck.c: New file. * sysdeps/unix/sysv/linux/getclktck.c: New file. * sysdeps/unix/sysv/linux/alpha/getclktck.c: New file. * sysdeps/unix/sysv/linux/ia64/getclktck.c: New file. * sysdeps/posix/sysconf.c: Use __getclktck to handle _SC_CLK_TCK. * sysdeps/unix/sysv/linux/getpagesize.c: New file. * sysdeps/unix/sysv/linux/bits/time.h: Use __sysconf to for CLK_TCK. * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
* Update.Ulrich Drepper2000-10-301-2/+6
| | | | | * elf/dl-load.c (open_path): Don't exit loop early if we didn't use a directory at all.
* Update.Ulrich Drepper2000-10-304-3/+92
| | | | | | | * elf/Makefile: Add rules to build and run tst-pathopt. * elf/tst-pathopt.c: New file. * elf/tst-pathopt.sh: New file. * elf/pathoptobj.c: New file.