linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] MIPS: Use thin archives & dead code elimination
@ 2016-10-20 20:26 Paul Burton
  2016-10-20 20:26 ` Paul Burton
                   ` (7 more replies)
  0 siblings, 8 replies; 23+ messages in thread
From: Paul Burton @ 2016-10-20 20:26 UTC (permalink / raw)
  To: linux-mips; +Cc: Ralf Baechle, Nicholas Piggin, Paul Burton

This series fixes a few issues with CONFIG_LD_DEAD_CODE_DATA_ELIMINATION
and then enables it, along with CONFIG_THIN_ARCHIVES, for MIPS. This
leads to a typical generic kernel build becoming ~5% smaller:

  add/remove: 0/3028 grow/shrink: 1/14 up/down: 18/-457362 (-457344)
  ...
  Total: Before=9001030, After=8543686, chg -5.08%

Applies atop v4.9-rc1.


Paul Burton (6):
  kbuild: Keep device tree tables though dead code elimination
  kbuild: Keep .init.setup section through dead code elimination
  kbuild: Keep PCI fixups through dead code elimination
  kbuild: Keep earlycon table through dead code elimination
  MIPS: Ensure bss section ends on a long-aligned address
  MIPS: Use thin archives & dead code elimination

 arch/mips/Kconfig                 |  2 ++
 arch/mips/kernel/vmlinux.lds.S    |  7 ++++---
 include/asm-generic/vmlinux.lds.h | 24 ++++++++++++------------
 3 files changed, 18 insertions(+), 15 deletions(-)

-- 
2.10.0

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2016-11-04  8:46 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-20 20:26 [PATCH 0/6] MIPS: Use thin archives & dead code elimination Paul Burton
2016-10-20 20:26 ` Paul Burton
2016-10-20 20:27 ` [PATCH 1/6] kbuild: Keep device tree tables though " Paul Burton
2016-10-20 20:27   ` Paul Burton
2016-10-21  9:33   ` Sergei Shtylyov
2016-10-20 20:27 ` [PATCH 2/6] kbuild: Keep .init.setup section through " Paul Burton
2016-10-20 20:27   ` Paul Burton
2016-10-20 20:27 ` [PATCH 3/6] kbuild: Keep PCI fixups " Paul Burton
2016-10-20 20:27   ` Paul Burton
2016-10-20 20:27 ` [PATCH 4/6] kbuild: Keep earlycon table " Paul Burton
2016-10-20 20:27   ` Paul Burton
2016-10-20 20:27 ` [PATCH 5/6] MIPS: Ensure bss section ends on a long-aligned address Paul Burton
2016-10-20 20:27   ` Paul Burton
2016-11-04  8:46   ` Marcin Nowakowski
2016-11-04  8:46     ` Marcin Nowakowski
2016-10-20 20:27 ` [PATCH 6/6] MIPS: Use thin archives & dead code elimination Paul Burton
2016-10-20 20:27   ` Paul Burton
2016-10-21  0:51 ` [PATCH 0/6] " Nicholas Piggin
2016-10-21  0:51   ` Nicholas Piggin
2016-10-21  7:45   ` Paul Burton
2016-10-21  7:45     ` Paul Burton
2016-10-21  8:47     ` Nicholas Piggin
2016-10-21  8:47       ` Nicholas Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).