summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/include/arch/mips/machine/elf_machdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libdl/include/arch/mips/machine/elf_machdep.h')
-rw-r--r--cpukit/libdl/include/arch/mips/machine/elf_machdep.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/cpukit/libdl/include/arch/mips/machine/elf_machdep.h b/cpukit/libdl/include/arch/mips/machine/elf_machdep.h
index d27d431835..26700ce4ce 100644
--- a/cpukit/libdl/include/arch/mips/machine/elf_machdep.h
+++ b/cpukit/libdl/include/arch/mips/machine/elf_machdep.h
@@ -9,20 +9,23 @@
#define ARCH_ELFSIZE 32 /* MD native binary size */
#endif
-#if ELFSIZE == 32
+#if ARCH_ELFSIZE == 32
#define ELF32_MACHDEP_ID_CASES \
case EM_MIPS: \
break;
#define ELF32_MACHDEP_ID EM_MIPS
-#elif ELFSIZE == 64
+
+#elif ARCH_ELFSIZE == 64
#define ELF64_MACHDEP_ID_CASES \
case EM_MIPS: \
break;
#define ELF64_MACHDEP_ID EM_MIPS
+
#endif
+
/* mips relocs. */
#define R_MIPS_NONE 0