]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
MN10300: Add missing _sdata declaration
authorDavid Howells <dhowells@redhat.com>
Mon, 6 Jun 2011 14:47:23 +0000 (15:47 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Jun 2011 02:03:53 +0000 (19:03 -0700)
_sdata needs to be declared in the linker script now as of commit
a2d063ac216c ("extable, core_kernel_data(): Make sure all archs define
_sdata")

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/kernel/vmlinux.lds.S

index 6f702a6ab3955531ff31f65fb7ace7c37f01aa1f..13c4814c29f840dd4ecb95e4e7206da7127aef49 100644 (file)
@@ -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 = .;