summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAlessio Igor Bogani <abogani@kernel.org>2011-07-14 08:51:16 +0200
committerRusty Russell <rusty@rustcorp.com.au>2011-07-24 22:06:05 +0930
commit62a2635610dbc83c5e8d724e00941eee4d18c186 (patch)
tree57fe7dbb569e3b69a1b2adbba1c14e9959ed64d1 /arch/powerpc
parent88bfa3247961fe5f3623f4d2cf1cd5dc72457598 (diff)
modpost: Fix modpost's license checking V3
The commit f02e8a6 sorts symbols placing each of them in its own elf section. The sorting and merging into the canonical sections are done by the linker. Unfortunately modpost to generate Module.symvers file parses vmlinux (already linked) and all modules object files (which aren't linked yet). These aren't sanitized by the linker yet. That breaks modpost that can't detect license properly for modules. This patch makes modpost aware of the new exported symbols structure. Thanks to Arnaud Lacombe <lacombar@gmail.com> and Anders Kaseorg <andersk@ksplice.com> for providing useful suggestions about code. This work was supported by a hardware donation from the CE Linux Forum. Reported-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Alessio Igor Bogani <abogani@kernel.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions