History

module: add section-size to move_module pr_debug

move_module() pr_debug's "Final section addresses for $modname". Add section addresses to the message, for anyone looking at these. no functional changes.

Jim Cromie committed 3 years ago

Commit 66a23011 parent b10addf1 file · +2 −2Browse files

Unified · Split

kernel/module/main.c+2−2
@@ -2281,8 +2281,8 @@ static int move_module(struct module *mod, struct load_info *info) · 2280 unmodified lines
2281 * minted official memory area.2281 * minted official memory area.
2282 */2282 */
2283 shdr->sh_addr = (unsigned long)dest;2283 shdr->sh_addr = (unsigned long)dest;
2284 pr_debug("\t0x%lx %s\n",2284 pr_debug("\t0x%lx 0x%.8lx %s\n", (long)shdr->sh_addr,
2285 (long)shdr->sh_addr, info->secstrings + shdr->sh_name);2285 (long)shdr->sh_size, info->secstrings + shdr->sh_name);
2286 }2286 }
2287 2287
2288 return 0;2288 return 0;