aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgcc/config/t-libunwind
blob: 5244928da3c6b06cd785daf88d48d65194e7920b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Use the system libunwind library.

HOST_LIBGCC2_CFLAGS += -DUSE_GAS_SYMVER

LIB2ADDEH = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c \
  $(srcdir)/unwind-compat.c $(srcdir)/unwind-dw2-fde-compat.c
LIB2ADDEHSTATIC = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c

# 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