patch-2.4.0-test4 linux/include/asm-sh/elf.h
Next file: linux/include/asm-sparc/asm_offsets.h
Previous file: linux/include/asm-s390/elf.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jul 11 15:43:45 2000
- Orig file:
v2.4.0-test3/linux/include/asm-sh/elf.h
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.4.0-test3/linux/include/asm-sh/elf.h linux/include/asm-sh/elf.h
@@ -19,7 +19,7 @@
/*
* This is used to ensure we don't load something for the wrong architecture.
*/
-#define elf_check_arch(x) ( (x) == EM_SH )
+#define elf_check_arch(x) ( (x)->e_machine == EM_SH )
/*
* These are used to set parameters in the core dumps.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)