From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 1/3] module: deal with alignment issues in built-in module versions Date: Thu, 17 Feb 2011 15:19:51 -0800 (PST) Message-ID: <20110217.151951.242142034.davem@davemloft.net> References: <20110217.142320.102554706.davem@davemloft.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-arch-owner@vger.kernel.org To: torvalds@linux-foundation.org Cc: dtor@vmware.com, linux-kernel@vger.kernel.org, geert@linux-m68k.org, rusty@rustcorp.com.au, linux-m68k@vger.kernel.org, linux-arch@vger.kernel.org List-Id: linux-m68k@vger.kernel.org From: Linus Torvalds Date: Thu, 17 Feb 2011 15:08:52 -0800 > Where in gcc is the alignment expansion logic? I'd like to see what > the rules are, just for my own perverse satisfaction. The magic that overrides the alignment various cases is in the x86 specific code: gcc/config/i386/i386.c ix86_data_alignment() and ix86_local_alignment()