patch-2.3.23 linux/include/asm-arm/proc-armo/elf.h
Next file: linux/include/asm-arm/proc-armo/mm-init.h
Previous file: linux/include/asm-arm/proc-armo/cache.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Oct 20 16:29:08 1999
- Orig file:
v2.3.22/linux/include/asm-arm/proc-armo/elf.h
- Orig date:
Thu Dec 17 09:05:43 1998
diff -u --recursive --new-file v2.3.22/linux/include/asm-arm/proc-armo/elf.h linux/include/asm-arm/proc-armo/elf.h
@@ -4,14 +4,11 @@
#define ELF_EXEC_PAGESIZE 32768
-#if 0 /* not yet */
+#ifdef __KERNEL__
+
+/* We can only execute 26-bit code. */
#define ELF_PROC_OK(x) \
((x)->e_flags & EF_ARM_APCS26)
-#else
-#define ELF_PROC_OK(x) (1)
-#endif
-
-#ifdef __KERNEL__
#define SET_PERSONALITY(ex,ibcs2) \
current->personality = PER_LINUX
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)