summaryrefslogtreecommitdiff
path: root/libgcc/config/sh/t-linux
blob: 60dee8de11ac2b76181e147db9b425624a572bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
LIB1ASMFUNCS_CACHE = _ic_invalidate _ic_invalidate_array

LIB2ADD = $(srcdir)/config/sh/linux-atomic.c

HOST_LIBGCC2_CFLAGS += -mieee -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