Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\module.c Create Date:2022-07-28 10:59:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:post_relocation

Proto:static int post_relocation(struct module *mod, const struct load_info *info)

Type:int

Parameter:

TypeParameterName
struct module *mod
const struct load_info *info
3481  sort_extable(extable, extable + Exception table )
3484  percpu_modcopy(mod, (void * )sh_addr, sh_size)
3488  add_kallsyms(mod, info)
3491  Return module_finalize(hdr, sechdrs, mod)
Caller
NameDescribe
load_moduleAllocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections.