[OpenBIOS] [commit] r885 - trunk/openbios-devel/libgcc

Andreas Färber andreas.faerber at web.de
Wed Oct 13 19:13:04 CEST 2010


Am 03.10.2010 um 21:18 schrieb repository service:

> Author: blueswirl
> Date: Sun Oct  3 21:18:28 2010
> New Revision: 885
> URL: http://tracker.coreboot.org/trac/openbios/changeset/885
>
> Log:
> ppc: fix build with newer GCCs
>
> New GCCs (for example 4.6.0) needed a few more functions to
> libgcc. Without the functions, there were a lot of linker errors:
>  LINK  openbios-qemu.elf
> libqemu.a(ofmem.o): In function `hash_page':
> /src/openbios-devel/obj-ppc/../arch/ppc/qemu/ofmem.c:353: undefined  
> reference to `_restgpr_25_x'
> libqemu.a(ofmem.o): In function `ea_to_phys':
> /src/openbios-devel/obj-ppc/../arch/ppc/qemu/ofmem.c:231: undefined  
> reference to `_restgpr_30_x'
> etc.
>
> Copy the needed functions from Linux.
>
> Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

Thanks for this interim solution. powerpc-elf-gcc 4.5.1 works fine  
now, too.

Andreas



More information about the OpenBIOS mailing list