[PATCH 3/3] MN10300: Add missing _sdata declaration
From: David Howells
Date: Mon Jun 06 2011 - 10:47:39 EST
_sdata needs to be declared in the linker script now as of:
commit a2d063ac216c1618bfc2b4d40b7176adffa63511
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Thu May 19 21:34:58 2011 -0400
extable, core_kernel_data(): Make sure all archs define _sdata
Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
arch/mn10300/kernel/vmlinux.lds.S | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/mn10300/kernel/vmlinux.lds.S b/arch/mn10300/kernel/vmlinux.lds.S
index 6f702a6..13c4814 100644
--- a/arch/mn10300/kernel/vmlinux.lds.S
+++ b/arch/mn10300/kernel/vmlinux.lds.S
@@ -44,6 +44,7 @@ SECTIONS
RO_DATA(PAGE_SIZE)
/* writeable */
+ _sdata = .; /* Start of rw data section */
RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE)
_edata = .;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/