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 0587d9c4609d4e01696da915a7a3f582d5c3156c..d0239bf8d4cc08152f0dd3a85a771add88fb49b1 100644 (file)
@@ -107,6 +107,7 @@ SECTIONS
 #ifdef CONFIG_PPC32
   /* Read-write section, merged into data segment: */
   . = ALIGN(4096);
+  _sdata = .;
   .data    :
   {
     *(.data)