diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-01-13 22:21:31 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 23:14:40 +0100 |
commit | 10668220a97cb8b3fa1011a252175737ba750d51 (patch) | |
tree | d188c01135c3a1d23560616336a3c19dade98296 /scripts/genksyms/lex.l | |
parent | 5b24c0715fc4c71e60e9a684248cc49d62dfa900 (diff) | |
download | linux-10668220a97cb8b3fa1011a252175737ba750d51.tar.bz2 |
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 <sam@ravnborg.org>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'scripts/genksyms/lex.l')
0 files changed, 0 insertions, 0 deletions