Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/libgcc/config/sh/t-linux
2023-03-06 14:48:14 +01:00

19 lines
658 B
Plaintext

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