diff options
author | kib <kib@FreeBSD.org> | 2012-04-30 13:31:10 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-04-30 13:31:10 +0000 |
commit | 14c0cbcf622b074b9aa6b0784df0b0536abb4f67 (patch) | |
tree | eb5584ba562f97d5359e6f5373fcc4ff48e9387b /libexec/rtld-elf/powerpc64 | |
parent | 8de997e0528cf3b3d79049e6a2e6901bd746a076 (diff) | |
download | FreeBSD-src-14c0cbcf622b074b9aa6b0784df0b0536abb4f67.zip FreeBSD-src-14c0cbcf622b074b9aa6b0784df0b0536abb4f67.tar.gz |
Add GNU hash support for rtld.
Based on dragonflybsd support for GNU hash by John Marino <draco marino st>
Reviewed by: kan
Tested by: bapt
MFC after: 2 weeks
Diffstat (limited to 'libexec/rtld-elf/powerpc64')
-rw-r--r-- | libexec/rtld-elf/powerpc64/reloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/powerpc64/reloc.c b/libexec/rtld-elf/powerpc64/reloc.c index 92df83d..b13500f 100644 --- a/libexec/rtld-elf/powerpc64/reloc.c +++ b/libexec/rtld-elf/powerpc64/reloc.c @@ -287,7 +287,7 @@ reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, const Elf_Rela *relalim; const Elf_Rela *rela; SymCache *cache; - int bytes = obj->nchains * sizeof(SymCache); + int bytes = obj->dynsymcount * sizeof(SymCache); int r = -1; /* |