Commit Graph

11 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
Blue Swirl d4dd46acd7 Fix Unix target warnings from Sparse
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@535 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-04 20:37:34 +00:00
Blue Swirl a32f1855be Update FSF addresses
git-svn-id: svn://coreboot.org/openbios/openbios-devel@351 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-05 18:50:53 +00:00
Blue Swirl a757800a01 Remove unnecessary trailing newlines
git-svn-id: svn://coreboot.org/openbios/openbios-devel@285 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-13 09:26:41 +00:00
Blue Swirl c9d73842f0 TImode confuses GCC 4.x on Sparc32, so use them only on Sparc64
git-svn-id: svn://coreboot.org/openbios/openbios-devel@245 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-05 15:52:59 +00:00
Blue Swirl 4526bd5fbb Add a common header file for libgcc functions
git-svn-id: svn://coreboot.org/openbios/openbios-devel@192 f158a5a8-5612-0410-a976-696ce0be7e32
2008-07-07 18:38:30 +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