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@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@gmx.net
Regards, Carl-Daniel