|
@@ -327,7 +327,8 @@ static void layout_sections(struct module *mod, const Elf_Ehdr * hdr,
|
|
|| (s->sh_flags & masks[m][1])
|
|
|| (s->sh_flags & masks[m][1])
|
|
|| s->sh_entsize != ~0UL)
|
|
|| s->sh_entsize != ~0UL)
|
|
continue;
|
|
continue;
|
|
- s->sh_entsize = get_offset(&mod->core_size, s);
|
|
|
|
|
|
+ s->sh_entsize =
|
|
|
|
+ get_offset((unsigned long *)&mod->core_size, s);
|
|
}
|
|
}
|
|
|
|
|
|
if (m == 0)
|
|
if (m == 0)
|