From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763617AbXHFVTu (ORCPT ); Mon, 6 Aug 2007 17:19:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765776AbXHFVTe (ORCPT ); Mon, 6 Aug 2007 17:19:34 -0400 Received: from 1wt.eu ([62.212.114.60]:1224 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765361AbXHFVTd (ORCPT ); Mon, 6 Aug 2007 17:19:33 -0400 Date: Mon, 6 Aug 2007 23:16:31 +0200 From: Willy Tarreau To: Segher Boessenkool Cc: "H. Peter Anvin" , Axel Reinhold , linux-kernel@vger.kernel.org Subject: Re: Kernel Bug in 2.4.35 when compiled gcc>=4.2.0 and -march=c3 Message-ID: <20070806211631.GA14501@1wt.eu> References: <200708050856.l758u4ou031651@bongo.freakout.de> <20070805154337.GA4716@1wt.eu> <44e819389656d1465e70ce2e99fb7640@kernel.crashing.org> <20070806132658.GE10999@1wt.eu> <46B75CD0.7080408@zytor.com> <20070806174536.GA12131@1wt.eu> <46B761EC.2050803@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 06, 2007 at 11:15:08PM +0200, Segher Boessenkool wrote: > >Well, top-level assembly is usually nasty. Setting the section in the > >assembly statement as you said is probably the only thing you *can* do. > > You'll probably need to (at the end of the asm block) restore > the current section to what it was before (".previous"), too. Didn't know about this one, thanks for the hint ! > >I don't think there is any requirement that top-level assembly > >statements get the section set to .text on their behalf. > > Correct. > > > Segher Regards, Willy