When CONFIG_DEBUG_INFO is unset the input .exit.data sections are copied
twice to vmlinux. Remove the copy made to .init.text and keep one in
.data only.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
---
It looks like an accidental mistake to me. It applies to current Linus's
2.6.23.
Please consider,
Maciej
patch-mips-2.6.23-rc5-20070904-frv-exit-data-0
diff -up --recursive --new-file linux-mips-2.6.23-rc5-20070904.macro/arch/frv/kernel/vmlinux.lds.S linux-mips-2.6.23-rc5-20070904/arch/frv/kernel/vmlinux.lds.S
--- linux-mips-2.6.23-rc5-20070904.macro/arch/frv/kernel/vmlinux.lds.S 2007-09-04 04:55:18.000000000 +0000
+++ linux-mips-2.6.23-rc5-20070904/arch/frv/kernel/vmlinux.lds.S 2007-10-11 22:53:09.000000000 +0000
@@ -30,7 +30,6 @@ SECTIONS
#ifndef CONFIG_DEBUG_INFO
*(.init.text)
*(.exit.text)
- *(.exit.data)
*(.exitcall.exit)
#endif
}
-