patch-2.1.16 linux/arch/sparc/kernel/initobj.S

Next file: linux/arch/sparc/kernel/irq.c
Previous file: linux/arch/sparc/kernel/idprom.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/arch/sparc/kernel/initobj.S linux/arch/sparc/kernel/initobj.S
@@ -0,0 +1,18 @@
+#include <asm/errno.h>
+
+#if defined (__svr4__) || defined (__ELF__)
+
+	.section	".text.init",#alloc,#execinstr
+	.globl	text_init_begin
+text_init_begin:
+	.section	".data.init",#alloc,#write
+	.globl	data_init_begin
+data_init_begin:
+#endif
+
+	.section	".fixup",#alloc,#execinstr
+	.globl	__ret_efault
+__ret_efault:
+	ret
+	 restore %g0, -EFAULT, %o0
+

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