generalize ELF hash table types not to assume 32-bit entries
authorRich Felker <dalias@aerifal.cx>
Fri, 11 Nov 2016 17:30:24 +0000 (12:30 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 11 Nov 2016 17:46:06 +0000 (12:46 -0500)
commitb418ea1b66d0d5a08640d4edf3b65d4619c6ef7f
treef4b2a1cc89e1c5fce77fd13cd0821eb2178c1f25
parent4078a5c31fa67987051c2180db7a07702534032f
generalize ELF hash table types not to assume 32-bit entries

alpha and s390x gratuitously use 64-bit entries (wasting 2x space and
cache utilization) despite the values always being 32-bit.

based on patch by Bobby Bingham, with changes suggested by Alexander
Monakov to use the public Elf_Symndx type from link.h (and make it
properly variable by arch) rather than adding new internal
infrastructure for handling the type.
arch/generic/bits/link.h [new file with mode: 0644]
include/link.h
ldso/dynlink.c
src/internal/vdso.c