dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0142-Files-reorganization-and-include-some-libgcc-fuction.patch

4fe85b
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
4fe85b
From: Paulo Flabiano Smorigo <pfsmorigo@linux.vnet.ibm.com>
4fe85b
Date: Wed, 13 Aug 2014 19:00:19 +0000
4fe85b
Subject: [PATCH] Files reorganization and include some libgcc fuctions
4fe85b
4fe85b
As we avoid libgcc dependency for powerpc64el, we moved some functions
4fe85b
to other files and add the necessary ones.
4fe85b
4fe85b
* Makefile.core.def: Include compiler-rt.S.
4fe85b
* misc.c: Add the necessary libgcc functions.
4fe85b
* compiler-rt.S: New file.
4fe85b
* libgcc.h: Move some content from here ...
4fe85b
* compiler.h: ... to here.
4fe85b
4fe85b
Also-By: Brent Baude <bbaude@redhat.com>
4fe85b
Also-By: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
4fe85b
---
4fe85b
 grub-core/Makefile.core.def          |   1 +
4fe85b
 grub-core/kern/misc.c                | 107 ++++++++++++++++++++++++++++
4fe85b
 include/grub/compiler.h              |  61 ++++++++++++++++
4fe85b
 include/grub/libgcc.h                |  67 ------------------
4fe85b
 grub-core/kern/powerpc/compiler-rt.S | 130 +++++++++++++++++++++++++++++++++++
4fe85b
 5 files changed, 299 insertions(+), 67 deletions(-)
4fe85b
 create mode 100644 grub-core/kern/powerpc/compiler-rt.S
4fe85b
4fe85b
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
4fe85b
index 7bf1c8a5880..9ff9ae5a311 100644
4fe85b
--- a/grub-core/Makefile.core.def
4fe85b
+++ b/grub-core/Makefile.core.def
4fe85b
@@ -252,6 +252,7 @@ kernel = {
4fe85b
 
4fe85b
   powerpc_ieee1275 = kern/powerpc/cache.S;
4fe85b
   powerpc_ieee1275 = kern/powerpc/dl.c;
4fe85b
+  powerpc_ieee1275 = kern/powerpc/compiler-rt.S;
4fe85b
 
4fe85b
   sparc64_ieee1275 = kern/sparc64/cache.S;
4fe85b
   sparc64_ieee1275 = kern/sparc64/dl.c;
4fe85b
diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c
4fe85b
index a56cfe78994..a3e5056db3f 100644
4fe85b
--- a/grub-core/kern/misc.c
4fe85b
+++ b/grub-core/kern/misc.c
4fe85b
@@ -1345,3 +1345,110 @@ grub_real_boot_time (const char *file,
4fe85b
   grub_error_pop ();
4fe85b
 }
4fe85b
 #endif
4fe85b
+
4fe85b
+#if defined (NO_LIBGCC)
4fe85b
+
4fe85b
+/* Based on libgcc2.c from gcc suite.  */
4fe85b
+int
4fe85b
+__ucmpdi2 (grub_uint64_t a, grub_uint64_t b)
4fe85b
+{
4fe85b
+  union component64 ac, bc;
4fe85b
+  ac.full = a;
4fe85b
+  bc.full = b;
4fe85b
+
4fe85b
+  if (ac.high < bc.high)
4fe85b
+    return 0;
4fe85b
+  else if (ac.high > bc.high)
4fe85b
+    return 2;
4fe85b
+
4fe85b
+  if (ac.low < bc.low)
4fe85b
+    return 0;
4fe85b
+  else if (ac.low > bc.low)
4fe85b
+    return 2;
4fe85b
+  return 1;
4fe85b
+}
4fe85b
+
4fe85b
+
4fe85b
+/* Based on libgcc2.c from gcc suite.  */
4fe85b
+grub_uint64_t
4fe85b
+__lshrdi3 (grub_uint64_t u, int b)
4fe85b
+{
4fe85b
+  if (b == 0)
4fe85b
+    return u;
4fe85b
+
4fe85b
+  const union component64 uu = {.full = u};
4fe85b
+  const int bm = 32 - b;
4fe85b
+  union component64 w;
4fe85b
+
4fe85b
+  if (bm <= 0)
4fe85b
+    {
4fe85b
+      w.high = 0;
4fe85b
+      w.low = (grub_uint32_t) uu.high >> -bm;
4fe85b
+    }
4fe85b
+  else
4fe85b
+    {
4fe85b
+      const grub_uint32_t carries = (grub_uint32_t) uu.high << bm;
4fe85b
+
4fe85b
+      w.high = (grub_uint32_t) uu.high >> b;
4fe85b
+      w.low = ((grub_uint32_t) uu.low >> b) | carries;
4fe85b
+    }
4fe85b
+
4fe85b
+  return w.full;
4fe85b
+}
4fe85b
+
4fe85b
+/* Based on libgcc2.c from gcc suite.  */
4fe85b
+grub_uint64_t
4fe85b
+__ashrdi3 (grub_uint64_t u, int b)
4fe85b
+{
4fe85b
+  if (b == 0)
4fe85b
+    return u;
4fe85b
+
4fe85b
+  const union component64 uu = {.full = u};
4fe85b
+  const int bm = 32 - b;
4fe85b
+  union component64 w;
4fe85b
+
4fe85b
+  if (bm <= 0)
4fe85b
+    {
4fe85b
+      /* w.high = 1..1 or 0..0 */
4fe85b
+      w.high = uu.high >> (32 - 1);
4fe85b
+      w.low = uu.high >> -bm;
4fe85b
+    }
4fe85b
+  else
4fe85b
+    {
4fe85b
+      const grub_uint32_t carries = (grub_uint32_t) uu.high << bm;
4fe85b
+
4fe85b
+      w.high = uu.high >> b;
4fe85b
+      w.low = ((grub_uint32_t) uu.low >> b) | carries;
4fe85b
+    }
4fe85b
+
4fe85b
+  return w.full;
4fe85b
+}
4fe85b
+
4fe85b
+/* Based on libgcc2.c from gcc suite.  */
4fe85b
+grub_uint64_t
4fe85b
+__ashldi3 (grub_uint64_t u, int b)
4fe85b
+{
4fe85b
+  if (b == 0)
4fe85b
+    return u;
4fe85b
+
4fe85b
+  const union component64 uu = {.full = u};
4fe85b
+  const int bm = 32 - b;
4fe85b
+  union component64 w;
4fe85b
+
4fe85b
+  if (bm <= 0)
4fe85b
+    {
4fe85b
+      w.low = 0;
4fe85b
+      w.high = (grub_uint32_t) uu.low << -bm;
4fe85b
+    }
4fe85b
+  else
4fe85b
+    {
4fe85b
+      const grub_uint32_t carries = (grub_uint32_t) uu.low >> bm;
4fe85b
+
4fe85b
+      w.low = (grub_uint32_t) uu.low << b;
4fe85b
+      w.high = ((grub_uint32_t) uu.high << b) | carries;
4fe85b
+    }
4fe85b
+
4fe85b
+  return w.full;
4fe85b
+}
4fe85b
+
4fe85b
+#endif
4fe85b
diff --git a/include/grub/compiler.h b/include/grub/compiler.h
4fe85b
index c9e1d7a73dc..a9a684ccba6 100644
4fe85b
--- a/include/grub/compiler.h
4fe85b
+++ b/include/grub/compiler.h
4fe85b
@@ -48,4 +48,65 @@
4fe85b
 #  define WARN_UNUSED_RESULT
4fe85b
 #endif
4fe85b
 
4fe85b
+#include "types.h"
4fe85b
+
4fe85b
+union component64
4fe85b
+{
4fe85b
+  grub_uint64_t full;
4fe85b
+  struct
4fe85b
+  {
4fe85b
+#ifdef GRUB_CPU_WORDS_BIGENDIAN
4fe85b
+    grub_uint32_t high;
4fe85b
+    grub_uint32_t low;
4fe85b
+#else
4fe85b
+    grub_uint32_t low;
4fe85b
+    grub_uint32_t high;
4fe85b
+#endif
4fe85b
+  };
4fe85b
+};
4fe85b
+
4fe85b
+#if defined (__powerpc__)
4fe85b
+grub_uint64_t EXPORT_FUNC (__lshrdi3) (grub_uint64_t u, int b);
4fe85b
+grub_uint64_t EXPORT_FUNC (__ashrdi3) (grub_uint64_t u, int b);
4fe85b
+grub_uint64_t EXPORT_FUNC (__ashldi3) (grub_uint64_t u, int b);
4fe85b
+int EXPORT_FUNC(__ucmpdi2) (grub_uint64_t a, grub_uint64_t b);
4fe85b
+void EXPORT_FUNC (_restgpr_14_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_15_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_16_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_17_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_18_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_19_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_20_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_21_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_22_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_23_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_24_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_25_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_26_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_27_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_28_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_29_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_30_x) (void);
4fe85b
+void EXPORT_FUNC (_restgpr_31_x) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_14) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_15) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_16) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_17) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_18) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_19) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_20) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_21) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_22) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_23) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_24) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_25) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_26) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_27) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_28) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_29) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_30) (void);
4fe85b
+void EXPORT_FUNC (_savegpr_31) (void);
4fe85b
+
4fe85b
+#endif
4fe85b
+
4fe85b
 #endif /* ! GRUB_COMPILER_HEADER */
4fe85b
diff --git a/include/grub/libgcc.h b/include/grub/libgcc.h
4fe85b
index 8e93b6792d9..5bdb8fb5cb9 100644
4fe85b
--- a/include/grub/libgcc.h
4fe85b
+++ b/include/grub/libgcc.h
4fe85b
@@ -16,73 +16,6 @@
4fe85b
  *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
4fe85b
  */
4fe85b
 
4fe85b
-/* We need to include config-util.h.in for HAVE_*.  */
4fe85b
-#ifndef __STDC_VERSION__
4fe85b
-#define __STDC_VERSION__ 0
4fe85b
-#endif
4fe85b
-#include <config-util.h>
4fe85b
-
4fe85b
-/* On x86 these functions aren't really needed. Save some space.  */
4fe85b
-#if !defined (__i386__) && !defined (__x86_64__)
4fe85b
-# ifdef HAVE___ASHLDI3
4fe85b
-void EXPORT_FUNC (__ashldi3) (void);
4fe85b
-# endif
4fe85b
-# ifdef HAVE___ASHRDI3
4fe85b
-void EXPORT_FUNC (__ashrdi3) (void);
4fe85b
-# endif
4fe85b
-# ifdef HAVE___LSHRDI3
4fe85b
-void EXPORT_FUNC (__lshrdi3) (void);
4fe85b
-# endif
4fe85b
-# ifdef HAVE___UCMPDI2
4fe85b
-void EXPORT_FUNC (__ucmpdi2) (void);
4fe85b
-# endif
4fe85b
-# ifdef HAVE___BSWAPSI2
4fe85b
-void EXPORT_FUNC (__bswapsi2) (void);
4fe85b
-# endif
4fe85b
-# ifdef HAVE___BSWAPDI2
4fe85b
-void EXPORT_FUNC (__bswapdi2) (void);
4fe85b
-# endif
4fe85b
-#endif
4fe85b
-
4fe85b
-#ifdef HAVE__RESTGPR_14_X
4fe85b
-void EXPORT_FUNC (_restgpr_14_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_15_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_16_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_17_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_18_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_19_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_20_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_21_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_22_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_23_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_24_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_25_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_26_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_27_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_28_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_29_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_30_x) (void);
4fe85b
-void EXPORT_FUNC (_restgpr_31_x) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_14) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_15) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_16) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_17) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_18) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_19) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_20) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_21) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_22) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_23) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_24) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_25) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_26) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_27) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_28) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_29) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_30) (void);
4fe85b
-void EXPORT_FUNC (_savegpr_31) (void);
4fe85b
-#endif
4fe85b
-
4fe85b
 #if defined (__arm__)
4fe85b
 void EXPORT_FUNC (__aeabi_lasr) (void);
4fe85b
 void EXPORT_FUNC (__aeabi_llsl) (void);
4fe85b
diff --git a/grub-core/kern/powerpc/compiler-rt.S b/grub-core/kern/powerpc/compiler-rt.S
4fe85b
new file mode 100644
4fe85b
index 00000000000..63e3a0d4e89
4fe85b
--- /dev/null
4fe85b
+++ b/grub-core/kern/powerpc/compiler-rt.S
4fe85b
@@ -0,0 +1,130 @@
4fe85b
+/*
4fe85b
+ * Special support for eabi and SVR4
4fe85b
+ *
4fe85b
+ *   Copyright (C) 1995-2014 Free Software Foundation, Inc.
4fe85b
+ *   Written By Michael Meissner
4fe85b
+ *   64-bit support written by David Edelsohn
4fe85b
+ *
4fe85b
+ * This file is free software; you can redistribute it and/or modify it
4fe85b
+ * under the terms of the GNU General Public License as published by the
4fe85b
+ * Free Software Foundation; either version 3, or (at your option) any
4fe85b
+ * later version.
4fe85b
+ *
4fe85b
+ * This file is distributed in the hope that it will be useful, but
4fe85b
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
4fe85b
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4fe85b
+ * General Public License for more details.
4fe85b
+ *
4fe85b
+ * Under Section 7 of GPL version 3, you are granted additional
4fe85b
+ * permissions described in the GCC Runtime Library Exception, version
4fe85b
+ * 3.1, as published by the Free Software Foundation.
4fe85b
+ *
4fe85b
+ * You should have received a copy of the GNU General Public License and
4fe85b
+ * a copy of the GCC Runtime Library Exception along with this program;
4fe85b
+ * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
4fe85b
+ * <http://www.gnu.org/licenses/>.
4fe85b
+ */
4fe85b
+
4fe85b
+/* Do any initializations needed for the eabi environment */
4fe85b
+
4fe85b
+#include <grub/symbol.h>
4fe85b
+#include <grub/dl.h>
4fe85b
+
4fe85b
+	.section ".text"
4fe85b
+
4fe85b
+#define CFI_RESTORE(reg)		.cfi_restore reg
4fe85b
+#define CFI_OFFSET(reg, off)		.cfi_offset reg, off
4fe85b
+#define CFI_DEF_CFA_REGISTER(reg)	.cfi_def_cfa_register reg
4fe85b
+#define CFI_STARTPROC			.cfi_startproc
4fe85b
+#define CFI_ENDPROC			.cfi_endproc
4fe85b
+
4fe85b
+/* Routines for restoring integer registers, called by the compiler.  */
4fe85b
+/* Called with r11 pointing to the stack header word of the caller of the */
4fe85b
+/* function, just beyond the end of the integer restore area.  */
4fe85b
+
4fe85b
+CFI_STARTPROC
4fe85b
+CFI_DEF_CFA_REGISTER (11)
4fe85b
+CFI_OFFSET (65, 4)
4fe85b
+CFI_OFFSET (14, -72)
4fe85b
+CFI_OFFSET (15, -68)
4fe85b
+CFI_OFFSET (16, -64)
4fe85b
+CFI_OFFSET (17, -60)
4fe85b
+CFI_OFFSET (18, -56)
4fe85b
+CFI_OFFSET (19, -52)
4fe85b
+CFI_OFFSET (20, -48)
4fe85b
+CFI_OFFSET (21, -44)
4fe85b
+CFI_OFFSET (22, -40)
4fe85b
+CFI_OFFSET (23, -36)
4fe85b
+CFI_OFFSET (24, -32)
4fe85b
+CFI_OFFSET (25, -28)
4fe85b
+CFI_OFFSET (26, -24)
4fe85b
+CFI_OFFSET (27, -20)
4fe85b
+CFI_OFFSET (28, -16)
4fe85b
+CFI_OFFSET (29, -12)
4fe85b
+CFI_OFFSET (30, -8)
4fe85b
+CFI_OFFSET (31, -4)
4fe85b
+FUNCTION(_restgpr_14_x)	lwz	14,-72(11)	/* restore gp registers */
4fe85b
+CFI_RESTORE (14)
4fe85b
+FUNCTION(_restgpr_15_x)	lwz	15,-68(11)
4fe85b
+CFI_RESTORE (15)
4fe85b
+FUNCTION(_restgpr_16_x)	lwz	16,-64(11)
4fe85b
+CFI_RESTORE (16)
4fe85b
+FUNCTION(_restgpr_17_x)	lwz	17,-60(11)
4fe85b
+CFI_RESTORE (17)
4fe85b
+FUNCTION(_restgpr_18_x)	lwz	18,-56(11)
4fe85b
+CFI_RESTORE (18)
4fe85b
+FUNCTION(_restgpr_19_x)	lwz	19,-52(11)
4fe85b
+CFI_RESTORE (19)
4fe85b
+FUNCTION(_restgpr_20_x)	lwz	20,-48(11)
4fe85b
+CFI_RESTORE (20)
4fe85b
+FUNCTION(_restgpr_21_x)	lwz	21,-44(11)
4fe85b
+CFI_RESTORE (21)
4fe85b
+FUNCTION(_restgpr_22_x)	lwz	22,-40(11)
4fe85b
+CFI_RESTORE (22)
4fe85b
+FUNCTION(_restgpr_23_x)	lwz	23,-36(11)
4fe85b
+CFI_RESTORE (23)
4fe85b
+FUNCTION(_restgpr_24_x)	lwz	24,-32(11)
4fe85b
+CFI_RESTORE (24)
4fe85b
+FUNCTION(_restgpr_25_x)	lwz	25,-28(11)
4fe85b
+CFI_RESTORE (25)
4fe85b
+FUNCTION(_restgpr_26_x)	lwz	26,-24(11)
4fe85b
+CFI_RESTORE (26)
4fe85b
+FUNCTION(_restgpr_27_x)	lwz	27,-20(11)
4fe85b
+CFI_RESTORE (27)
4fe85b
+FUNCTION(_restgpr_28_x)	lwz	28,-16(11)
4fe85b
+CFI_RESTORE (28)
4fe85b
+FUNCTION(_restgpr_29_x)	lwz	29,-12(11)
4fe85b
+CFI_RESTORE (29)
4fe85b
+FUNCTION(_restgpr_30_x)	lwz	30,-8(11)
4fe85b
+CFI_RESTORE (30)
4fe85b
+FUNCTION(_restgpr_31_x)	lwz	0,4(11)
4fe85b
+				lwz	31,-4(11)
4fe85b
+CFI_RESTORE (31)
4fe85b
+				mtlr	0
4fe85b
+CFI_RESTORE (65)
4fe85b
+				mr	1,11
4fe85b
+CFI_DEF_CFA_REGISTER (1)
4fe85b
+				blr
4fe85b
+CFI_ENDPROC
4fe85b
+
4fe85b
+CFI_STARTPROC
4fe85b
+FUNCTION(_savegpr_14)	stw	14,-72(11)	/* save gp registers */
4fe85b
+FUNCTION(_savegpr_15)	stw	15,-68(11)
4fe85b
+FUNCTION(_savegpr_16)	stw	16,-64(11)
4fe85b
+FUNCTION(_savegpr_17)	stw	17,-60(11)
4fe85b
+FUNCTION(_savegpr_18)	stw	18,-56(11)
4fe85b
+FUNCTION(_savegpr_19)	stw	19,-52(11)
4fe85b
+FUNCTION(_savegpr_20)	stw	20,-48(11)
4fe85b
+FUNCTION(_savegpr_21)	stw	21,-44(11)
4fe85b
+FUNCTION(_savegpr_22)	stw	22,-40(11)
4fe85b
+FUNCTION(_savegpr_23)	stw	23,-36(11)
4fe85b
+FUNCTION(_savegpr_24)	stw	24,-32(11)
4fe85b
+FUNCTION(_savegpr_25)	stw	25,-28(11)
4fe85b
+FUNCTION(_savegpr_26)	stw	26,-24(11)
4fe85b
+FUNCTION(_savegpr_27)	stw	27,-20(11)
4fe85b
+FUNCTION(_savegpr_28)	stw	28,-16(11)
4fe85b
+FUNCTION(_savegpr_29)	stw	29,-12(11)
4fe85b
+FUNCTION(_savegpr_30)	stw	30,-8(11)
4fe85b
+FUNCTION(_savegpr_31)	stw	31,-4(11)
4fe85b
+			blr
4fe85b
+CFI_ENDPROC