linux-mips
[Top] [All Lists]

Re: ELF32 problem in mips64 kernel

To: linux-mips@linux-mips.org
Subject: Re: ELF32 problem in mips64 kernel
From: "Kip Walker" <kwalker@broadcom.com>
Date: Wed, 18 Sep 2002 14:32:09 -0700
Organization: Broadcom Corp. BPBU
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <3D88F022.E414C40F@broadcom.com>
Sender: linux-mips-bounce@linux-mips.org
OK, so I didn't mean to include the debugging garbage in that patch :-)

Take 2.

Kip
Index: include/asm-mips64/elf.h
===================================================================
RCS file: /cvs/linux/include/asm-mips64/elf.h,v
retrieving revision 1.10.2.2
diff -u -r1.10.2.2 elf.h
--- include/asm-mips64/elf.h    2002/08/20 18:42:37     1.10.2.2
+++ include/asm-mips64/elf.h    2002/09/18 21:19:42
@@ -43,8 +43,7 @@
                                                                        \
        if (__h->e_machine != EM_MIPS)                                  \
                __res = 0;                                              \
-       if ((__h->e_ident[EI_CLASS] == ELFCLASS32) &&                   \
-           ((__h->e_flags & EF_MIPS_ABI2) == 0))                       \
+       if (__h->e_ident[EI_CLASS] == ELFCLASS32)                       \
                __res = 0;                                              \
                                                                        \
        __res;                                                          \
<Prev in Thread] Current Thread [Next in Thread>