summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/bits/elfclass.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-19 20:13:39 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-19 20:13:39 +0000
commit13a0c712ba41b02bd67a8a891e54fe9e77823595 (patch)
tree41b6008269e970c7f037d4e8fc1ef5a6e472e455 /libc/sysdeps/linux/i386/bits/elfclass.h
parenta1f0a08481a8577c3ec028cebd5e8a02853b3f5d (diff)
Sync i386 up with _all_ the glibc 2.1.3 include/bits headers,
since we will end up needing a few more of them anyways, and all the other arches have the full set anyways. -Erik
Diffstat (limited to 'libc/sysdeps/linux/i386/bits/elfclass.h')
-rw-r--r--libc/sysdeps/linux/i386/bits/elfclass.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/i386/bits/elfclass.h b/libc/sysdeps/linux/i386/bits/elfclass.h
new file mode 100644
index 000000000..bb4dd545c
--- /dev/null
+++ b/libc/sysdeps/linux/i386/bits/elfclass.h
@@ -0,0 +1,11 @@
+/* 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