summaryrefslogtreecommitdiffstats
path: root/arch/score
diff options
context:
space:
mode:
authorJiang Liu <liuj97@gmail.com>2013-07-04 00:03:37 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 01:07:34 +0200
commitae49b83dcacfb69e22092cab688c415c2f2d870c (patch)
treed51c15ea6ff7f2dbd15d9760c4b1061a384f541a /arch/score
parenth8300: normalize global variables exported by vmlinux.lds (diff)
downloadlinux-ae49b83dcacfb69e22092cab688c415c2f2d870c.tar.xz
linux-ae49b83dcacfb69e22092cab688c415c2f2d870c.zip
score: normalize global variables exported by vmlinux.lds
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>
Diffstat (limited to 'arch/score')
-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 eebcbaa4e978..7274b5c4287e 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)