Browse Source

powerpc: Define a _sdata symbol

This is needed by arch/powerpc/mm/mem.c now.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Paul Mackerras 19 years ago
parent
commit
c16ff7e448
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/powerpc/kernel/vmlinux.lds.S

+ 1 - 0
arch/powerpc/kernel/vmlinux.lds.S

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