aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgcc/config/sh/t-linux
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libgcc/config/sh/t-linux')
-rw-r--r--gcc-4.9/libgcc/config/sh/t-linux18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc-4.9/libgcc/config/sh/t-linux b/gcc-4.9/libgcc/config/sh/t-linux
new file mode 100644
index 000000000..d316db937
--- /dev/null
+++ b/gcc-4.9/libgcc/config/sh/t-linux
@@ -0,0 +1,18 @@
+LIB1ASMFUNCS_CACHE = _ic_invalidate _ic_invalidate_array
+
+LIB2ADD = $(srcdir)/config/sh/linux-atomic.c
+
+HOST_LIBGCC2_CFLAGS += -DNO_FPSCR_VALUES
+
+# Silence atomic built-in related warnings in linux-atomic.c.
+# Unfortunately the conflicting types warning can't be disabled selectively.
+HOST_LIBGCC2_CFLAGS += -w -Wno-sync-nand
+
+# Override t-slibgcc-elf-ver to export some libgcc symbols with
+# the symbol versions that glibc used, and hide some lib1func
+# routines which should not be called via PLT. We have to create
+# the list from scratch.
+SHLIB_MAPFILES = \
+ libgcc-std.ver \
+ $(srcdir)/config/sh/libgcc-excl.ver \
+ $(srcdir)/config/sh/libgcc-glibc.ver