From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 20 Oct 2016 22:27:33 +0200 (CEST) Received: from mailapp01.imgtec.com ([195.59.15.196]:44519 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S23993030AbcJTU1Z7BaEK (ORCPT ); Thu, 20 Oct 2016 22:27:25 +0200 Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Forcepoint Email with ESMTPS id 5FF96380798CF; Thu, 20 Oct 2016 21:27:15 +0100 (IST) Received: from localhost (10.100.200.119) by HHMAIL01.hh.imgtec.org (10.100.10.21) with Microsoft SMTP Server (TLS) id 14.3.294.0; Thu, 20 Oct 2016 21:27:19 +0100 From: Paul Burton To: CC: Ralf Baechle , Nicholas Piggin , Paul Burton Subject: [PATCH 0/6] MIPS: Use thin archives & dead code elimination Date: Thu, 20 Oct 2016 21:26:59 +0100 Message-ID: <20161020202705.3783-1-paul.burton@imgtec.com> X-Mailer: git-send-email 2.10.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.100.200.119] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 55529 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: paul.burton@imgtec.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailapp01.imgtec.com ([195.59.15.196]:44519 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S23993030AbcJTU1Z7BaEK (ORCPT ); Thu, 20 Oct 2016 22:27:25 +0200 From: Paul Burton Subject: [PATCH 0/6] MIPS: Use thin archives & dead code elimination Date: Thu, 20 Oct 2016 21:26:59 +0100 Message-ID: <20161020202705.3783-1-paul.burton@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: linux-mips@linux-mips.org Cc: Ralf Baechle , Nicholas Piggin , Paul Burton Message-ID: <20161020202659.dM5-2kE6ZmoZhWxfiEFKuQbf6VDc_viepF4iVDyMzhg@z> 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