aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2011-10-24 11:19:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-20 08:21:01 -0700
commitbd874f70e245977197782bc0e03c658f3e93573b (patch)
tree0448c2ae63cf71be079a712345b1e4132dae0fe4
parent481101ccce3d7cb2247ff29fc7b8ae1916deeae4 (diff)
downloadkernel_samsung_smdk4412-bd874f70e245977197782bc0e03c658f3e93573b.tar.gz
kernel_samsung_smdk4412-bd874f70e245977197782bc0e03c658f3e93573b.tar.bz2
kernel_samsung_smdk4412-bd874f70e245977197782bc0e03c658f3e93573b.zip
CRIS: Add _sdata to vmlinux.lds.S
commit 473e162eea465e60578edb93341752e7f1c1dacc upstream. Fixes link error: LD vmlinux kernel/built-in.o: In function `core_kernel_data': (.text+0x13e44): undefined reference to `_sdata' Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com> Cc: Guenter Roeck <linux@roeck-us.net> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/cris/kernel/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/cris/kernel/vmlinux.lds.S b/arch/cris/kernel/vmlinux.lds.S
index a6990cb0f09..a68b983dcea 100644
--- a/arch/cris/kernel/vmlinux.lds.S
+++ b/arch/cris/kernel/vmlinux.lds.S
@@ -52,6 +52,7 @@ SECTIONS
EXCEPTION_TABLE(4)
+ _sdata = .;
RODATA
. = ALIGN (4);