summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJiang Liu <liuj97@gmail.com>2013-07-03 15:03:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-17 15:58:04 -0700
commit768e0e49fbd424c2d9452f417f48cc4f0d4c50f2 (patch)
tree240e42c912c641fcaae713ad3af89fee10fe0309 /arch
parent2371e977c84373011a8c66c9550fe09c79d6a1f7 (diff)
downloadlinux-3.10-768e0e49fbd424c2d9452f417f48cc4f0d4c50f2.tar.gz
linux-3.10-768e0e49fbd424c2d9452f417f48cc4f0d4c50f2.tar.bz2
linux-3.10-768e0e49fbd424c2d9452f417f48cc4f0d4c50f2.zip
score: normalize global variables exported by vmlinux.lds
commit ae49b83dcacfb69e22092cab688c415c2f2d870c upstream. Generate mandatory global variables _sdata in file vmlinux.lds. Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Cc: Chen Liqin <liqin.chen@sunplusct.com> Cc: Lennox Wu <lennox.wu@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/score/kernel/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/score/kernel/vmlinux.lds.S b/arch/score/kernel/vmlinux.lds.S
index eebcbaa4e97..7274b5c4287 100644
--- a/arch/score/kernel/vmlinux.lds.S
+++ b/arch/score/kernel/vmlinux.lds.S
@@ -49,6 +49,7 @@ SECTIONS
}
. = ALIGN(16);
+ _sdata = .; /* Start of data section */
RODATA
EXCEPTION_TABLE(16)