Module Name: src Committed By: kamil Date: Sat Feb 29 04:24:34 UTC 2020
Modified Files: src/libexec/ld.elf_so: headers.c reloc.c rtld.h symbol.c Log Message: Implement DT_GNU_HASH DT_GNU_HASH serves the same purpose as DT_HASH, however it is a distinct and faster apprach implemented and designed in the GNU toolchain in 2006. DT_GNU_HASH is preferred whenever available. Original GNU benchmarks claim 50% faster dynamic linking time. https://www.sourceware.org/ml/binutils/2006-06/msg00418.html Code based on FreeBSD and OpenBSD, both were based on DragonFlyBSD. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/libexec/ld.elf_so/headers.c cvs rdiff -u -r1.115 -r1.116 src/libexec/ld.elf_so/reloc.c cvs rdiff -u -r1.137 -r1.138 src/libexec/ld.elf_so/rtld.h cvs rdiff -u -r1.71 -r1.72 src/libexec/ld.elf_so/symbol.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.