summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/bits/elfclass.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-21 18:58:30 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-21 18:58:30 +0000
commit36970cc69149ef3a3f32d57663a14adedaebcbb9 (patch)
treea82e8df0bf9a6771c4b27f9f15c5a2844e8f81ea /libc/sysdeps/linux/sh/bits/elfclass.h
parent93ccb0356b10af44f620ec035fb76fa8a1165c22 (diff)
Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - Embedded
and Personal Systems. Thanks! -Erik
Diffstat (limited to 'libc/sysdeps/linux/sh/bits/elfclass.h')
-rw-r--r--libc/sysdeps/linux/sh/bits/elfclass.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sh/bits/elfclass.h b/libc/sysdeps/linux/sh/bits/elfclass.h
new file mode 100644
index 000000000..bb4dd545c
--- /dev/null
+++ b/libc/sysdeps/linux/sh/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