]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - bits/elfclass.h
Fix http: URL in 'configure'
[thirdparty/glibc.git] / bits / elfclass.h
index 1ad12954b2777e61ccc26a24bf63362b40e268a5..180227d9e7a9bcd77b827cd8f2a5cfaf707c3dbc 100644 (file)
@@ -2,7 +2,13 @@
    the ELF file class used for executables and shared objects on this
    machine.  */
 
-#define __ELF_NATIVE_CLASS ??
+#ifndef _LINK_H
+# error "Never use <bits/elfclass.h> directly; include <link.h> instead."
+#endif
 
-/* This file goes in sysdeps/wordsize-?? and sysdeps/MACHINE/Implies lists
-   wordsize-?? for MACHINE's wordsize.  */
+#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;