aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorVincent Whitchurch <vincent.whitchurch@axis.com>2018-12-14 17:05:54 +0100
committerJessica Yu <jeyu@kernel.org>2018-12-14 20:27:21 +0100
commit5439c985c5a83a8419f762115afdf560ab72a452 (patch)
tree78e646e94cda55489bebe347421ff708a71738fe /include/linux/module.h
parentmodule: make it clearer when we're handling kallsyms symbols vs exported symbols (diff)
downloadlinux-dev-5439c985c5a83a8419f762115afdf560ab72a452.tar.xz
linux-dev-5439c985c5a83a8419f762115afdf560ab72a452.zip
module: Overwrite st_size instead of st_info
st_info is currently overwritten after relocation and used to store the elf_type(). However, we're going to need it fix kallsyms on ARM's Thumb-2 kernels, so preserve st_info and overwrite the st_size field instead. st_size is neither used by the module core nor by any architecture. Reviewed-by: Miroslav Benes <mbenes@suse.cz> Reviewed-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com> Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions