Revert "kbuild: strip generated symbols from *.ko"
This reverts commit ad7a953c. And commit: ("allow stripping of generated symbols under CONFIG_KALLSYMS_ALL") 9bb48247 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>
Showing
- Makefile 18 additions, 41 deletionsMakefile
- arch/x86/scripts/strip-symbols 0 additions, 1 deletionarch/x86/scripts/strip-symbols
- init/Kconfig 0 additions, 7 deletionsinit/Kconfig
- kernel/kallsyms.c 10 additions, 6 deletionskernel/kallsyms.c
- scripts/Makefile.build 20 additions, 35 deletionsscripts/Makefile.build
- scripts/Makefile.modinst 1 addition, 2 deletionsscripts/Makefile.modinst
- scripts/genksyms/genksyms.c 6 additions, 15 deletionsscripts/genksyms/genksyms.c
- scripts/genksyms/keywords.c_shipped 93 additions, 96 deletionsscripts/genksyms/keywords.c_shipped
- scripts/genksyms/keywords.gperf 0 additions, 2 deletionsscripts/genksyms/keywords.gperf
- scripts/kallsyms.c 13 additions, 8 deletionsscripts/kallsyms.c
- scripts/mksysmap 5 additions, 2 deletionsscripts/mksysmap
- scripts/strip-symbols 0 additions, 22 deletionsscripts/strip-symbols
arch/x86/scripts/strip-symbols
deleted
100644 → 0
scripts/strip-symbols
deleted
100644 → 0
Please register or sign in to comment