diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-06-12 17:02:55 +0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-06-12 18:41:48 +0400 |
commit | 4d7365d664e79710ac0e782a23443471ddf05bdd (patch) | |
tree | fb50ae07b59871082f43fb19b2ce112a546b64d8 /.gitignore | |
parent | 631025b4d87d5a9d7e04a1ed652d247191e223d4 (diff) | |
download | linux-4d7365d664e79710ac0e782a23443471ddf05bdd.tar.xz |
kbuild: ignore powerpc specific symbols in modpost
Kumar Gala <galak@kernel.crashing.org> wrote:
We have a case in powerpc in which we want to link some library
routines with all module objects. The routines are intended for
handling out-of-line function call register save/restore so having
them as EXPORT_SYMBOL() is counter productive (we do also need to
link the same "library" code into the kernel).
Without this patch a powerpc build would error out and fail
to build modules with the added register save/restore module.
There were two obvious solutions:
1) To link the .o file before the modpost stage
2) To ignore the symbols in modpost
Option 1) was ruled out because we do not have any separate
linking stage for single file modules.
This patch implements option 2 - and do so only for powerpc.
The symbols we ignore are all undefined symbols named:
_restgpr_*, _savegpr_*, _rest32gpr_*, _save32gpr_*
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions