Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757198Ab1CNSCu (ORCPT ); Mon, 14 Mar 2011 14:02:50 -0400 Received: from terminus.zytor.com ([198.137.202.10]:53928 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757140Ab1CNSCr (ORCPT ); Mon, 14 Mar 2011 14:02:47 -0400 Message-ID: <4D7E580A.6000807@zytor.com> Date: Mon, 14 Mar 2011 11:01:46 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: Ian Lance Taylor CC: Jan Beulich , sedat.dilek@gmail.com, Ingo Molnar , amodra@gmail.com, "H.J. Lu" , Thomas Gleixner , Andrew Morton , Linus Torvalds , binutils , LKML Subject: Re: PATCH: Add --size-check=[error|warning] References: <4D7E095802000078000363D5@vpn.id2.novell.com> <4D7E166C0200007800036451@vpn.id2.novell.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 862 Lines: 23 On 03/14/2011 08:56 AM, Ian Lance Taylor wrote: > "Jan Beulich" writes: > >> No - $(AS) isn't being used to translate .S files, $(CC) is being used >> instead. That's why I pointed at the necessary -B option (so that >> the compiler would be able to locate the wrapper H.J. suggested). > > You could also just put a -Wa option in your $(CC). That seems simpler > than a -B option. > > (I don't really care about this issue one way or another.) > -Wa is definitely the sane way to do it. The -B thing came in if you have to run a patched version of as, which is extremely painful. -hpa -- 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/