]> git.ipfire.org Git - thirdparty/kmod.git/commit
depmod: fix builtin symbols resolution when the prefix symbol is set
authorAndrey Mazo <mazo@telum.ru>
Wed, 12 Dec 2012 12:39:18 +0000 (16:39 +0400)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 31 Dec 2012 20:23:30 +0000 (18:23 -0200)
commit572a2711e711edb1810c88b124b709fa58f80880
treea5c71925e26c18a054fa31ff83fa6380a4f76bb7
parentc02a8e6f9b6c600514a6d9d2564eca3e45c4fe35
depmod: fix builtin symbols resolution when the prefix symbol is set

When the prefix symbol is set, take it into account while adding symbols
from System.map file by skipping it before "__ksymtab_" comparison.

Also, prevent inserted fake symbols (like "__this_module") from being
wrongly truncated from beginning.
tools/depmod.c