aha/scripts/genksyms
Andreas Gruenbacher 64e6c1e123 genksyms: track symbol checksum changes
Sometimes it is preferable to avoid changes of exported symbol checksums
(to avoid breaking externally provided modules).  When a checksum change
occurs, it can be hard to figure out what caused this change: underlying
types may have changed, or additional type information may simply have
become available at the point where a symbol is exported.

Add a new --reference option to genksyms which allows it to report why
checksums change, based on the type information dumps it creates with the
--dump-types flag.  Genksyms will read in such a dump from a previous run,
and report which symbols have changed (and why).

The behavior can be controlled for an entire build as follows: If
KBUILD_SYMTYPES is set, genksyms uses --dump-types to produce *.symtypes
dump files.  If any *.symref files exist, those will be used as the
reference to check against.  If KBUILD_PRESERVE is set, checksum changes
will fail the build.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2008-12-03 22:33:11 +01:00
..
.gitignore
genksyms.c genksyms: track symbol checksum changes 2008-12-03 22:33:11 +01:00
genksyms.h genksyms: track symbol checksum changes 2008-12-03 22:33:11 +01:00
keywords.c_shipped kbuild: apply genksyms changes 2007-10-12 21:15:31 +02:00
keywords.gperf
lex.c_shipped kbuild: scripts/genksyms/lex.l: add %option noinput 2008-07-30 22:31:02 +02:00
lex.l kbuild: scripts/genksyms/lex.l: add %option noinput 2008-07-30 22:31:02 +02:00
Makefile
parse.c_shipped kbuild: genksyms parser: fix the __attribute__ rule 2008-07-31 23:00:25 +02:00
parse.h_shipped kbuild: apply genksyms changes 2007-10-12 21:15:31 +02:00
parse.y kbuild: genksyms parser: fix the __attribute__ rule 2008-07-31 23:00:25 +02:00