2010-01-22 Vladimir Serbinenko <phcoder@gmail.com>

* configure.ac: Check for _restgpr_14_x.
	* include/grub/powerpc/libgcc.h [HAVE__RESTGPR_14_X]: Add _restgpr_*_x
	and _savegpr_* prototypes.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2010-01-22 20:40:21 +01:00
1 parent 566863ca19
commit 454fcd1c9b
3 files changed
+46 -1

No files matched your search

+1 -1
View File
@@ -439,7 +439,7 @@ AC_SUBST(TARGET_CPPFLAGS)
AC_SUBST(TARGET_LDFLAGS)
# Check for libgcc symbols (must be performed before we add -nostdlib to LDFLAGS)
AC_CHECK_FUNCS(__bswapsi2 __bswapdi2 __ashldi3 __ashrdi3 __lshrdi3 __trampoline_setup __ucmpdi2)
AC_CHECK_FUNCS(__bswapsi2 __bswapdi2 __ashldi3 __ashrdi3 __lshrdi3 __trampoline_setup __ucmpdi2 _restgpr_14_x)
# Set them to their new values for the tests below.
CC="$TARGET_CC"