Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261663AbTINW1B (ORCPT ); Sun, 14 Sep 2003 18:27:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262009AbTINW1B (ORCPT ); Sun, 14 Sep 2003 18:27:01 -0400 Received: from nikam.ms.mff.cuni.cz ([195.113.18.106]:22210 "EHLO nikam.ms.mff.cuni.cz") by vger.kernel.org with ESMTP id S261663AbTINW1A (ORCPT ); Sun, 14 Sep 2003 18:27:00 -0400 Date: Mon, 15 Sep 2003 00:27:03 +0200 From: Jan Hubicka To: Jamie Lokier Cc: Andi Kleen , linux-kernel@vger.kernel.org, jh@suse.cz Subject: Re: stack alignment in the kernel was Re: nasm over gas? Message-ID: <20030914222703.GB8208@kam.mff.cuni.cz> References: <20030914135431.GB16525@mail.jlokier.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030914135431.GB16525@mail.jlokier.co.uk> User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 685 Lines: 21 > > > A compiler option to turn it off would make sense to save .text space > > and eliminate these useless instructions. Especially since the kernel > > entry points make no attempt to align the stack to 16 byte anyways, > > so most likely the stack adjustments do not even work. > > There is an option: > > -mpreferred-stack-boundary=2 Note that this won't work for x86-64 where ABI compliant varargs require it. Honza > > -- Jamie - 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/