patch-2.1.132 linux/include/asm-arm/proc-armo/elf.h

Next file: linux/include/asm-arm/proc-armo/pgtable.h
Previous file: linux/include/asm-arm/posix_types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/include/asm-arm/proc-armo/elf.h linux/include/asm-arm/proc-armo/elf.h
@@ -0,0 +1,19 @@
+/*
+ * ELF definitions for 26-bit CPUs
+ */
+
+#define ELF_EXEC_PAGESIZE	32768
+
+#if 0		/* not yet */
+#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
+
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov