Re: [PATCH] modpost: Fix modpost's license checking V3

From: Rusty Russell
Date: Wed Jul 20 2011 - 22:52:45 EST


On Thu, 14 Jul 2011 08:51:16 +0200, Alessio Igor Bogani <abogani@xxxxxxxxxx> wrote:
> 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@xxxxxxxxx> and Anders Kaseorg
> <andersk@xxxxxxxxxxx> for providing useful suggestions about code.
>
> This work was supported by a hardware donation from the CE Linux Forum.

Applied.

Thanks!
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/