mbox series

[0/4] Enable deadcode elimination at link time

Message ID 20181106133935.GB30658@n2100.armlinux.org.uk (mailing list archive)
Headers show
Series Enable deadcode elimination at link time | expand

Message

Russell King (Oracle) Nov. 6, 2018, 1:39 p.m. UTC
This series enables elimination of dead code from the kernel at link
time.  The changes are mostly ARM specific, except for one change in
EFI as the EFI stub must not be compiled with -fdata-sections.

 arch/arm/Kconfig                       |  1 +
 arch/arm/boot/compressed/vmlinux.lds.S |  2 +-
 arch/arm/kernel/vmlinux.lds.S          | 10 +++++-----
 arch/arm/kernel/vmlinux.lds.h          | 18 +++++++++---------
 drivers/firmware/efi/libstub/Makefile  |  2 +-
 5 files changed, 17 insertions(+), 16 deletions(-)