diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-10-20 05:47:19 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-25 05:54:13 +0400 |
commit | 21c4ff80cba5e24932f3ef79c8482c0491630b2b (patch) | |
tree | df44027a8f419057039f1709371b85cd57b52804 /scripts | |
parent | 0909c8c2d547e45ca50e2492b08ec93a37b35237 (diff) | |
download | linux-21c4ff80cba5e24932f3ef79c8482c0491630b2b.tar.xz |
[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')
-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 41277963f47a..2e1141623147 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 */ |