Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751749AbbHTLz3 (ORCPT ); Thu, 20 Aug 2015 07:55:29 -0400 Received: from mx2.suse.de ([195.135.220.15]:60920 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751114AbbHTLz1 (ORCPT ); Thu, 20 Aug 2015 07:55:27 -0400 Subject: Re: [PATCH] kbuild: Fix .text.unlikely placement To: Andi Kleen , linux-kbuild@vger.kernel.org References: <1437354079-18609-1-git-send-email-andi@firstfloor.org> Cc: linux-kernel@vger.kernel.org, Andi Kleen From: Michal Marek Message-ID: <55D5C02D.5060707@suse.cz> Date: Thu, 20 Aug 2015 13:55:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1437354079-18609-1-git-send-email-andi@firstfloor.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 952 Lines: 28 On 2015-07-20 03:01, Andi Kleen wrote: > From: Andi Kleen > > When building a kernel with .text.unlikely text the unlikely text for > each translation unit was put next to the main .text code in the > final vmlinux. > > The problem is that the linker doesn't allow more specific submatches > of a section name in a different linker script statement after the > main match. > > So we need to move them all into one line. With that change > .text.unlikely is at the end of everything again. > > I also moved .text.hot into the same statement though, even though > that's not strictly needed. > > Signed-off-by: Andi Kleen Applied to kbuild.git#kbuild. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/