1146895Skan# Use the system libunwind library.
2146895Skan#
3132718Skan# Override the default value from t-slibgcc-elf-ver and mention -lunwind
4132718Skan# so that the resulting libgcc_s.so has the necessary DT_NEEDED entry for
5132718Skan# libunwind.
6132718SkanSHLIB_LC = -lunwind -lc
7146895SkanLIB2ADDEH = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c \
8146895Skan  $(srcdir)/unwind-compat.c $(srcdir)/unwind-dw2-fde-compat.c
9146895SkanLIB2ADDEHSTATIC = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
10146895Skan
11146895SkanT_CFLAGS += -DUSE_LIBUNWIND_EXCEPTIONS
12146895SkanTARGET_LIBGCC2_CFLAGS += -DUSE_GAS_SYMVER
13