aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2024-01-19 15:57:04 +0000
committerIain Sandoe <iain@sandoe.co.uk>2024-01-30 09:32:48 +0000
commit7b3b3788c579856abcfdc6eed589c64dc7e88cdb (patch)
tree3c48afea61f68ff3eec42562c37969d1271b540c /libgcc
parentfa2739ac1b74769d97fba34db9b9a8aa8786539e (diff)
downloadgcc-7b3b3788c579856abcfdc6eed589c64dc7e88cdb.zip
gcc-7b3b3788c579856abcfdc6eed589c64dc7e88cdb.tar.gz
gcc-7b3b3788c579856abcfdc6eed589c64dc7e88cdb.tar.bz2
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.
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/config/aarch64/t-heap-trampoline3
-rw-r--r--libgcc/config/i386/t-heap-trampoline3
2 files changed, 4 insertions, 2 deletions
diff --git a/libgcc/config/aarch64/t-heap-trampoline b/libgcc/config/aarch64/t-heap-trampoline
index b224808..6468fb8 100644
--- a/libgcc/config/aarch64/t-heap-trampoline
+++ b/libgcc/config/aarch64/t-heap-trampoline
@@ -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
diff --git a/libgcc/config/i386/t-heap-trampoline b/libgcc/config/i386/t-heap-trampoline
index 613f635..728c1e2 100644
--- a/libgcc/config/i386/t-heap-trampoline
+++ b/libgcc/config/i386/t-heap-trampoline
@@ -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