summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/include/arch/moxie/machine/elf_machdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libdl/include/arch/moxie/machine/elf_machdep.h')
-rw-r--r--cpukit/libdl/include/arch/moxie/machine/elf_machdep.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/cpukit/libdl/include/arch/moxie/machine/elf_machdep.h b/cpukit/libdl/include/arch/moxie/machine/elf_machdep.h
new file mode 100644
index 0000000000..3f0df23cdc
--- /dev/null
+++ b/cpukit/libdl/include/arch/moxie/machine/elf_machdep.h
@@ -0,0 +1,15 @@
+#define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB
+
+#define ELF32_MACHDEP_ID_CASES \
+ case EM_MOXIE: \
+ break;
+
+#define ELF32_MACHDEP_ID EM_MOXIE
+
+#define ARCH_ELFSIZE 32
+
+#define R_MOXIE_NONE 0
+#define R_MOXIE_32 1
+#define R_MOXIE_PCREL10 2
+
+#define R_TYPE(name) __CONCAT(R_MOXIE_,name)