Re: [git pull] x86 fixes

H. Peter Anvin
2008-09-09T17:04:40Z

Adrian Bunk wrote:
>
> As far as I understood it it's a gas issue, and X86_GENERIC=y would
> therefore *not* fix the bug with gcc < 4.2 and affected binutils
> since we pass -mtune=i686 for gcc < 4.2 with X86_GENERIC=y.
>
> Anything I miss?
>

Well, for one thing, gcc doesn't actually pass the -mtune= option to
gas, it turns out.

But yes, "-Wa,-march=generic32" is really the proper fix.

-hpa