This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Add --size-check=[error|warning]
- From: Ian Lance Taylor <iant at google dot com>
- To: "Jan Beulich" <JBeulich at novell dot com>
- Cc: <sedat dot dilek at gmail dot com>, "Ingo Molnar" <mingo at elte dot hu>, <amodra at gmail dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, "Thomas Gleixner" <tglx at linutronix dot de>, "Andrew Morton" <akpm at linux-foundation dot org>, "Linus Torvalds" <torvalds at linux-foundation dot org>, "binutils" <binutils at sourceware dot org>, "LKML" <linux-kernel at vger dot kernel dot org>, "H. Peter Anvin" <hpa at zytor dot com>
- Date: Mon, 14 Mar 2011 08:56:29 -0700
- Subject: Re: PATCH: Add --size-check=[error|warning]
- References: <AANLkTinDTyupNgZR-0izCWrpwOnE1wEcubn+M3o=Mgy2@mail.gmail.com> <4D7E095802000078000363D5@vpn.id2.novell.com> <AANLkTikUKE4xzf-NJtK3vMCQmNEYiAXZzi2vMZs9Zy4W@mail.gmail.com> <AANLkTimmi7A6cXo8BCHWtBDmauZD4_-dNjThpn1J9DkW@mail.gmail.com> <4D7E166C0200007800036451@vpn.id2.novell.com>
"Jan Beulich" <JBeulich@novell.com> 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.)
Ian