[coreboot] [PATCH] Math support for libpayload

Sylvain Ageneau sylvain_ageneau at yahoo.fr
Fri Feb 5 20:17:28 CET 2010

This patch adds (configurable) math/float support to libpayload. 

The sources are taken from OpenBSD 4.6 and are either public domain or 3-clause BSD.

Also wrote a few new functions and moved some headers around to be able to compile libm sources unchanged.

Signed-off-by: Sylvain Ageneau <sylvain_ageneau at yahoo.fr>

Patch is big because it adds almost all of OpenBSD's libm sources: difficult to split it ...

Changes are quite extensive but should be harmless, I recompiled bayou and coreinfo and they still work fine.

I haven't tested on powerpc, if it breaks on that architecture it's
still possible to configure libpayload to not use math functions. The x86 version uses asm sources whenever possible and other arches can use plain C sources.

I'll send another patch with tinyscheme.

Sylvain Ageneau

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100205/0b429da9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libpayload-math.patch
Type: text/x-patch
Size: 1141180 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100205/0b429da9/attachment.patch>

More information about the coreboot mailing list