aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiang Liu <[email protected]>2013-07-03 15:03:37 -0700
committerLinus Torvalds <[email protected]>2013-07-03 16:07:34 -0700
commitae49b83dcacfb69e22092cab688c415c2f2d870c (patch)
treed51c15ea6ff7f2dbd15d9760c4b1061a384f541a
parent5dd7cd11a0dde589e3532cfdc06372a1af9fdba7 (diff)
score: normalize global variables exported by vmlinux.lds
Generate mandatory global variables _sdata in file vmlinux.lds. Signed-off-by: Jiang Liu <[email protected]> Cc: Chen Liqin <[email protected]> Cc: Lennox Wu <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-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)