[PATCH] ELF header to support mips2.

Steven Rostedt <[email protected]> Mon, 8 Jul 2002 14:41:15 -0400 (EDT)
Newsgroups gmane.linux.ports.mips.devel
Message-ID <[email protected]>
Hi,

I've been using mips2 elf executables, and I keep having to make a change
in the kernel to make this work. I was wondering who I need to contact in
order to get this into the main branch.

Thanks,

-- Steve.

--- include/asm-mips/elf.h_orig	Mon Jul  8 14:23:55 2002
+++ include/asm-mips/elf.h	Mon Jul  8 14:24:21 2002
@@ -27,7 +27,7 @@
 									\
 	if (__h->e_machine != EM_MIPS)					\
 		__res = 0;						\
-	if (__h->e_flags & EF_MIPS_ARCH)				\
+	if ((__h->e_flags >> 28) > 2)					\
 		__res = 0;						\
 									\
 	__res;								\


-
To unsubscribe from this list: send the line "unsubscribe linux-mips" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html