patch-2.4.0-test4 linux/arch/mips64/kernel/binfmt_elf32.c
Next file: linux/arch/mips64/kernel/head.S
Previous file: linux/arch/mips64/defconfig-ip27
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jul 11 19:02:37 2000
- Orig file:
v2.4.0-test3/linux/arch/mips64/kernel/binfmt_elf32.c
- Orig date:
Tue May 23 15:31:33 2000
diff -u --recursive --new-file v2.4.0-test3/linux/arch/mips64/kernel/binfmt_elf32.c linux/arch/mips64/kernel/binfmt_elf32.c
@@ -28,7 +28,7 @@
typedef double elf_fpreg_t;
typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
-#define elf_check_arch(x) ((x) == EM_MIPS || (x) == EM_MIPS_RS4_BE)
+#define elf_check_arch(x) ((x)->e_machine == EM_MIPS || (x)->e_machine == EM_MIPS_RS4_BE)
#define TASK32_SIZE 0x80000000UL
#undef ELF_ET_DYN_BASE
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)