linux/scripts
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
..
basic Update .gitignore files for generated targets 2008-10-20 11:24:31 -07:00
genksyms genksyms: track symbol checksum changes 2008-12-03 22:33:11 +01:00
kconfig kconfig: fix options to check-lxdialog.sh 2008-12-03 22:11:14 +01:00
ksymoops
mod kbuild: prevent modpost from looking for a .cmd file for a static library linked into a module 2008-10-29 22:02:10 +01:00
package kbuild: Fixup deb-pkg target to generate separate firmware deb 2008-11-09 23:02:58 +01:00
rt-tester
selinux SELinux: add gitignore file for mdp script 2008-09-05 21:43:38 +10:00
.gitignore
bin2c.c
binoffset.c
bloat-o-meter
bootgraph.pl tracing/fastboot: fix row order in bootgraph.pl 2008-10-22 16:37:25 +02:00
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl Update email addresses. 2008-10-20 12:50:03 -07:00
checkstack.pl sparc: Add checkstack support 2008-10-22 21:53:49 -07:00
checksyscalls.sh scripts/checksyscalls.sh: fix for non-gnu sed 2008-10-29 22:02:08 +01:00
checkversion.pl
cleanfile
cleanpatch
conmakehash.c
decodecode
diffconfig
export_report.pl
extract-ikconfig remove bashisms from scripts/extract-ikconfig 2008-12-03 21:32:02 +01:00
gcc-version.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
headers_check.pl Fix incompatibility with versions of Perl less than 5.6.0 2008-10-29 22:38:37 +01:00
headers_install.pl Fix incompatibility with versions of Perl less than 5.6.0 2008-10-29 22:38:37 +01:00
headers.sh
kallsyms.c
Kbuild.include kbuild: use KECHO convenience echo 2008-12-03 21:32:01 +01:00
kernel-doc kernel-doc: handle varargs cleanly 2008-12-01 19:55:25 -08:00
Lindent
Makefile
Makefile.build genksyms: track symbol checksum changes 2008-12-03 22:33:11 +01:00
Makefile.clean
Makefile.fwinst
Makefile.headersinst
Makefile.host
Makefile.lib kbuild: expand -I in KBUILD_CPPFLAGS 2008-12-03 21:31:59 +01:00
Makefile.modinst
Makefile.modpost kbuild: fix KBUILD_EXTRA_SYMBOLS 2008-10-29 22:02:09 +01:00
makelst
mkcompile_h kbuild: kill output in silent mode of mkcompile_h 2008-12-03 21:32:00 +01:00
mkmakefile kbuild: teach mkmakfile to be silent 2008-12-03 21:32:02 +01:00
mksysmap
mkuboot.sh
mkversion
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
recordmcount.pl ftrace: dynamic ftrace process only text section 2008-10-23 15:58:20 +02:00
setlocalversion kbuild: tag with git revision when git describe is missing 2008-10-29 22:25:36 +01:00
show_delta
tags.sh tags and cscope support really belongs in a shell script 2008-12-03 22:24:13 +01:00
unifdef.c
ver_linux