From 10668220a97cb8b3fa1011a252175737ba750d51 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sun, 13 Jan 2008 22:21:31 +0100 Subject: [PATCH] kbuild: introduce blacklisting in modpost Change the logic in modpost so we identify all the bad combinations of sections that refer to other sections. Compared to the previous approach we are much less dependent on knowledge of what additional sections the tool chain uses and thus we can keep the false positives low. The implmentation is changed to use a table based lookup and we now check all combinations in first pass so we no longer need separate passes for init and exit sections. Tested that the same warnings are generated for an allyesconfig build without CONFIG_HOTPLUG. Signed-off-by: Sam Ravnborg Cc: Randy Dunlap Cc: Adrian Bunk --- Reading git-format-patch failed