diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2011-10-24 05:19:25 -0400 |
---|---|---|
committer | Jesper Nilsson <jespern@axis.com> | 2012-04-03 07:26:33 -0400 |
commit | 473e162eea465e60578edb93341752e7f1c1dacc (patch) | |
tree | 7a42a7724f11a3ed266cb643f7793983a2977563 /arch/cris/kernel/vmlinux.lds.S | |
parent | 74f077d2a7651409c44bb323471f219a4b0d2aab (diff) |
CRIS: Add _sdata to vmlinux.lds.S
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>
Diffstat (limited to 'arch/cris/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/cris/kernel/vmlinux.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/cris/kernel/vmlinux.lds.S b/arch/cris/kernel/vmlinux.lds.S index a6990cb0f098..a68b983dcea1 100644 --- a/arch/cris/kernel/vmlinux.lds.S +++ b/arch/cris/kernel/vmlinux.lds.S | |||
@@ -52,6 +52,7 @@ SECTIONS | |||
52 | 52 | ||
53 | EXCEPTION_TABLE(4) | 53 | EXCEPTION_TABLE(4) |
54 | 54 | ||
55 | _sdata = .; | ||
55 | RODATA | 56 | RODATA |
56 | 57 | ||
57 | . = ALIGN (4); | 58 | . = ALIGN (4); |