From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schwab Subject: Re: [PATCH 2/5] kbuild: allow archs to select build for link dead code/data elimination Date: Sun, 07 Aug 2016 13:35:04 +0200 Message-ID: <87oa5495hz.fsf@linux-m68k.org> References: <1470399123-8455-1-git-send-email-npiggin@gmail.com> <1470399123-8455-3-git-send-email-npiggin@gmail.com> <20160807095739.GU20904@bubble.grove.modra.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20160807095739.GU20904@bubble.grove.modra.org> (Alan Modra's message of "Sun, 7 Aug 2016 19:27:39 +0930") Sender: linux-kbuild-owner@vger.kernel.org To: Alan Modra Cc: Nicholas Piggin , linux-kbuild@vger.kernel.org, linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Stephen Rothwell , Arnd Bergmann , Nicolas Pitre , Segher Boessenkool List-Id: linux-arch.vger.kernel.org On So, Aug 07 2016, Alan Modra wrote: > At the risk of being told you (kernel people) have already considerd > this I thought I should mention that the above isn't ideal. (Nor is > gcc's choice of .text.hot for hot sections, which clashes with > --function-sections for a function called "hot" but that's another > story.) Or --function-sections should use a unique prefix, like .text.functions.* Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net ([212.18.0.9]:49498 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751574AbcHGLfK (ORCPT ); Sun, 7 Aug 2016 07:35:10 -0400 From: Andreas Schwab Subject: Re: [PATCH 2/5] kbuild: allow archs to select build for link dead code/data elimination References: <1470399123-8455-1-git-send-email-npiggin@gmail.com> <1470399123-8455-3-git-send-email-npiggin@gmail.com> <20160807095739.GU20904@bubble.grove.modra.org> Date: Sun, 07 Aug 2016 13:35:04 +0200 In-Reply-To: <20160807095739.GU20904@bubble.grove.modra.org> (Alan Modra's message of "Sun, 7 Aug 2016 19:27:39 +0930") Message-ID: <87oa5495hz.fsf@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-arch-owner@vger.kernel.org List-ID: To: Alan Modra Cc: Nicholas Piggin , linux-kbuild@vger.kernel.org, linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Stephen Rothwell , Arnd Bergmann , Nicolas Pitre , Segher Boessenkool Message-ID: <20160807113504.7Ca1QQiX9Es84z31IGd7uUoIE6sNPh3w5Vw1oeoIvzo@z> On So, Aug 07 2016, Alan Modra wrote: > At the risk of being told you (kernel people) have already considerd > this I thought I should mention that the above isn't ideal. (Nor is > gcc's choice of .text.hot for hot sections, which clashes with > --function-sections for a function called "hot" but that's another > story.) Or --function-sections should use a unique prefix, like .text.functions.* Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."