patch-2.1.44 linux/arch/sparc64/kernel/binfmt_elf32.c
Next file: linux/arch/sparc64/kernel/cpu.c
Previous file: linux/arch/sparc64/kernel/binfmt_aout32.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jun 26 12:33:38 1997
- Orig file:
v2.1.43/linux/arch/sparc64/kernel/binfmt_elf32.c
- Orig date:
Sat May 24 09:10:23 1997
diff -u --recursive --new-file v2.1.43/linux/arch/sparc64/kernel/binfmt_elf32.c linux/arch/sparc64/kernel/binfmt_elf32.c
@@ -6,6 +6,8 @@
#define ELF_CLASS ELFCLASS32
#define ELF_DATA ELFDATA2MSB;
+#define elf_check_arch(x) (((x) == EM_SPARC) || ((x) == EM_SPARC32PLUS))
+
#include <asm/processor.h>
#include <linux/module.h>
#include <linux/config.h>
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov