Commit Graph

6 Commits

Author SHA1 Message Date
Blue Swirl
e1337d80a8 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@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@885 f158a5a8-5612-0410-a976-696ce0be7e32
2010-10-03 19:18:28 +00:00
Blue Swirl
e56cc95fb0 Some gcc versions need __negti2
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@561 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-20 19:10:04 +00:00
Stefan Reinauer
2d78d46b11 only build TI mode stuff for sparc64
git-svn-id: svn://coreboot.org/openbios/openbios-devel@65 f158a5a8-5612-0410-a976-696ce0be7e32
2006-06-13 15:34:53 +00:00
Stefan Reinauer
ca836bfae7 sparc64: fix CFLAGS and add missing pci include
git-svn-id: svn://coreboot.org/openbios/openbios-devel@63 f158a5a8-5612-0410-a976-696ce0be7e32
2006-06-11 10:59:48 +00:00
Stefan Reinauer
b81b68b0ef add 128bit functions.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@62 f158a5a8-5612-0410-a976-696ce0be7e32
2006-06-11 10:50:31 +00:00
Stefan Reinauer
c200933ccd get sparc64 build some further
move libgcc to top level


git-svn-id: svn://coreboot.org/openbios/openbios-devel@61 f158a5a8-5612-0410-a976-696ce0be7e32
2006-06-10 02:22:45 +00:00