kernel-ark/scripts/genksyms
Andreas Gruenbacher 5dae9a550a genksyms: allow to ignore symbol checksum changes
This adds an "override" keyword for use in *.symvers / *.symref files.
When a symbol is overridden, the symbol's old definition will be used for
computing checksums instead of the new one, preserving the previous
checksum.  (Genksyms will still warn about the change.)

This is meant to allow distributions to hide minor actual as well as fake
ABI changes.  (For example, when extra type information becomes available
because additional headers are included, this may change checksums even
though none of the types used have actully changed.)

This approach also allows to get rid of "#ifdef __GENKSYMS__" hacks in the
code, which are currently used in some vendor kernels to work around
checksum changes.

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:12 +01:00
..
.gitignore
genksyms.c genksyms: allow to ignore symbol checksum changes 2008-12-03 22:33:12 +01:00
genksyms.h genksyms: allow to ignore symbol checksum changes 2008-12-03 22:33:12 +01:00
keywords.c_shipped kbuild: apply genksyms changes 2007-10-12 21:15:31 +02:00
keywords.gperf kbuild: __extension__ support in genksyms (fix unknown CRC warning) 2007-10-12 21:15:31 +02:00
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 kbuild: fix genksyms Makefile 2007-10-12 21:15:31 +02:00
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