[POWERPC] Support feature fixups in modules
This patch adds support for feature fixups in modules. This involves adding support for R_PPC64_REL64 relocs to the 64 bits module loader. It also modifies modpost.c to ignore the powerpc fixup sections (or it would warn when used in .init.text). Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
0909c8c2d5
commit
21c4ff80cb
@@ -921,6 +921,8 @@ static int init_section_ref_ok(const char *name)
|
||||
".fixup",
|
||||
".smp_locks",
|
||||
".plt", /* seen on ARCH=um build on x86_64. Harmless */
|
||||
"__ftr_fixup", /* powerpc cpu feature fixup */
|
||||
"__fw_ftr_fixup", /* powerpc firmware feature fixup */
|
||||
NULL
|
||||
};
|
||||
/* Start of section names */
|
||||
|
Reference in New Issue
Block a user