diff mbox series

libgcc, rs6000: Remove powerpcspe related code

Message ID 5b85b159-c52e-81c2-41ef-ff00bdae7e4a@linux.ibm.com
State New
Headers show
Series libgcc, rs6000: Remove powerpcspe related code | expand

Commit Message

Kewen.Lin May 8, 2024, 6:36 a.m. UTC
Hi,

Since r9-4728 the powerpcspe support had been removed, this
follow-up patch is to remove the remaining pieces in libgcc.

Bootstrapped and regtested on powerpc64-linux-gnu P8/P9 and
powerpc64le-linux-gnu P9 and P10.

I'm going to push this soon if no objections.

BR,
Kewen
-----

libgcc/ChangeLog:

	* config.host: Remove powerpc-*-eabispe* support.
	* config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Remove
	__SPE__ code.
	* config/rs6000/t-savresfgpr (LIB2ADD_ST): Remove e500crtres32gpr.S,
	e500crtres32gpr.S, e500crtsav64gpr.S, e500crtsav64gprctr.S,
	e500crtres64gpr.S, e500crtsav32gpr.S, e500crtsavg32gpr.S,
	e500crtres64gprctr.S, e500crtsavg64gprctr.S, e500crtresx32gpr.S,
	e500crtrest32gpr.S, e500crtrest64gpr.S and e500crtresx64gpr.S.
	* config/rs6000/e500crtres32gpr.S: Remove.
	* config/rs6000/e500crtres64gpr.S: Remove.
	* config/rs6000/e500crtres64gprctr.S: Remove.
	* config/rs6000/e500crtrest32gpr.S: Remove.
	* config/rs6000/e500crtrest64gpr.S: Remove.
	* config/rs6000/e500crtresx32gpr.S: Remove.
	* config/rs6000/e500crtresx64gpr.S: Remove.
	* config/rs6000/e500crtsav32gpr.S: Remove.
	* config/rs6000/e500crtsav64gpr.S: Remove.
	* config/rs6000/e500crtsav64gprctr.S: Remove.
	* config/rs6000/e500crtsavg32gpr.S: Remove.
	* config/rs6000/e500crtsavg64gpr.S: Remove.
	* config/rs6000/e500crtsavg64gprctr.S: Remove.
---
 libgcc/config.host                         |  4 -
 libgcc/config/rs6000/e500crtres32gpr.S     | 73 -----------------
 libgcc/config/rs6000/e500crtres64gpr.S     | 73 -----------------
 libgcc/config/rs6000/e500crtres64gprctr.S  | 90 ---------------------
 libgcc/config/rs6000/e500crtrest32gpr.S    | 75 ------------------
 libgcc/config/rs6000/e500crtrest64gpr.S    | 74 ------------------
 libgcc/config/rs6000/e500crtresx32gpr.S    | 75 ------------------
 libgcc/config/rs6000/e500crtresx64gpr.S    | 75 ------------------
 libgcc/config/rs6000/e500crtsav32gpr.S     | 73 -----------------
 libgcc/config/rs6000/e500crtsav64gpr.S     | 72 -----------------
 libgcc/config/rs6000/e500crtsav64gprctr.S  | 91 ----------------------
 libgcc/config/rs6000/e500crtsavg32gpr.S    | 73 -----------------
 libgcc/config/rs6000/e500crtsavg64gpr.S    | 73 -----------------
 libgcc/config/rs6000/e500crtsavg64gprctr.S | 90 ---------------------
 libgcc/config/rs6000/linux-unwind.h        | 11 ---
 libgcc/config/rs6000/t-savresfgpr          | 15 +---
 16 files changed, 1 insertion(+), 1036 deletions(-)
 delete mode 100644 libgcc/config/rs6000/e500crtres32gpr.S
 delete mode 100644 libgcc/config/rs6000/e500crtres64gpr.S
 delete mode 100644 libgcc/config/rs6000/e500crtres64gprctr.S
 delete mode 100644 libgcc/config/rs6000/e500crtrest32gpr.S
 delete mode 100644 libgcc/config/rs6000/e500crtrest64gpr.S
 delete mode 100644 libgcc/config/rs6000/e500crtresx32gpr.S
 delete mode 100644 libgcc/config/rs6000/e500crtresx64gpr.S
 delete mode 100644 libgcc/config/rs6000/e500crtsav32gpr.S
 delete mode 100644 libgcc/config/rs6000/e500crtsav64gpr.S
 delete mode 100644 libgcc/config/rs6000/e500crtsav64gprctr.S
 delete mode 100644 libgcc/config/rs6000/e500crtsavg32gpr.S
 delete mode 100644 libgcc/config/rs6000/e500crtsavg64gpr.S
 delete mode 100644 libgcc/config/rs6000/e500crtsavg64gprctr.S

--
2.39.1
diff mbox series

Patch

diff --git a/libgcc/config.host b/libgcc/config.host
index e75a7af647f..fe958caa040 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -1236,10 +1236,6 @@  powerpc*-*-freebsd*)
 powerpc-*-netbsd*)
 	tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff"
 	;;
-powerpc-*-eabispe*)
-	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
-	extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
-	;;
 powerpc-*-eabisimaltivec*)
 	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
 	extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
diff --git a/libgcc/config/rs6000/e500crtres32gpr.S b/libgcc/config/rs6000/e500crtres32gpr.S
deleted file mode 100644
index b19703073ca..00000000000
--- a/libgcc/config/rs6000/e500crtres32gpr.S
+++ /dev/null
@@ -1,73 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* Routines for restoring 32-bit integer registers, called by the compiler.  */
-/* "Bare" versions that simply return to their caller.  */
-
-HIDDEN_FUNC(_rest32gpr_14)	lwz 14,-72(11)
-HIDDEN_FUNC(_rest32gpr_15)	lwz 15,-68(11)
-HIDDEN_FUNC(_rest32gpr_16)	lwz 16,-64(11)
-HIDDEN_FUNC(_rest32gpr_17)	lwz 17,-60(11)
-HIDDEN_FUNC(_rest32gpr_18)	lwz 18,-56(11)
-HIDDEN_FUNC(_rest32gpr_19)	lwz 19,-52(11)
-HIDDEN_FUNC(_rest32gpr_20)	lwz 20,-48(11)
-HIDDEN_FUNC(_rest32gpr_21)	lwz 21,-44(11)
-HIDDEN_FUNC(_rest32gpr_22)	lwz 22,-40(11)
-HIDDEN_FUNC(_rest32gpr_23)	lwz 23,-36(11)
-HIDDEN_FUNC(_rest32gpr_24)	lwz 24,-32(11)
-HIDDEN_FUNC(_rest32gpr_25)	lwz 25,-28(11)
-HIDDEN_FUNC(_rest32gpr_26)	lwz 26,-24(11)
-HIDDEN_FUNC(_rest32gpr_27)	lwz 27,-20(11)
-HIDDEN_FUNC(_rest32gpr_28)	lwz 28,-16(11)
-HIDDEN_FUNC(_rest32gpr_29)	lwz 29,-12(11)
-HIDDEN_FUNC(_rest32gpr_30)	lwz 30,-8(11)
-HIDDEN_FUNC(_rest32gpr_31)	lwz 31,-4(11)
-				blr
-FUNC_END(_rest32gpr_31)
-FUNC_END(_rest32gpr_30)
-FUNC_END(_rest32gpr_29)
-FUNC_END(_rest32gpr_28)
-FUNC_END(_rest32gpr_27)
-FUNC_END(_rest32gpr_26)
-FUNC_END(_rest32gpr_25)
-FUNC_END(_rest32gpr_24)
-FUNC_END(_rest32gpr_23)
-FUNC_END(_rest32gpr_22)
-FUNC_END(_rest32gpr_21)
-FUNC_END(_rest32gpr_20)
-FUNC_END(_rest32gpr_19)
-FUNC_END(_rest32gpr_18)
-FUNC_END(_rest32gpr_17)
-FUNC_END(_rest32gpr_16)
-FUNC_END(_rest32gpr_15)
-FUNC_END(_rest32gpr_14)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtres64gpr.S b/libgcc/config/rs6000/e500crtres64gpr.S
deleted file mode 100644
index 160f2014125..00000000000
--- a/libgcc/config/rs6000/e500crtres64gpr.S
+++ /dev/null
@@ -1,73 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* Routines for restoring 64-bit integer registers, called by the compiler.  */
-/* "Bare" versions that return to their caller.  */
-
-HIDDEN_FUNC(_rest64gpr_14)	evldd 14,0(11)
-HIDDEN_FUNC(_rest64gpr_15)	evldd 15,8(11)
-HIDDEN_FUNC(_rest64gpr_16)	evldd 16,16(11)
-HIDDEN_FUNC(_rest64gpr_17)	evldd 17,24(11)
-HIDDEN_FUNC(_rest64gpr_18)	evldd 18,32(11)
-HIDDEN_FUNC(_rest64gpr_19)	evldd 19,40(11)
-HIDDEN_FUNC(_rest64gpr_20)	evldd 20,48(11)
-HIDDEN_FUNC(_rest64gpr_21)	evldd 21,56(11)
-HIDDEN_FUNC(_rest64gpr_22)	evldd 22,64(11)
-HIDDEN_FUNC(_rest64gpr_23)	evldd 23,72(11)
-HIDDEN_FUNC(_rest64gpr_24)	evldd 24,80(11)
-HIDDEN_FUNC(_rest64gpr_25)	evldd 25,88(11)
-HIDDEN_FUNC(_rest64gpr_26)	evldd 26,96(11)
-HIDDEN_FUNC(_rest64gpr_27)	evldd 27,104(11)
-HIDDEN_FUNC(_rest64gpr_28)	evldd 28,112(11)
-HIDDEN_FUNC(_rest64gpr_29)	evldd 29,120(11)
-HIDDEN_FUNC(_rest64gpr_30)	evldd 30,128(11)
-HIDDEN_FUNC(_rest64gpr_31)	evldd 31,136(11)
-				blr
-FUNC_END(_rest64gpr_31)
-FUNC_END(_rest64gpr_30)
-FUNC_END(_rest64gpr_29)
-FUNC_END(_rest64gpr_28)
-FUNC_END(_rest64gpr_27)
-FUNC_END(_rest64gpr_26)
-FUNC_END(_rest64gpr_25)
-FUNC_END(_rest64gpr_24)
-FUNC_END(_rest64gpr_23)
-FUNC_END(_rest64gpr_22)
-FUNC_END(_rest64gpr_21)
-FUNC_END(_rest64gpr_20)
-FUNC_END(_rest64gpr_19)
-FUNC_END(_rest64gpr_18)
-FUNC_END(_rest64gpr_17)
-FUNC_END(_rest64gpr_16)
-FUNC_END(_rest64gpr_15)
-FUNC_END(_rest64gpr_14)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtres64gprctr.S b/libgcc/config/rs6000/e500crtres64gprctr.S
deleted file mode 100644
index 592a89feedd..00000000000
--- a/libgcc/config/rs6000/e500crtres64gprctr.S
+++ /dev/null
@@ -1,90 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* Routines for restoring 64-bit integer registers where the number of
-   registers to be restored is passed in CTR, called by the compiler.  */
-
-HIDDEN_FUNC(_rest64gpr_ctr_14)	evldd 14,0(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_15)	evldd 15,8(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_16)	evldd 16,16(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_17)	evldd 17,24(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_18)	evldd 18,32(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_19)	evldd 19,40(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_20)	evldd 20,48(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_21)	evldd 21,56(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_22)	evldd 22,64(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_23)	evldd 23,72(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_24)	evldd 24,80(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_25)	evldd 25,88(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_26)	evldd 26,96(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_27)	evldd 27,104(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_28)	evldd 28,112(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_29)	evldd 29,120(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_30)	evldd 30,128(11)
-				bdz _rest64gpr_ctr_done
-HIDDEN_FUNC(_rest64gpr_ctr_31)	evldd 31,136(11)
-_rest64gpr_ctr_done:		blr
-FUNC_END(_rest64gpr_ctr_31)
-FUNC_END(_rest64gpr_ctr_30)
-FUNC_END(_rest64gpr_ctr_29)
-FUNC_END(_rest64gpr_ctr_28)
-FUNC_END(_rest64gpr_ctr_27)
-FUNC_END(_rest64gpr_ctr_26)
-FUNC_END(_rest64gpr_ctr_25)
-FUNC_END(_rest64gpr_ctr_24)
-FUNC_END(_rest64gpr_ctr_23)
-FUNC_END(_rest64gpr_ctr_22)
-FUNC_END(_rest64gpr_ctr_21)
-FUNC_END(_rest64gpr_ctr_20)
-FUNC_END(_rest64gpr_ctr_19)
-FUNC_END(_rest64gpr_ctr_18)
-FUNC_END(_rest64gpr_ctr_17)
-FUNC_END(_rest64gpr_ctr_16)
-FUNC_END(_rest64gpr_ctr_15)
-FUNC_END(_rest64gpr_ctr_14)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtrest32gpr.S b/libgcc/config/rs6000/e500crtrest32gpr.S
deleted file mode 100644
index deeb2483db8..00000000000
--- a/libgcc/config/rs6000/e500crtrest32gpr.S
+++ /dev/null
@@ -1,75 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* Routines for restoring 32-bit integer registers, called by the compiler.  */
-/* "Tail" versions that perform a tail call.  */
-
-HIDDEN_FUNC(_rest32gpr_14_t)	lwz 14,-72(11)
-HIDDEN_FUNC(_rest32gpr_15_t)	lwz 15,-68(11)
-HIDDEN_FUNC(_rest32gpr_16_t)	lwz 16,-64(11)
-HIDDEN_FUNC(_rest32gpr_17_t)	lwz 17,-60(11)
-HIDDEN_FUNC(_rest32gpr_18_t)	lwz 18,-56(11)
-HIDDEN_FUNC(_rest32gpr_19_t)	lwz 19,-52(11)
-HIDDEN_FUNC(_rest32gpr_20_t)	lwz 20,-48(11)
-HIDDEN_FUNC(_rest32gpr_21_t)	lwz 21,-44(11)
-HIDDEN_FUNC(_rest32gpr_22_t)	lwz 22,-40(11)
-HIDDEN_FUNC(_rest32gpr_23_t)	lwz 23,-36(11)
-HIDDEN_FUNC(_rest32gpr_24_t)	lwz 24,-32(11)
-HIDDEN_FUNC(_rest32gpr_25_t)	lwz 25,-28(11)
-HIDDEN_FUNC(_rest32gpr_26_t)	lwz 26,-24(11)
-HIDDEN_FUNC(_rest32gpr_27_t)	lwz 27,-20(11)
-HIDDEN_FUNC(_rest32gpr_28_t)	lwz 28,-16(11)
-HIDDEN_FUNC(_rest32gpr_29_t)	lwz 29,-12(11)
-HIDDEN_FUNC(_rest32gpr_30_t)	lwz 30,-8(11)
-HIDDEN_FUNC(_rest32gpr_31_t)	lwz 31,-4(11)
-				lwz 0,4(11)
-				mr 1,11
-				blr
-FUNC_END(_rest32gpr_31_t)
-FUNC_END(_rest32gpr_30_t)
-FUNC_END(_rest32gpr_29_t)
-FUNC_END(_rest32gpr_28_t)
-FUNC_END(_rest32gpr_27_t)
-FUNC_END(_rest32gpr_26_t)
-FUNC_END(_rest32gpr_25_t)
-FUNC_END(_rest32gpr_24_t)
-FUNC_END(_rest32gpr_23_t)
-FUNC_END(_rest32gpr_22_t)
-FUNC_END(_rest32gpr_21_t)
-FUNC_END(_rest32gpr_20_t)
-FUNC_END(_rest32gpr_19_t)
-FUNC_END(_rest32gpr_18_t)
-FUNC_END(_rest32gpr_17_t)
-FUNC_END(_rest32gpr_16_t)
-FUNC_END(_rest32gpr_15_t)
-FUNC_END(_rest32gpr_14_t)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtrest64gpr.S b/libgcc/config/rs6000/e500crtrest64gpr.S
deleted file mode 100644
index 8d7a976ce64..00000000000
--- a/libgcc/config/rs6000/e500crtrest64gpr.S
+++ /dev/null
@@ -1,74 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* "Tail" versions that perform a tail call.  */
-
-HIDDEN_FUNC(_rest64gpr_14_t)	evldd 14,0(11)
-HIDDEN_FUNC(_rest64gpr_15_t)	evldd 15,8(11)
-HIDDEN_FUNC(_rest64gpr_16_t)	evldd 16,16(11)
-HIDDEN_FUNC(_rest64gpr_17_t)	evldd 17,24(11)
-HIDDEN_FUNC(_rest64gpr_18_t)	evldd 18,32(11)
-HIDDEN_FUNC(_rest64gpr_19_t)	evldd 19,40(11)
-HIDDEN_FUNC(_rest64gpr_20_t)	evldd 20,48(11)
-HIDDEN_FUNC(_rest64gpr_21_t)	evldd 21,56(11)
-HIDDEN_FUNC(_rest64gpr_22_t)	evldd 22,64(11)
-HIDDEN_FUNC(_rest64gpr_23_t)	evldd 23,72(11)
-HIDDEN_FUNC(_rest64gpr_24_t)	evldd 24,80(11)
-HIDDEN_FUNC(_rest64gpr_25_t)	evldd 25,88(11)
-HIDDEN_FUNC(_rest64gpr_26_t)	evldd 26,96(11)
-HIDDEN_FUNC(_rest64gpr_27_t)	evldd 27,104(11)
-HIDDEN_FUNC(_rest64gpr_28_t)	evldd 28,112(11)
-HIDDEN_FUNC(_rest64gpr_29_t)	evldd 29,120(11)
-HIDDEN_FUNC(_rest64gpr_30_t)	evldd 30,128(11)
-HIDDEN_FUNC(_rest64gpr_31_t)	lwz 0,148(11)
-				evldd 31,136(11)
-				addi 1,11,144
-				blr
-FUNC_END(_rest64gpr_31_t)
-FUNC_END(_rest64gpr_30_t)
-FUNC_END(_rest64gpr_29_t)
-FUNC_END(_rest64gpr_28_t)
-FUNC_END(_rest64gpr_27_t)
-FUNC_END(_rest64gpr_26_t)
-FUNC_END(_rest64gpr_25_t)
-FUNC_END(_rest64gpr_24_t)
-FUNC_END(_rest64gpr_23_t)
-FUNC_END(_rest64gpr_22_t)
-FUNC_END(_rest64gpr_21_t)
-FUNC_END(_rest64gpr_20_t)
-FUNC_END(_rest64gpr_19_t)
-FUNC_END(_rest64gpr_18_t)
-FUNC_END(_rest64gpr_17_t)
-FUNC_END(_rest64gpr_16_t)
-FUNC_END(_rest64gpr_15_t)
-FUNC_END(_rest64gpr_14_t)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtresx32gpr.S b/libgcc/config/rs6000/e500crtresx32gpr.S
deleted file mode 100644
index ea14a051ab8..00000000000
--- a/libgcc/config/rs6000/e500crtresx32gpr.S
+++ /dev/null
@@ -1,75 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* Routines for restoring 32-bit integer registers, called by the compiler.  */
-/* "Exit" versions that return to the caller's caller.  */
-
-HIDDEN_FUNC(_rest32gpr_14_x)	lwz 14,-72(11)
-HIDDEN_FUNC(_rest32gpr_15_x)	lwz 15,-68(11)
-HIDDEN_FUNC(_rest32gpr_16_x)	lwz 16,-64(11)
-HIDDEN_FUNC(_rest32gpr_17_x)	lwz 17,-60(11)
-HIDDEN_FUNC(_rest32gpr_18_x)	lwz 18,-56(11)
-HIDDEN_FUNC(_rest32gpr_19_x)	lwz 19,-52(11)
-HIDDEN_FUNC(_rest32gpr_20_x)	lwz 20,-48(11)
-HIDDEN_FUNC(_rest32gpr_21_x)	lwz 21,-44(11)
-HIDDEN_FUNC(_rest32gpr_22_x)	lwz 22,-40(11)
-HIDDEN_FUNC(_rest32gpr_23_x)	lwz 23,-36(11)
-HIDDEN_FUNC(_rest32gpr_24_x)	lwz 24,-32(11)
-HIDDEN_FUNC(_rest32gpr_25_x)	lwz 25,-28(11)
-HIDDEN_FUNC(_rest32gpr_26_x)	lwz 26,-24(11)
-HIDDEN_FUNC(_rest32gpr_27_x)	lwz 27,-20(11)
-HIDDEN_FUNC(_rest32gpr_28_x)	lwz 28,-16(11)
-HIDDEN_FUNC(_rest32gpr_29_x)	lwz 29,-12(11)
-HIDDEN_FUNC(_rest32gpr_30_x)	lwz 30,-8(11)
-HIDDEN_FUNC(_rest32gpr_31_x)	lwz 0,4(11)
-				lwz 31,-4(11)
-				mr 1,11
-				mtlr 0
-				blr
-FUNC_END(_rest32gpr_31_x)
-FUNC_END(_rest32gpr_30_x)
-FUNC_END(_rest32gpr_29_x)
-FUNC_END(_rest32gpr_28_x)
-FUNC_END(_rest32gpr_27_x)
-FUNC_END(_rest32gpr_26_x)
-FUNC_END(_rest32gpr_25_x)
-FUNC_END(_rest32gpr_24_x)
-FUNC_END(_rest32gpr_23_x)
-FUNC_END(_rest32gpr_22_x)
-FUNC_END(_rest32gpr_21_x)
-FUNC_END(_rest32gpr_20_x)
-FUNC_END(_rest32gpr_19_x)
-FUNC_END(_rest32gpr_18_x)
-FUNC_END(_rest32gpr_17_x)
-FUNC_END(_rest32gpr_16_x)
-FUNC_END(_rest32gpr_15_x)
-FUNC_END(_rest32gpr_14_x)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtresx64gpr.S b/libgcc/config/rs6000/e500crtresx64gpr.S
deleted file mode 100644
index 20f63562166..00000000000
--- a/libgcc/config/rs6000/e500crtresx64gpr.S
+++ /dev/null
@@ -1,75 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* "Exit" versions that return to their caller's caller.  */
-
-HIDDEN_FUNC(_rest64gpr_14_x)	evldd 14,0(11)
-HIDDEN_FUNC(_rest64gpr_15_x)	evldd 15,8(11)
-HIDDEN_FUNC(_rest64gpr_16_x)	evldd 16,16(11)
-HIDDEN_FUNC(_rest64gpr_17_x)	evldd 17,24(11)
-HIDDEN_FUNC(_rest64gpr_18_x)	evldd 18,32(11)
-HIDDEN_FUNC(_rest64gpr_19_x)	evldd 19,40(11)
-HIDDEN_FUNC(_rest64gpr_20_x)	evldd 20,48(11)
-HIDDEN_FUNC(_rest64gpr_21_x)	evldd 21,56(11)
-HIDDEN_FUNC(_rest64gpr_22_x)	evldd 22,64(11)
-HIDDEN_FUNC(_rest64gpr_23_x)	evldd 23,72(11)
-HIDDEN_FUNC(_rest64gpr_24_x)	evldd 24,80(11)
-HIDDEN_FUNC(_rest64gpr_25_x)	evldd 25,88(11)
-HIDDEN_FUNC(_rest64gpr_26_x)	evldd 26,96(11)
-HIDDEN_FUNC(_rest64gpr_27_x)	evldd 27,104(11)
-HIDDEN_FUNC(_rest64gpr_28_x)	evldd 28,112(11)
-HIDDEN_FUNC(_rest64gpr_29_x)	evldd 29,120(11)
-HIDDEN_FUNC(_rest64gpr_30_x)	evldd 30,128(11)
-HIDDEN_FUNC(_rest64gpr_31_x)	lwz 0,148(11)
-				evldd 31,136(11)
-				addi 1,11,144
-				mtlr 0
-				blr
-FUNC_END(_rest64gpr_31_x)
-FUNC_END(_rest64gpr_30_x)
-FUNC_END(_rest64gpr_29_x)
-FUNC_END(_rest64gpr_28_x)
-FUNC_END(_rest64gpr_27_x)
-FUNC_END(_rest64gpr_26_x)
-FUNC_END(_rest64gpr_25_x)
-FUNC_END(_rest64gpr_24_x)
-FUNC_END(_rest64gpr_23_x)
-FUNC_END(_rest64gpr_22_x)
-FUNC_END(_rest64gpr_21_x)
-FUNC_END(_rest64gpr_20_x)
-FUNC_END(_rest64gpr_19_x)
-FUNC_END(_rest64gpr_18_x)
-FUNC_END(_rest64gpr_17_x)
-FUNC_END(_rest64gpr_16_x)
-FUNC_END(_rest64gpr_15_x)
-FUNC_END(_rest64gpr_14_x)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtsav32gpr.S b/libgcc/config/rs6000/e500crtsav32gpr.S
deleted file mode 100644
index 57b7661de11..00000000000
--- a/libgcc/config/rs6000/e500crtsav32gpr.S
+++ /dev/null
@@ -1,73 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* Routines for saving 32-bit integer registers, called by the compiler.  */
-/* "Bare" versions that simply return to their caller.  */
-
-HIDDEN_FUNC(_save32gpr_14)	stw 14,-72(11)
-HIDDEN_FUNC(_save32gpr_15)	stw 15,-68(11)
-HIDDEN_FUNC(_save32gpr_16)	stw 16,-64(11)
-HIDDEN_FUNC(_save32gpr_17)	stw 17,-60(11)
-HIDDEN_FUNC(_save32gpr_18)	stw 18,-56(11)
-HIDDEN_FUNC(_save32gpr_19)	stw 19,-52(11)
-HIDDEN_FUNC(_save32gpr_20)	stw 20,-48(11)
-HIDDEN_FUNC(_save32gpr_21)	stw 21,-44(11)
-HIDDEN_FUNC(_save32gpr_22)	stw 22,-40(11)
-HIDDEN_FUNC(_save32gpr_23)	stw 23,-36(11)
-HIDDEN_FUNC(_save32gpr_24)	stw 24,-32(11)
-HIDDEN_FUNC(_save32gpr_25)	stw 25,-28(11)
-HIDDEN_FUNC(_save32gpr_26)	stw 26,-24(11)
-HIDDEN_FUNC(_save32gpr_27)	stw 27,-20(11)
-HIDDEN_FUNC(_save32gpr_28)	stw 28,-16(11)
-HIDDEN_FUNC(_save32gpr_29)	stw 29,-12(11)
-HIDDEN_FUNC(_save32gpr_30)	stw 30,-8(11)
-HIDDEN_FUNC(_save32gpr_31)	stw 31,-4(11)
-				blr
-FUNC_END(_save32gpr_31)
-FUNC_END(_save32gpr_30)
-FUNC_END(_save32gpr_29)
-FUNC_END(_save32gpr_28)
-FUNC_END(_save32gpr_27)
-FUNC_END(_save32gpr_26)
-FUNC_END(_save32gpr_25)
-FUNC_END(_save32gpr_24)
-FUNC_END(_save32gpr_23)
-FUNC_END(_save32gpr_22)
-FUNC_END(_save32gpr_21)
-FUNC_END(_save32gpr_20)
-FUNC_END(_save32gpr_19)
-FUNC_END(_save32gpr_18)
-FUNC_END(_save32gpr_17)
-FUNC_END(_save32gpr_16)
-FUNC_END(_save32gpr_15)
-FUNC_END(_save32gpr_14)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtsav64gpr.S b/libgcc/config/rs6000/e500crtsav64gpr.S
deleted file mode 100644
index e027bdc55a6..00000000000
--- a/libgcc/config/rs6000/e500crtsav64gpr.S
+++ /dev/null
@@ -1,72 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* Routines for saving 64-bit integer registers, called by the compiler.  */
-
-HIDDEN_FUNC(_save64gpr_14)	evstdd 14,0(11)
-HIDDEN_FUNC(_save64gpr_15)	evstdd 15,8(11)
-HIDDEN_FUNC(_save64gpr_16)	evstdd 16,16(11)
-HIDDEN_FUNC(_save64gpr_17)	evstdd 17,24(11)
-HIDDEN_FUNC(_save64gpr_18)	evstdd 18,32(11)
-HIDDEN_FUNC(_save64gpr_19)	evstdd 19,40(11)
-HIDDEN_FUNC(_save64gpr_20)	evstdd 20,48(11)
-HIDDEN_FUNC(_save64gpr_21)	evstdd 21,56(11)
-HIDDEN_FUNC(_save64gpr_22)	evstdd 22,64(11)
-HIDDEN_FUNC(_save64gpr_23)	evstdd 23,72(11)
-HIDDEN_FUNC(_save64gpr_24)	evstdd 24,80(11)
-HIDDEN_FUNC(_save64gpr_25)	evstdd 25,88(11)
-HIDDEN_FUNC(_save64gpr_26)	evstdd 26,96(11)
-HIDDEN_FUNC(_save64gpr_27)	evstdd 27,104(11)
-HIDDEN_FUNC(_save64gpr_28)	evstdd 28,112(11)
-HIDDEN_FUNC(_save64gpr_29)	evstdd 29,120(11)
-HIDDEN_FUNC(_save64gpr_30)	evstdd 30,128(11)
-HIDDEN_FUNC(_save64gpr_31)	evstdd 31,136(11)
-				blr
-FUNC_END(_save64gpr_31)
-FUNC_END(_save64gpr_30)
-FUNC_END(_save64gpr_29)
-FUNC_END(_save64gpr_28)
-FUNC_END(_save64gpr_27)
-FUNC_END(_save64gpr_26)
-FUNC_END(_save64gpr_25)
-FUNC_END(_save64gpr_24)
-FUNC_END(_save64gpr_23)
-FUNC_END(_save64gpr_22)
-FUNC_END(_save64gpr_21)
-FUNC_END(_save64gpr_20)
-FUNC_END(_save64gpr_19)
-FUNC_END(_save64gpr_18)
-FUNC_END(_save64gpr_17)
-FUNC_END(_save64gpr_16)
-FUNC_END(_save64gpr_15)
-FUNC_END(_save64gpr_14)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtsav64gprctr.S b/libgcc/config/rs6000/e500crtsav64gprctr.S
deleted file mode 100644
index d44e77861d3..00000000000
--- a/libgcc/config/rs6000/e500crtsav64gprctr.S
+++ /dev/null
@@ -1,91 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* Routines for saving 64-bit integer registers where the number of
-   registers to be saved is passed in CTR, called by the compiler.  */
-/* "Bare" versions that return to their caller.  */
-
-HIDDEN_FUNC(_save64gpr_ctr_14)	evstdd 14,0(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_15)	evstdd 15,8(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_16)	evstdd 16,16(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_17)	evstdd 17,24(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_18)	evstdd 18,32(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_19)	evstdd 19,40(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_20)	evstdd 20,48(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_21)	evstdd 21,56(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_22)	evstdd 22,64(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_23)	evstdd 23,72(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_24)	evstdd 24,80(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_25)	evstdd 25,88(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_26)	evstdd 26,96(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_27)	evstdd 27,104(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_28)	evstdd 28,112(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_29)	evstdd 29,120(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_30)	evstdd 30,128(11)
-				bdz _save64gpr_ctr_done
-HIDDEN_FUNC(_save64gpr_ctr_31)	evstdd 31,136(11)
-_save64gpr_ctr_done:		blr
-FUNC_END(_save64gpr_ctr_31)
-FUNC_END(_save64gpr_ctr_30)
-FUNC_END(_save64gpr_ctr_29)
-FUNC_END(_save64gpr_ctr_28)
-FUNC_END(_save64gpr_ctr_27)
-FUNC_END(_save64gpr_ctr_26)
-FUNC_END(_save64gpr_ctr_25)
-FUNC_END(_save64gpr_ctr_24)
-FUNC_END(_save64gpr_ctr_23)
-FUNC_END(_save64gpr_ctr_22)
-FUNC_END(_save64gpr_ctr_21)
-FUNC_END(_save64gpr_ctr_20)
-FUNC_END(_save64gpr_ctr_19)
-FUNC_END(_save64gpr_ctr_18)
-FUNC_END(_save64gpr_ctr_17)
-FUNC_END(_save64gpr_ctr_16)
-FUNC_END(_save64gpr_ctr_15)
-FUNC_END(_save64gpr_ctr_14)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtsavg32gpr.S b/libgcc/config/rs6000/e500crtsavg32gpr.S
deleted file mode 100644
index c2e8294c84e..00000000000
--- a/libgcc/config/rs6000/e500crtsavg32gpr.S
+++ /dev/null
@@ -1,73 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* Routines for saving 32-bit integer registers, called by the compiler.  */
-/* "GOT" versions that load the address of the GOT into lr before returning.  */
-
-HIDDEN_FUNC(_save32gpr_14_g)	stw 14,-72(11)
-HIDDEN_FUNC(_save32gpr_15_g)	stw 15,-68(11)
-HIDDEN_FUNC(_save32gpr_16_g)	stw 16,-64(11)
-HIDDEN_FUNC(_save32gpr_17_g)	stw 17,-60(11)
-HIDDEN_FUNC(_save32gpr_18_g)	stw 18,-56(11)
-HIDDEN_FUNC(_save32gpr_19_g)	stw 19,-52(11)
-HIDDEN_FUNC(_save32gpr_20_g)	stw 20,-48(11)
-HIDDEN_FUNC(_save32gpr_21_g)	stw 21,-44(11)
-HIDDEN_FUNC(_save32gpr_22_g)	stw 22,-40(11)
-HIDDEN_FUNC(_save32gpr_23_g)	stw 23,-36(11)
-HIDDEN_FUNC(_save32gpr_24_g)	stw 24,-32(11)
-HIDDEN_FUNC(_save32gpr_25_g)	stw 25,-28(11)
-HIDDEN_FUNC(_save32gpr_26_g)	stw 26,-24(11)
-HIDDEN_FUNC(_save32gpr_27_g)	stw 27,-20(11)
-HIDDEN_FUNC(_save32gpr_28_g)	stw 28,-16(11)
-HIDDEN_FUNC(_save32gpr_29_g)	stw 29,-12(11)
-HIDDEN_FUNC(_save32gpr_30_g)	stw 30,-8(11)
-HIDDEN_FUNC(_save32gpr_31_g)	stw 31,-4(11)
-				b _GLOBAL_OFFSET_TABLE_-4
-FUNC_END(_save32gpr_31_g)
-FUNC_END(_save32gpr_30_g)
-FUNC_END(_save32gpr_29_g)
-FUNC_END(_save32gpr_28_g)
-FUNC_END(_save32gpr_27_g)
-FUNC_END(_save32gpr_26_g)
-FUNC_END(_save32gpr_25_g)
-FUNC_END(_save32gpr_24_g)
-FUNC_END(_save32gpr_23_g)
-FUNC_END(_save32gpr_22_g)
-FUNC_END(_save32gpr_21_g)
-FUNC_END(_save32gpr_20_g)
-FUNC_END(_save32gpr_19_g)
-FUNC_END(_save32gpr_18_g)
-FUNC_END(_save32gpr_17_g)
-FUNC_END(_save32gpr_16_g)
-FUNC_END(_save32gpr_15_g)
-FUNC_END(_save32gpr_14_g)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtsavg64gpr.S b/libgcc/config/rs6000/e500crtsavg64gpr.S
deleted file mode 100644
index 5ea6ce3b343..00000000000
--- a/libgcc/config/rs6000/e500crtsavg64gpr.S
+++ /dev/null
@@ -1,73 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* Routines for saving 64-bit integer registers, called by the compiler.  */
-/* "GOT" versions that load the address of the GOT into lr before returning.  */
-
-HIDDEN_FUNC(_save64gpr_14_g)	evstdd 14,0(11)
-HIDDEN_FUNC(_save64gpr_15_g)	evstdd 15,8(11)
-HIDDEN_FUNC(_save64gpr_16_g)	evstdd 16,16(11)
-HIDDEN_FUNC(_save64gpr_17_g)	evstdd 17,24(11)
-HIDDEN_FUNC(_save64gpr_18_g)	evstdd 18,32(11)
-HIDDEN_FUNC(_save64gpr_19_g)	evstdd 19,40(11)
-HIDDEN_FUNC(_save64gpr_20_g)	evstdd 20,48(11)
-HIDDEN_FUNC(_save64gpr_21_g)	evstdd 21,56(11)
-HIDDEN_FUNC(_save64gpr_22_g)	evstdd 22,64(11)
-HIDDEN_FUNC(_save64gpr_23_g)	evstdd 23,72(11)
-HIDDEN_FUNC(_save64gpr_24_g)	evstdd 24,80(11)
-HIDDEN_FUNC(_save64gpr_25_g)	evstdd 25,88(11)
-HIDDEN_FUNC(_save64gpr_26_g)	evstdd 26,96(11)
-HIDDEN_FUNC(_save64gpr_27_g)	evstdd 27,104(11)
-HIDDEN_FUNC(_save64gpr_28_g)	evstdd 28,112(11)
-HIDDEN_FUNC(_save64gpr_29_g)	evstdd 29,120(11)
-HIDDEN_FUNC(_save64gpr_30_g)	evstdd 30,128(11)
-HIDDEN_FUNC(_save64gpr_31_g)	evstdd 31,136(11)
-				b _GLOBAL_OFFSET_TABLE_-4
-FUNC_END(_save64gpr_31_g)
-FUNC_END(_save64gpr_30_g)
-FUNC_END(_save64gpr_29_g)
-FUNC_END(_save64gpr_28_g)
-FUNC_END(_save64gpr_27_g)
-FUNC_END(_save64gpr_26_g)
-FUNC_END(_save64gpr_25_g)
-FUNC_END(_save64gpr_24_g)
-FUNC_END(_save64gpr_23_g)
-FUNC_END(_save64gpr_22_g)
-FUNC_END(_save64gpr_21_g)
-FUNC_END(_save64gpr_20_g)
-FUNC_END(_save64gpr_19_g)
-FUNC_END(_save64gpr_18_g)
-FUNC_END(_save64gpr_17_g)
-FUNC_END(_save64gpr_16_g)
-FUNC_END(_save64gpr_15_g)
-FUNC_END(_save64gpr_14_g)
-
-#endif
diff --git a/libgcc/config/rs6000/e500crtsavg64gprctr.S b/libgcc/config/rs6000/e500crtsavg64gprctr.S
deleted file mode 100644
index 9dd930fab61..00000000000
--- a/libgcc/config/rs6000/e500crtsavg64gprctr.S
+++ /dev/null
@@ -1,90 +0,0 @@ 
-/*
- * Special support for e500 eabi and SVR4
- *
- *   Copyright (C) 2008-2024 Free Software Foundation, Inc.
- *   Written by Nathan Froyd
- *
- * This file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3, or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * Under Section 7 of GPL version 3, you are granted additional
- * permissions described in the GCC Runtime Library Exception, version
- * 3.1, as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License and
- * a copy of the GCC Runtime Library Exception along with this program;
- * see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-	.section ".text"
-	#include "ppc-asm.h"
-
-#ifdef __SPE__
-
-/* Routines for saving 64-bit integer registers, called by the compiler.  */
-/* "GOT" versions that load the address of the GOT into lr before returning.  */
-
-HIDDEN_FUNC(_save64gpr_ctr_14_g)	evstdd 14,0(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_15_g)	evstdd 15,8(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_16_g)	evstdd 16,16(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_17_g)	evstdd 17,24(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_18_g)	evstdd 18,32(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_19_g)	evstdd 19,40(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_20_g)	evstdd 20,48(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_21_g)	evstdd 21,56(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_22_g)	evstdd 22,64(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_23_g)	evstdd 23,72(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_24_g)	evstdd 24,80(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_25_g)	evstdd 25,88(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_26_g)	evstdd 26,96(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_27_g)	evstdd 27,104(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_28_g)	evstdd 28,112(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_29_g)	evstdd 29,120(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_30_g)	evstdd 30,128(11)
-				bdz _save64gpr_ctr_g_done
-HIDDEN_FUNC(_save64gpr_ctr_31_g)	evstdd 31,136(11)
-_save64gpr_ctr_g_done:		b _GLOBAL_OFFSET_TABLE_-4
-FUNC_END(_save64gpr_ctr_31_g)
-FUNC_END(_save64gpr_ctr_30_g)
-FUNC_END(_save64gpr_ctr_29_g)
-FUNC_END(_save64gpr_ctr_28_g)
-FUNC_END(_save64gpr_ctr_27_g)
-FUNC_END(_save64gpr_ctr_26_g)
-FUNC_END(_save64gpr_ctr_25_g)
-FUNC_END(_save64gpr_ctr_24_g)
-FUNC_END(_save64gpr_ctr_23_g)
-FUNC_END(_save64gpr_ctr_22_g)
-FUNC_END(_save64gpr_ctr_21_g)
-FUNC_END(_save64gpr_ctr_20_g)
-FUNC_END(_save64gpr_ctr_19_g)
-FUNC_END(_save64gpr_ctr_18_g)
-FUNC_END(_save64gpr_ctr_17_g)
-FUNC_END(_save64gpr_ctr_16_g)
-FUNC_END(_save64gpr_ctr_15_g)
-FUNC_END(_save64gpr_ctr_14_g)
-
-#endif
diff --git a/libgcc/config/rs6000/linux-unwind.h b/libgcc/config/rs6000/linux-unwind.h
index 8ec0d212c04..c005f49f3a3 100644
--- a/libgcc/config/rs6000/linux-unwind.h
+++ b/libgcc/config/rs6000/linux-unwind.h
@@ -273,17 +273,6 @@  ppc_fallback_frame_state (struct _Unwind_Context *context,
   fs->regs.how[R_VRSAVE] = REG_SAVED_OFFSET;
   fs->regs.reg[R_VRSAVE].loc.offset = (long) &vregs->vsave - new_cfa;

-  /* If we have SPE register high-parts... we check at compile-time to
-     avoid expanding the code for all other PowerPC.  */
-#ifdef __SPE__
-  for (i = 14; i < 32; i++)
-    {
-      fs->regs.how[i + FIRST_SPE_HIGH_REGNO - 4] = REG_SAVED_OFFSET;
-      fs->regs.reg[i + FIRST_SPE_HIGH_REGNO - 4].loc.offset
-	= (long) &regs->vregs - new_cfa + 4 * i;
-    }
-#endif
-
   return _URC_NO_REASON;
 }

diff --git a/libgcc/config/rs6000/t-savresfgpr b/libgcc/config/rs6000/t-savresfgpr
index a8455ae1af9..e252cc8c32e 100644
--- a/libgcc/config/rs6000/t-savresfgpr
+++ b/libgcc/config/rs6000/t-savresfgpr
@@ -7,17 +7,4 @@  LIB2ADD_ST += \
 	   $(srcdir)/config/rs6000/crtresxfpr.S \
 	   $(srcdir)/config/rs6000/crtresxgpr.S \
 	   $(srcdir)/config/rs6000/crtsavevr.S \
-	   $(srcdir)/config/rs6000/crtrestvr.S \
-	   $(srcdir)/config/rs6000/e500crtres32gpr.S \
-	   $(srcdir)/config/rs6000/e500crtres64gpr.S \
-	   $(srcdir)/config/rs6000/e500crtres64gprctr.S \
-	   $(srcdir)/config/rs6000/e500crtrest32gpr.S \
-	   $(srcdir)/config/rs6000/e500crtrest64gpr.S \
-	   $(srcdir)/config/rs6000/e500crtresx32gpr.S \
-	   $(srcdir)/config/rs6000/e500crtresx64gpr.S \
-	   $(srcdir)/config/rs6000/e500crtsav32gpr.S \
-	   $(srcdir)/config/rs6000/e500crtsav64gpr.S \
-	   $(srcdir)/config/rs6000/e500crtsav64gprctr.S \
-	   $(srcdir)/config/rs6000/e500crtsavg32gpr.S \
-	   $(srcdir)/config/rs6000/e500crtsavg64gpr.S \
-	   $(srcdir)/config/rs6000/e500crtsavg64gprctr.S
+	   $(srcdir)/config/rs6000/crtrestvr.S