2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/scripts/genksyms
Jan Beulich 9bb482476c allow stripping of generated symbols under CONFIG_KALLSYMS_ALL
Building upon parts of the module stripping patch, this patch
introduces similar stripping for vmlinux when CONFIG_KALLSYMS_ALL=y.
Using CONFIG_KALLSYMS_STRIP_GENERATED reduces the overhead of
CONFIG_KALLSYMS_ALL from 245k/310k to 65k/80k for the (i386/x86-64)
kernels I tested with.

The patch also does away with the need to special case the kallsyms-
internal symbols by making them available even in the first linking
stage.

While it is a generated file, the patch includes the changes to
scripts/genksyms/keywords.c_shipped, as I'm unsure what the procedure
here is.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2008-12-19 22:47:10 +01:00
..
.gitignore gitignore: misc files 2006-01-01 22:21:50 +01:00
genksyms.c kbuild: strip generated symbols from *.ko 2008-12-19 22:41:15 +01:00
genksyms.h genksyms: allow to ignore symbol checksum changes 2008-12-03 22:33:12 +01:00
keywords.c_shipped allow stripping of generated symbols under CONFIG_KALLSYMS_ALL 2008-12-19 22:47:10 +01:00
keywords.gperf allow stripping of generated symbols under CONFIG_KALLSYMS_ALL 2008-12-19 22:47:10 +01: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