Revert "kbuild: strip generated symbols from *.ko"
authorSam Ravnborg <sam@ravnborg.org>
Wed, 14 Jan 2009 20:38:20 +0000 (21:38 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 14 Jan 2009 20:38:20 +0000 (21:38 +0100)
commit2ea038917bbdd51a7ae4a898c6a04641324dd033
tree6a6f8b1db4d097d260449f88c267e39ab9d2bb3f
parenta6525042bfdfcab128bd91fad264de10fd24a55e
Revert "kbuild: strip generated symbols from *.ko"

This reverts commit ad7a953c522ceb496611d127e51e278bfe0ff483.

And commit: ("allow stripping of generated symbols under CONFIG_KALLSYMS_ALL")
            9bb482476c6c9d1ae033306440c51ceac93ea80c

These stripping patches has caused a set of issues:

1) People have reported compatibility issues with binutils due to
   lack of support for `--strip-unneeded-symbols' with objcopy 2.15.92.0.2
   Reported by: Wenji
2) ccache and distcc no longer works as expeced
   Reported by: Ted, Roland, + others
3) The installed modules increased a lot in size
   Reported by: Ted, Davej + others

Reported-by: Wenji Huang <wenji.huang@oracle.com>
Reported-by: "Theodore Ts'o" <tytso@mit.edu>
Reported-by: Dave Jones <davej@redhat.com>
Reported-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
12 files changed:
Makefile
arch/x86/scripts/strip-symbols [deleted file]
init/Kconfig
kernel/kallsyms.c
scripts/Makefile.build
scripts/Makefile.modinst
scripts/genksyms/genksyms.c
scripts/genksyms/keywords.c_shipped
scripts/genksyms/keywords.gperf
scripts/kallsyms.c
scripts/mksysmap
scripts/strip-symbols [deleted file]