[coreboot] [PATCH] libgcc regparm workaround

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sat Sep 26 02:54:57 CEST 2009


On 26.09.2009 00:03, Stefan Reinauer wrote:
> programs that are compiled with non-default regparm values are
> miscompiled if they use libgcc.
> This patch works around the problem for coreboot.
>
> * drop libgcc from coreboot_apc.o, not needed.
> * wrap libgcc calls into regparm(0) variants so that coreboot can be compiled
>   with other regparm values
>
> Signed-off-by: Stefan Reinauer <stepan at coresystems.de>

I'm worried about any libgcc compiled with regparm!=0, but for now this
patch improves the situation.

Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the coreboot mailing list