From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763655AbXKNTh7 (ORCPT ); Wed, 14 Nov 2007 14:37:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762006AbXKNThs (ORCPT ); Wed, 14 Nov 2007 14:37:48 -0500 Received: from terminus.zytor.com ([198.137.202.10]:39018 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763335AbXKNThr (ORCPT ); Wed, 14 Nov 2007 14:37:47 -0500 Message-ID: <473B4D7F.5020708@zytor.com> Date: Wed, 14 Nov 2007 11:33:19 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: Mathieu Desnoyers CC: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, Andi Kleen , Chuck Ebbert , Christoph Hellwig , Jeremy Fitzhardinge , Thomas Gleixner , Ingo Molnar Subject: Re: [PATCH] Add __discard section to x86 References: <20071113204033.GB7450@Krystal> <473A166E.3070708@zytor.com> <20071113220227.GB9057@Krystal> <473A26A2.7090007@zytor.com> <20071114003409.GA18032@Krystal> <473A4909.1020609@zytor.com> <20071114014445.GB19901@Krystal> <473A6471.4040700@zytor.com> <20071114185220.GA29533@Krystal> <473B45C4.5030501@zytor.com> <20071114191652.GA4438@Krystal> In-Reply-To: <20071114191652.GA4438@Krystal> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Mathieu Desnoyers wrote: > Add a __discard sectionto the linker script. Code produced in this section will > not be put in the vmlinux file. This is useful when we have to calculate the > size of an instruction before actually declaring it (for alignment purposes for > instance). This is used by the immediate values. > > Signed-off-by: Mathieu Desnoyers > CC: Andi Kleen > CC: "H. Peter Anvin" > CC: Chuck Ebbert > CC: Christoph Hellwig > CC: Jeremy Fitzhardinge > CC: Thomas Gleixner > CC: Ingo Molnar Acked-by: H. Peter Anvin