diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-10-20 11:47:19 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-25 11:54:13 +1000 |
commit | 21c4ff80cba5e24932f3ef79c8482c0491630b2b (patch) | |
tree | df44027a8f419057039f1709371b85cd57b52804 /scripts/mod | |
parent | 0909c8c2d547e45ca50e2492b08ec93a37b35237 (diff) | |
download | kernel-crypto-21c4ff80cba5e24932f3ef79c8482c0491630b2b.tar.gz kernel-crypto-21c4ff80cba5e24932f3ef79c8482c0491630b2b.tar.xz kernel-crypto-21c4ff80cba5e24932f3ef79c8482c0491630b2b.zip |
[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>
Diffstat (limited to 'scripts/mod')
-rw-r--r-- | scripts/mod/modpost.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 41277963f47..2e114162314 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -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 */ |