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

Joel Sherrill joel.sherrill at oarcorp.com
Thu Nov 6 16:08:24 UTC 2014


---
 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
-- 
1.9.3



More information about the devel mailing list