gcc/libgcc/config/gcn/t-amdgcn
Kwok Cheung Yeung d6491d1567 [amdgcn] Add support for sub-word sync_compare_and_swap operations
2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>

	libgcc/
	* config/gcn/atomic.c: New.
	* config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.

From-SVN: r280055
2020-01-09 15:35:14 +00:00

19 lines
532 B
Plaintext

LIB2ADD += $(srcdir)/config/gcn/atomic.c \
$(srcdir)/config/gcn/lib2-divmod.c \
$(srcdir)/config/gcn/lib2-divmod-hi.c \
$(srcdir)/config/gcn/unwind-gcn.c
LIB2ADDEH=
LIB2FUNCS_EXCLUDE=__main
override LIB2FUNCS_ST := $(filter-out __gcc_bcmp,$(LIB2FUNCS_ST))
# Debug information is not useful, and probably uses broken relocations
LIBGCC2_DEBUG_CFLAGS = -g0
crt0.o: $(srcdir)/config/gcn/crt0.c
$(crt_compile) -c $<
# Prevent building "advanced" stuff (for example, gcov support).
INHIBIT_LIBC_CFLAGS = -Dinhibit_libc