summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/t-kfreebsd-gnu
blob: a40dc7a568a218ca7e008a9e714727d3a4679494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# glibc provides a limits.h, which must be combined with gcc's limits.h.
LIMITS_H_TEST = true

# Compile crtbeginS.o and crtendS.o with pic.
CRTSTUFF_T_CFLAGS_S = -fPIC
# Compile libgcc2.a with pic.
TARGET_LIBGCC2_CFLAGS = -fPIC

# Override t-slibgcc-elf-ver to export some libgcc symbols with
# the symbol versions that glibc used.
SHLIB_MAPFILES += $(srcdir)/config/libgcc-glibc.ver

# Use unwind-dw2-fde-glibc
LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-glibc.c \
  $(srcdir)/unwind-sjlj.c
LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c
OpenPOWER on IntegriCloud