2003-06-17 05:53:22

by Miles Bader

[permalink] [raw]
Subject: [PATCH][v850] Add .con_initcall.init section on v850

diff -ruN -X../cludes linux-2.5.72-moo/arch/v850/vmlinux.lds.S linux-2.5.72-moo-v850-20030617/arch/v850/vmlinux.lds.S
--- linux-2.5.72-moo/arch/v850/vmlinux.lds.S 2003-06-16 14:52:17.000000000 +0900
+++ linux-2.5.72-moo-v850-20030617/arch/v850/vmlinux.lds.S 2003-06-17 14:23:12.000000000 +0900
@@ -95,7 +97,10 @@
*(.initcall6.init) \
*(.initcall7.init) \
. = ALIGN (4) ; \
- ___initcall_end = . ;
+ ___initcall_end = . ; \
+ ___con_initcall_start = .; \
+ *(.con_initcall.init) \
+ ___con_initcall_end = .;

/* Contents of `init' section for a kernel that's loaded into RAM. */
#define RAMK_INIT_CONTENTS \