From b418ea1b66d0d5a08640d4edf3b65d4619c6ef7f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 11 Nov 2016 12:30:24 -0500 Subject: 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 | 1 + 1 file changed, 1 insertion(+) create mode 100644 arch/generic/bits/link.h (limited to 'arch/generic/bits') diff --git a/arch/generic/bits/link.h b/arch/generic/bits/link.h new file mode 100644 index 00000000..4a94d8f8 --- /dev/null +++ b/arch/generic/bits/link.h @@ -0,0 +1 @@ +typedef uint32_t Elf_Symndx; -- cgit v1.2.1