diff options
author | David Howells <dhowells@redhat.com> | 2009-03-04 20:59:07 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-04-11 08:18:10 +0200 |
commit | 5d7d18f5bc507b60d3d8967e2739d5e6ffdd630f (patch) | |
tree | 2c021642ba7bf345afaa876238a099211fd3fb1e /Documentation/sparse.txt | |
parent | kbuild: remove pointless strdup() on arguments passed to new_module() in modpost (diff) | |
download | linux-5d7d18f5bc507b60d3d8967e2739d5e6ffdd630f.tar.xz linux-5d7d18f5bc507b60d3d8967e2739d5e6ffdd630f.zip |
kbuild: make it possible for the linker to discard local symbols from vmlinux
Make it possible for the linker to discard local symbols from vmlinux as
they cause vmlinux to balloon when CONFIG_KALLSYMS=y and they cause
dump_stack() and get_wchan() to produce useless information under some
circumstances.
With this we add a config option (CONFIG_STRIP_ASM_SYMS) that will cause
the build to supply -X to the linker to tell it to strip temporary local
symbols.
This doesn't seem to cause gdb any problems.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Documentation/sparse.txt')
0 files changed, 0 insertions, 0 deletions