summaryrefslogtreecommitdiffstats
path: root/src/arch/armnommu/include/bits/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/armnommu/include/bits/elf.h')
-rw-r--r--src/arch/armnommu/include/bits/elf.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/arch/armnommu/include/bits/elf.h b/src/arch/armnommu/include/bits/elf.h
new file mode 100644
index 000000000..e0a17aa55
--- /dev/null
+++ b/src/arch/armnommu/include/bits/elf.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2004 Tobias Lorenz
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef ARM_BITS_ELF_H
+#define ARM_BITS_ELF_H
+
+/* ELF Defines for the current architecture */
+#define EM_CURRENT EM_ARM
+#define ELFDATA_CURRENT ELFDATA2LSB
+
+#define ELF_CHECK_ARCH(x) \
+ ((x).e_machine == EM_CURRENT)
+
+#endif /* ARM_BITS_ELF_H */