Commit 768e0e49 authored by Jiang Liu's avatar Jiang Liu Committed by Greg Kroah-Hartman

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>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2371e977
...@@ -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