summaryrefslogtreecommitdiff
path: root/bits/elfclass.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-27 05:53:25 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-27 05:53:25 +0000
commita1eca9f3293f9a40f58f89d33f0a90a0c7a013ae (patch)
tree065edf2f59110c76ee26fa24739983c84f61b757 /bits/elfclass.h
parent650364fa29479ad5926870f03083854cdcad3810 (diff)
Update.
1999-07-25 Jakub Jelinek <jj@ultra.linux.cz> * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx. * elf/dl-lookup.c (_dl_setup_hash): Likewise. * elf/dl-load.c (_dl_map_object): Likewise. * elf/do-lookup.h (do_lookup*): Likewise. * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t. * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_symndx as uint64_t. * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
Diffstat (limited to 'bits/elfclass.h')
-rw-r--r--bits/elfclass.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bits/elfclass.h b/bits/elfclass.h
index bb4dd545c1..180227d9e7 100644
--- a/bits/elfclass.h
+++ b/bits/elfclass.h
@@ -9,3 +9,6 @@
#include <bits/wordsize.h>
#define __ELF_NATIVE_CLASS __WORDSIZE
+
+/* The entries in the .hash table always have a size of 32 bits. */
+typedef uint32_t Elf_Symndx;