summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-11-06 10:03:11 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-11-20 12:57:32 -0600
commitc8784667fb7a116d80e679a180d9e0adc46c0850 (patch)
tree7f5f13de3654aae281dae6098c0469ba223d0989
parentautotools: regenerate preinstall.am for pc386 (diff)
downloadrtems-c8784667fb7a116d80e679a180d9e0adc46c0850.tar.bz2
libdl/.../mips/machine/elf_machdep.h: Fix typo so compiles
-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