Commit 1280d204 authored by Jiang Liu's avatar Jiang Liu Committed by Ben Hutchings

score: normalize global variables exported by vmlinux.lds

commit ae49b83d upstream.

Generate mandatory global variables _sdata in file vmlinux.lds.
Signed-off-by: default avatarJiang Liu <jiang.liu@huawei.com>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 1df72e0d
...@@ -49,6 +49,7 @@ SECTIONS ...@@ -49,6 +49,7 @@ SECTIONS
} }
. = ALIGN(16); . = ALIGN(16);
_sdata = .; /* Start of data section */
RODATA RODATA
EXCEPTION_TABLE(16) EXCEPTION_TABLE(16)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment