[0/4] Enable deadcode elimination at link time
mbox series

Message ID 20181106133935.GB30658@n2100.armlinux.org.uk
Headers show
Series
  • Enable deadcode elimination at link time
Related show

Message

Russell King - ARM Linux admin 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(-)