about summary refs log tree commit diff
path: root/elf
Commit message (Collapse)AuthorAgeFilesLines
* Update.Andreas Jaeger2001-04-021-1/+1
| | | | | | | | | * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount initializers. * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise. * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid warning about unused variable.
* * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't appendRoland McGrath2001-04-011-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | options after $(build-module), which is no longer a single command. (LDFLAGS-link-rpcuserlibs): New variable to hold those options. (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New variables using it. Reported by Mark Kettenis <kettenis@gnu.org>. 2001-03-11 Roland McGrath <roland@frob.com> * elf/rtld.c (dl_main): Add cast to quiet warning. * elf/dl-load.c (_dl_map_object_from_fd): Likewise. * iconv/gconv_conf.c (__gconv_get_path): Likewise. (__gconv_read_conf): Likewise. * iconv/gconv_db.c (gen_steps): Likewise. (__gconv_find_transform): Likewise. * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise. (fopen_uncompressed): Use const in second argument's type. 2001-03-11 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function. * mach/mach_error.h: Fix ancient #endif syntax. * hurd/hurdmalloc.c: Likewise. * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add, compare_and_swap): Add volatile qualifier to first arg, to bring these prototypes in line with all the other implementations. Add a #warning to remind the builder that these are not atomic. 2001-03-04 Roland McGrath <roland@frob.com> * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first member of TEMP_F so its type is _IO_FILE * as expected. * hurd/fopenport.c (seekio): Conditionalize type of POS argument on [USE_IN_LIBIO]. Check the value for overflow, since for libio it might exceed off_t's range. 2001-02-25 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype. * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise. * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a macro instead of an inline function, (MSG_EXAMINE): Likewise. * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##. * hurd/get-host.c: Include <string.h> for decls of built-ins. * hurd/hurdchdir.c: Likewise. * sysdeps/mach/hurd/i386/sigreturn.c: Likweise. * sysdeps/mach/hurd/opendir.c: Likewise. * mach/mach_init.c: Include <unistd.h> for _exit decl. * mach/errsystems.awk: Give output file a trailing newline. * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that the script will use our compiler for the cpp stage. With --enable-all-warnings we get a whole bunch of warnings, and these are just a few fixes; there are more needed to silence it. * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern decls before extern inline defns to quiet gcc warning. * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise. * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
* (tests): Don't depend on $(objpfx)tst-pathopt.out for cross-compiling. ↵Ulrich Drepper2001-03-251-2/+2
| | | | ($(objpfx)tst-pathopt.out):Undo the last change.
* (main): Use proper prototype.Andreas Jaeger2001-03-211-1/+1
|
* Update.Ulrich Drepper2001-03-201-19/+22
| | | | * elf/dl-load.c: Various little optimizations.
* Update.Ulrich Drepper2001-03-202-63/+64
| | | | | | | | | 2001-03-19 Ulrich Drepper <drepper@redhat.com> * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect. * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust. (_dl_dst_substitute): Likewise.
* Update.Ulrich Drepper2001-03-191-4/+8
| | | | | | | | | | | | | * elf/cache.c: Mark and have translated a few more messages. 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com> * elf/cache.c: Add case for FLAG_S390_LIB64. * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64. * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file. * sysdeps/unix/sysv/linux/s390/readelflib.c: New file. 2001-03-19 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2001-03-171-1/+1
| | | | | | | 2001-03-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Internationalize.
* Update.Ulrich Drepper2001-03-171-3/+1
| | | | | | | 2001-02-06 Jakub Jelinek <jakub@redhat.com> * elf/dl-load.c (_dl_map_object): Don't test l_opencount when looking for name matches.
* Update.Ulrich Drepper2001-03-161-5/+1
| | | | | | | 2001-03-16 Jakub Jelinek <jakub@redhat.com> * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead update osversion from more recent library.
* Update.Ulrich Drepper2001-03-161-1/+10
| | | | | | | | | | | | | | 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> * shlib-versions: Add rule for Linux on 64 bit S/390. * sysdeps/s390/s390-64/pt-machine.h: New file. * sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c: New file. 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/pt-machine.h: Move to... * sysdeps/s390/s390-32/pt-machine.h: ...here. Add defines for FLOATING_STACK and ARCH_STACK_MAX_SIZE.
* Update.Ulrich Drepper2001-03-166-58/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-12 Jakub Jelinek <jakub@redhat.com> * csu/Makefile (abi-tag.h): Define OS and version separately, allow version to be overriden from config.h. * csu/abi-note.S: Use OS and version separately, include config.h. * elf/dl-load.c (_dl_osversion): New. (_dl_map_object_from_fd): Kill some warnings. (open_verify): Check .note.ABI-tag of the library if present. * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx). * elf/cache.c (struct cache_entry): Add osversion. (print_entry): Print osversion. (print_cache): Pass osversion to it. (compare): Sort according to osversion. (save_cache): Set osversion. (add_to_cache): Add osversion argument. * sysdeps/generic/ldconfig.h (add_to_cache, process_file, process_elf_file): Add osversion argument. * elf/readlib.c (process_file): Likewise. * sysdeps/generic/readelflib.c (process_elf_file): Likewise. * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file, process_elf32_file, process_elf64_file): Likewise. * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file, process_elf32_file, process_elf64_file): Likewise. * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file, process_elf32_file, process_elf64_file): Likewise. * elf/ldconfig.c (manual_link): Pass it. (search_dir): Issue diagnostic if two libs with the same soname in the same directory have different .note.ABI-tag. Record osversion in dlib_entry and use it from there. (struct lib_entry): Remove. (struct dlib_entry): Add osversion. * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check osversion. * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused field with osversion. * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare. * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h. * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel version in _dl_osversion. * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION. * Makerules (build-shlib-helper, build-module-helper): New. (build-shlib, build-module-helper): Make sure .note.ABI-tag comes early. * config.h.in (__ABI_TAG_VERSION): Add. * elf/dl-minimal.c (__strtoul_internal): Set endptr on return. * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Handle LD_ASSUME_KERNEL. * sysdeps/unix/sysv/linux/dl-librecon.h: New.
* Update.Ulrich Drepper2001-03-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * timezone/antarctica: Update from tzdata2001a. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/backward: Likewise. * timezone/etcetera: Likewise. * timezone/europe: Likewise. * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/systemv: Likewise. * timezone/yearistype: Likewise. * timezone/zone.tab: Likewise. * timezone/tzdump.c: Update from tzcode2001a. 2001-03-15 H.J. Lu <hjl@gnu.org> * intl/Makefile: Fix a typo. 2001-03-14 David Mosberger <davidm@hpl.hp.com> * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when writing arc structures. 2001-03-15 H.J. Lu <hjl@gnu.org> * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against cross-compiling. 2001-03-13 Andreas Schwab <schwab@suse.de> * posix/PTESTS2C.sed: Replace literal CRs by `\r'. 2001-03-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test for control message fitting into message data. Patch by James Antill <james@and.org>.
* (EM_*): Synch with official list.Andreas Jaeger2001-03-111-2/+20
|
* Update.Ulrich Drepper2001-03-103-76/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-07 David Mosberger <davidm@hpl.hp.com> * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro. 2001-03-07 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused variables addr & len. 2001-02-22 Jes Sorensen <jes@linuxcare.com> * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove punctuation in asm constraint. 2001-03-07 Mark Kettenis <kettenis@gnu.org> * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include <time.h> to get definition of `struct timespec'. 2001-03-08 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if LD_WARN=1, not if LD_WARN is unset. 2001-03-07 Andreas Schwab <schwab@suse.de> * elf/ldconfig.h: Moved to ... * sysdeps/generic/ldconfig.h: ... here. * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file. * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file. * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file. * elf/readlib.c (interpreters, known_libs): Use SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES instead of hard coding old names.
* Update.Andreas Jaeger2001-03-091-1/+1
| | | | | | | | | | 2001-03-09 Andreas Jaeger <aj@suse.de> * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle both new and old EM_S390 values. (EM_S390_OLD): New constant. * elf/elf.h (EM_S390): Use official value.
* Update.Andreas Jaeger2001-03-071-3/+0
| | | | | | | * elf/ldconfig.c (_dl_sysdep_message): Remove. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include ldsodefs.h. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
* Update.Ulrich Drepper2001-03-043-3/+29
| | | | | | * elf/global.c: New file. * elf/globalmod1.c: New file. * elf/Makefile: Add rules to build and run global.
* Update.Ulrich Drepper2001-03-041-3/+21
| | | | | | | | | | | | | | 2001-02-27 Philip Blundell <pb@futuretv.com> * elf/elf.h: Add new ARM definitions from latest (B-01) specification. Correct naming of EF_ARM_ALIGN8 et al. 2001-03-04 Ulrich Drepper <drepper@redhat.com> * stdio-common/tst-printf.sh: Remove bashisms. Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>. * shlib-versions: Add entry for libanl.
* Update.Ulrich Drepper2001-03-031-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Versions.def: Add libanl definition. * shlig-versions: Add entry for libanl. * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c. (routines): Add gai_sigqueue. (extra-libs): Add libanl. (libanl-routines): New variable. Add rules to build libanl and ga_test. * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue. [libanl]: New library. * resolv/netdb.h: Add definitions for libanl. * resolv/getaddrinfo_a.c: New file. * resolv/gai_cancel.c: New file. * resolv/gai_error.c: New file. * resolv/gai_misc.c: New file. * resolv/gai_misc.h: New file. * resolv/gai_notify.c: New file. * resolv/gai_suspend.c: New file. * resolv/ga_test.c: New file. * sysdeps/generic/gai_sigqueue.c: New file. * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file. * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined and provide only that definition. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise. * rt/aio_misc.c: Fix typos in comments. * rt/lio_listio.c: Pretty printing. Little optimization in request list handling. * elf/rtld.c: Remove commented out code.
* Update.Ulrich Drepper2001-03-012-4/+5
| | | | | | | | | | | 2001-03-01 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c: Pretty printing. * elf/dl-object.c (_dl_new_object): Don't add the loader's scope twice. * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
* Update.Ulrich Drepper2001-02-281-1/+1
| | | | | | | | | | | | | | 2001-02-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle relocations which are not in ld.so if RTLD_BOOTSTRAP is defined. * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo. * elf/dl-misc.c (_dl_debug_vdprintf): Fix type visible on 64-bit machines. * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
* Update.Ulrich Drepper2001-02-2814-260/+163
| | | | | | | | | * sysdeps/arm/dl-machine.h: Likewise. * sysdeps/hppa/dl-machine.h: Likewise. * sysdeps/m68k/dl-machine.h: Likewise. * sysdeps/powerpc/dl-machine.h: Likewise. * sysdeps/s390/dl-machine.h: Likewise. * sysdeps/sh/dl-machine.h: Likewise.
* Update.Ulrich Drepper2001-02-282-61/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export _dl_debug_printf. * elf/dl-misc.c: Remove definition of _dl_sysdep_output and _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf, _dl_debug_printf_c, and _dl_printf. * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output, _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c, _dl_printf, _dl_error_printf, and _dl_fatal_printf. * elf/dl-close.c: Replace use of old output functions with the new ones. * elf/dl-deps.c: Likewise. * elf/dl-error.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-init.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-minimal.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-profile.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-version.c: Likewise. * elf/do-lookup.h: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/generic/dl-sysdep.c: Likewise. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/i386/dl-machine.h: Likewise. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration. * dlfcn/Makefile: Don't run tstatexit test unless .hidden is supported by assembler.
* Update.Ulrich Drepper2001-02-274-81/+79
| | | | | | | | | * elf/rtld.c: Little optimizations in handling _dl_lazy. * elf/cache.c (save_cache): Portability changes. * elf/dl-profile.c (_dl_start_profile): Likewise. * elf/sln.c: Cleanups. Remove arbitrary limits.
* Update.Ulrich Drepper2001-02-271-3/+4
| | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask. * elf/dl-deps.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-init.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-version.c: Likewise. * elf/do-lookup.h: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/generic/libc-start.c: Likewise. * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files. Export _dl_debug_mask. * Versions.def: Define GLIBC_2.2.3 for ld.
* 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.