CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2018/11/27 20:18:00
Modified files: libexec/ld.so : resolve.c resolve.h Log message: Implement support for DT_GNU_HASH, taking all the interesting bits from Matt Dillon's implementation in DragonFlyBSD commit 7629c631. One difference is that as long as DT_HASH is still present, ld.so will use that to get the total number of symbols rather than walking the GNU hash chains. Note that the GPLv2 binutils we have doesn't support DT_GNU_HASH, so this only helps archs were lld is used. ok kettenis@ mpi@