From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f65.google.com ([209.85.160.65]:40222 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752129AbdK3CKo (ORCPT ); Wed, 29 Nov 2017 21:10:44 -0500 Date: Thu, 30 Nov 2017 12:10:29 +1000 From: Nicholas Piggin Subject: Re: [PATCH 3/7] kbuild: fix LD_DEAD_CODE_DATA_ELIMINATION with GNU gold Message-ID: <20171130121029.3647ea43@roar.ozlabs.ibm.com> In-Reply-To: <20171129234442.655-4-samitolvanen@google.com> References: <20171129234442.655-1-samitolvanen@google.com> <20171129234442.655-4-samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Sami Tolvanen Cc: Alex Matveev , Andi Kleen , Ard Biesheuvel , Greg Hackmann , Kees Cook , linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Rutland , Masahiro Yamada , Maxim Kuvyrkov , Michal Marek , Nick Desaulniers , Yury Norov , Matthias Kaehlcke On Wed, 29 Nov 2017 15:44:38 -0800 Sami Tolvanen wrote: > Don't remove .head.text or .exitcall.exit when linking with --gc-sections, > and include .init.text.* in .init.text and .init.rodata.* in .init.rodata. > > Signed-off-by: Sami Tolvanen Fine by me, if you consider my other comments. Reviewed-by: Nicholas Piggin