From: Jiang Liu Date: Wed, 3 Jul 2013 22:03:37 +0000 (-0700) Subject: score: normalize global variables exported by vmlinux.lds X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ae49b83dcacfb69e22092cab688c415c2f2d870c;p=openwrt%2Fstaging%2Fblogic.git score: normalize global variables exported by vmlinux.lds Generate mandatory global variables _sdata in file vmlinux.lds. Signed-off-by: Jiang Liu Cc: Chen Liqin Cc: Lennox Wu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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)