mirror of git://sourceware.org/git/glibc.git
(_dl_lookup_symbol_x): Rename hash to old_hash and don't compute value here. Compute new-style hash value. Pass new hash value and reference to variable with the old value to do_lookup_x. (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not old-style hash table. (_dl_debug_bindings): Pass new hash value and reference to variable with the old value to do_lookup_x. * elf/do-lookup.h (do_lookup_x): Accept additional parameter with new-style hash value and change old-style hash value parameter to be a reference. Reoganize functions to determine whether new-style hash table is available. Only fall back on old-style table. If old-style hash value is needed, compute it here. * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH entry. * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, DT_TLSDEC_GOT. Adjust DT_ADDRNUM. * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. * Makeconfig: If linker supports --hash-style option add it to all linker command lines to build DSOs. * config.make.in: Define have-hash-style. * configure.in: Test whether linker supports --hash-style option. * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. * sysdeps/generic/ldsodefs.h: Adjust prototype. |
||
|---|---|---|
| .. | ||
| elf | ||
| net | ||
| netinet | ||
| nfs | ||
| sys | ||
| Makefile | ||
| _G_config.h | ||
| a.out.h | ||
| abort-instr.h | ||
| aio_misc.h | ||
| allocalim.h | ||
| asm-syntax.h | ||
| bp-checks.h | ||
| bp-semctl.h | ||
| bp-start.h | ||
| bp-sym.h | ||
| bp-thunks.h | ||
| confstr.h | ||
| device-nrs.h | ||
| dirstream.h | ||
| dl-cache.h | ||
| dl-dtprocnum.h | ||
| dl-fptr.h | ||
| dl-hash.h | ||
| dl-librecon.h | ||
| dl-lookupcfg.h | ||
| dl-machine.h | ||
| dl-osinfo.h | ||
| dl-procinfo.c | ||
| dl-procinfo.h | ||
| dl-sysdep.h | ||
| dl-tls.h | ||
| dwarf2.h | ||
| entry.h | ||
| errqueue.h | ||
| fd_to_filename.h | ||
| fork.h | ||
| fpu_control.h | ||
| frame.h | ||
| framestate.c | ||
| gccframe.h | ||
| gmp-mparam.h | ||
| hp-timing.h | ||
| ifreq.h | ||
| initfini.c | ||
| intr-msg.h | ||
| inttypes.h | ||
| ldconfig.h | ||
| ldsodefs.h | ||
| libm-test-ulps | ||
| local-setxid.h | ||
| machine-gmon.h | ||
| machine-lock.h | ||
| machine-sp.h | ||
| malloc-machine.h | ||
| math_ldbl.h | ||
| math_ldbl_opt.h | ||
| memcopy.h | ||
| memusage.h | ||
| not-cancel.h | ||
| nscd-types.h | ||
| pagecopy.h | ||
| paths.h | ||
| profil-counter.h | ||
| pty-private.h | ||
| register-dump.h | ||
| sigcontextinfo.h | ||
| siglist.h | ||
| sigset-cvt-mask.h | ||
| stackinfo.h | ||
| stdint.h | ||
| symbol-hacks.h | ||
| sysdep-cancel.h | ||
| sysdep.h | ||
| testrtsig.h | ||
| thread_state.h | ||
| tls-macros.h | ||
| tls.h | ||
| tst-audit.h | ||
| tst-stack-align.h | ||
| unsecvars.h | ||
| unwind-dw2-fde-glibc.c | ||
| unwind-dw2-fde.c | ||
| unwind-dw2-fde.h | ||
| unwind-dw2.c | ||
| unwind-pe.c | ||
| unwind-pe.h | ||
| unwind.h | ||
| utmp-equal.h | ||