[coreboot] [PATCH] libgcc regparm workaround

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sun Sep 27 16:52:25 CEST 2009

On 27.09.2009 16:38, Segher Boessenkool wrote:
>>>> I'm worried about any libgcc compiled with regparm!=0, but for now
>>>> this
>>>> patch improves the situation.
>>> libgcc uses the default calling convention.
>> Is there an attribute to say "this function uses the default calling
>> convention no matter what CFLAGS we have right now"?
> Sure, and you're already using that: the default on i386 is regparm=0.

What happens to libgcc if someone compiles gcc with regparm=3? Will
libgcc still be compiled with regparm=0? (Disclaimer: I'm not a Gentoo
user and won't try that.)



More information about the coreboot mailing list