[rtems commit] libdl/.../mips/machine/elf_machdep.h: Fix typo so compiles

Joel Sherril joel at rtems.org
Thu Nov 20 18:57:49 UTC 2014


Module:    rtems
Branch:    master
Commit:    c8784667fb7a116d80e679a180d9e0adc46c0850
Changeset: http://git.rtems.org/rtems/commit/?id=c8784667fb7a116d80e679a180d9e0adc46c0850

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Thu Nov  6 10:03:11 2014 -0600

libdl/.../mips/machine/elf_machdep.h: Fix typo so compiles

---

 cpukit/libdl/include/arch/mips/machine/elf_machdep.h | 7 +++++--
 1 file 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 d27d431..26700ce 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




More information about the vc mailing list