mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-11 15:50:06 +00:00
710f7bab59
* elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and don't allow a defn resolving to that address. * elf/link.h: Update prototype and comment. * elf/dl-runtime.c (fixup): Define local `resolve' function and pass it to elf_machine_relplt. * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg RELOC_ADDR and pass it through to _dl_lookup_symbol. * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel instead of calling it ourselves and passing its results. (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR. * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol. * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/stub/dl-machine.h: Likewise. * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf. * elf/dlfcn.h (dl_open_mode): Enumerated type removed. (RTLD_LAZY, RTLD_NOW): Define these as macros instead. (RTLD_GLOBAL): New macro. (dlopen): Take arg of type int instead of dl_open_mode. * elf/dlopen.c: Likewise. * math/math.h (_Mldbl): New macro, either produces L suffix or not. (M_*): Use it for these constants.
24 lines
844 B
Plaintext
24 lines
844 B
Plaintext
# This file defines the shared library version numbers we will install.
|
|
|
|
# The following lines list filename patterns matching canonical configurations,
|
|
# and the associated versions to use for various libraries. The entire
|
|
# list is processed, with earlier entries taking precedence over later
|
|
# entries. So loose patterns at the end of the list can give defaults.
|
|
|
|
# Configuration Library versions
|
|
# ------------- ------- --------
|
|
|
|
# The interface to -lm depends only on cpu, not on operating system.
|
|
i?86-*-* libm=6
|
|
m68k-*-* libm=6
|
|
|
|
# We provide libc.so.6 for Linux kernel versions 1.3.95 and later.
|
|
i?86-*-linux* libc=6
|
|
m68k-*-linux* libc=6
|
|
|
|
# libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
|
|
*-*-gnu* libmachuser=1
|
|
|
|
# libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
|
|
*-*-gnu* libhurduser=0.0
|