aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2011-10-24 11:19:25 +0200
committerBen Hutchings <ben@decadent.org.uk>2013-09-10 01:57:31 +0100
commitcaafbc41c4c3627192662c7261dc73272ab4b1ca (patch)
treece4382fa3ea0375af8c031743623a3eea0aa3e9f /arch/cris
parentfc766863a5f3201625f460c517e1a6d15044b65b (diff)
downloadkernel_samsung_smdk4412-caafbc41c4c3627192662c7261dc73272ab4b1ca.zip
kernel_samsung_smdk4412-caafbc41c4c3627192662c7261dc73272ab4b1ca.tar.gz
kernel_samsung_smdk4412-caafbc41c4c3627192662c7261dc73272ab4b1ca.tar.bz2
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> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/cris')
-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 a6990cb..a68b983 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);