Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/libexec/ld.elf_so

Module Name:    src
Committed By:   kamil
Date:           Sat Feb 29 04:23:05 UTC 2020

Modified Files:
        src/libexec/ld.elf_so: reloc.c rtld.c rtld.h symbol.c

Log Message:
Implement and integrate GNU Hashing function

Define Elf_Hash struct that contains ELF/SYSV and GNU hash checksum.
Implement _rtld_gnu_hash() for DT_GNU_HASH.
Adapt existing code to compute all Elf_Hash types, instead of only
the ELF/SYSV one.
Rename _rtld_elf_hash() to _rtld_sysv_hash() to match the GNU toolchain

_rtld_gnu_hash() uses Dan Bernstein's string hash function posted eons ago
on comp.lang.c.

To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/libexec/ld.elf_so/reloc.c
cvs rdiff -u -r1.201 -r1.202 src/libexec/ld.elf_so/rtld.c
cvs rdiff -u -r1.136 -r1.137 src/libexec/ld.elf_so/rtld.h
cvs rdiff -u -r1.70 -r1.71 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.

Home | Main Index | Thread Index | Old Index