aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dtc/srcpos.c
diff options
context:
space:
mode:
authorAlessio Igor Bogani <abogani@kernel.org>2011-07-14 08:51:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-13 08:14:07 -0700
commite189ac814b74b6604ee5b727f711b3294044cc32 (patch)
treede5247ea687e27d9a263d6dc6173a7805ec6dc67 /scripts/dtc/srcpos.c
parent41ae97bd8c2166184bf0552b7c41868b74344039 (diff)
downloadkernel_samsung_tuna-e189ac814b74b6604ee5b727f711b3294044cc32.zip
kernel_samsung_tuna-e189ac814b74b6604ee5b727f711b3294044cc32.tar.gz
kernel_samsung_tuna-e189ac814b74b6604ee5b727f711b3294044cc32.tar.bz2
modpost: Fix modpost's license checking V3
commit 62a2635610dbc83c5e8d724e00941eee4d18c186 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/dtc/srcpos.c')
0 files changed, 0 insertions, 0 deletions