libgcc: Make heap trampoline support dynamic [PR113403].

This removes the heap trampoline support functions from libgcc.a and
adds them to libgcc_eh.a.  They are also present in libgcc_s.

	PR libgcc/113403

libgcc/ChangeLog:

	* config/aarch64/t-heap-trampoline: Move the heap trampoline
	support functions from libgcc.a to libgcc_eh.a.
	* config/i386/t-heap-trampoline: Likewise.
This commit is contained in:
Iain Sandoe 2024-01-19 15:57:04 +00:00
parent fa2739ac1b
commit 7b3b3788c5
2 changed files with 4 additions and 2 deletions

View file

@ -16,4 +16,5 @@
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
LIB2ADD += $(srcdir)/config/aarch64/heap-trampoline.c
LIB2ADDEH += $(srcdir)/config/aarch64/heap-trampoline.c
LIB2ADDEHSHARED += $(srcdir)/config/aarch64/heap-trampoline.c

View file

@ -16,4 +16,5 @@
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
LIB2ADD += $(srcdir)/config/i386/heap-trampoline.c
LIB2ADDEH += $(srcdir)/config/i386/heap-trampoline.c
LIB2ADDEHSHARED += $(srcdir)/config/aarch64/heap-trampoline.c