[ 02/12] CRIS: Add _sdata to vmlinux.lds.S

From: Greg Kroah-Hartman
Date: Sun Aug 18 2013 - 16:28:53 EST


3.0-stable review patch. If anyone has any objections, please let me know.

------------------

From: Jesper Nilsson <jesper.nilsson@xxxxxxxx>

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@xxxxxxxx>
Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
arch/cris/kernel/vmlinux.lds.S | 1 +
1 file changed, 1 insertion(+)

--- 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);


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/