aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/t-libunwind
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/t-libunwind')
-rw-r--r--gcc/config/t-libunwind6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/t-libunwind b/gcc/config/t-libunwind
new file mode 100644
index 00000000000..53ba327a316
--- /dev/null
+++ b/gcc/config/t-libunwind
@@ -0,0 +1,6 @@
+# Override the default value from t-slibgcc-elf-ver and mention -lunwind
+# so that the resulting libgcc_s.so has the necessary DT_NEEDED entry for
+# libunwind.
+SHLIB_LC = -lunwind -lc
+LIB2ADDEH = $(srcdir)/unwind-libunwind.c $(srcdir)/unwind-sjlj.c \
+ $(srcdir)/unwind-c.c