]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
ELF type definitions for Linux/Alpha.
authorUlrich Drepper <drepper@redhat.com>
Tue, 27 Jul 1999 05:47:28 +0000 (05:47 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 27 Jul 1999 05:47:28 +0000 (05:47 +0000)
sysdeps/unix/sysv/linux/alpha/bits/elfclass.h [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/linux/alpha/bits/elfclass.h b/sysdeps/unix/sysv/linux/alpha/bits/elfclass.h
new file mode 100644 (file)
index 0000000..e5aa4a0
--- /dev/null
@@ -0,0 +1,14 @@
+/* This file specifies the native word size of the machine, which indicates
+   the ELF file class used for executables and shared objects on this
+   machine.  */
+
+#ifndef _LINK_H
+# error "Never use <bits/elfclass.h> directly; include <link.h> instead."
+#endif
+
+#include <bits/wordsize.h>
+
+#define __ELF_NATIVE_CLASS __WORDSIZE
+
+/* Linux/Alpha is exceptional as it has .hash section with 64 bit entries.  */
+typedef uint64_t Elf_Symndx;