]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgcc: Make heap trampoline support dynamic [PR113403].
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 19 Jan 2024 15:57:04 +0000 (15:57 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Tue, 30 Jan 2024 09:32:48 +0000 (09:32 +0000)
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.

libgcc/config/aarch64/t-heap-trampoline
libgcc/config/i386/t-heap-trampoline

index b22480800b223e676f8be9db74747f687876c91b..6468fb8704f244be4068f228e6ab01f09439d64f 100644 (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
index 613f635b1f63293b453fc6fd6296547cb9cd17c8..728c1e26a92262b32e53501ab937766aacf543cb 100644 (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