Re: PATCH: Add --size-check=[error|warning]

From: H. Peter Anvin
Date: Mon Mar 14 2011 - 14:02:53 EST


On 03/14/2011 08:56 AM, Ian Lance Taylor wrote:
> "Jan Beulich" <JBeulich@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/