diff options
Diffstat (limited to 'contrib/gcc/config/t-kfreebsd-gnu')
-rw-r--r-- | contrib/gcc/config/t-kfreebsd-gnu | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/gcc/config/t-kfreebsd-gnu b/contrib/gcc/config/t-kfreebsd-gnu new file mode 100644 index 0000000..a40dc7a --- /dev/null +++ b/contrib/gcc/config/t-kfreebsd-gnu @@ -0,0 +1,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 |