powerpc: Define a _sdata symbol
authorPaul Mackerras <paulus@samba.org>
Thu, 6 Oct 2005 03:28:31 +0000 (13:28 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 6 Oct 2005 03:28:31 +0000 (13:28 +1000)
This is needed by arch/powerpc/mm/mem.c now.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/vmlinux.lds.S

index 0587d9c..d0239bf 100644 (file)
@@ -107,6 +107,7 @@ SECTIONS
 #ifdef CONFIG_PPC32
   /* Read-write section, merged into data segment: */
   . = ALIGN(4096);
+  _sdata = .;
   .data    :
   {
     *(.data)