]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/config/spu/t-elf
Move crtstuff support to toplevel libgcc
[thirdparty/gcc.git] / libgcc / config / spu / t-elf
CommitLineData
5f73c6cc
RO
1# Don't let CTOR_LIST end up in sdata section.
2# FIXME: This is the default.
3CRTSTUFF_T_CFLAGS =
4
5# Neither gcc or newlib seem to have a standard way to generate multiple
6# crt*.o files. So we don't use the standard crt0.o name anymore.
7
8cachemgr.o: $(srcdir)/config/spu/cachemgr.c
9 $(gcc_compile) -c $<
10
11# Specialised rule to add a -D flag.
12cachemgr_nonatomic.o: $(srcdir)/config/spu/cachemgr.c
13 $(gcc_compile) -DNONATOMIC -c $<
14
15libgcc_%.a: %.o
16 $(AR_FOR_TARGET) -rcs $@ $<
17
18cache8k.o: $(srcdir)/config/spu/cache.S
19 $(gcc_compile) -D__CACHE_SIZE__=8 -c $<
20
21cache16k.o: $(srcdir)/config/spu/cache.S
22 $(gcc_compile) -D__CACHE_SIZE__=16 -c $<
23
24cache32k.o: $(srcdir)/config/spu/cache.S
25 $(gcc_compile) -D__CACHE_SIZE__=32 -c $<
26
27cache64k.o: $(srcdir)/config/spu/cache.S
28 $(gcc_compile) -D__CACHE_SIZE__=64 -c $<
29
30cache128k.o: $(srcdir)/config/spu/cache.S
31 $(gcc_compile) -D__CACHE_SIZE__=128 -c $<
32
569dc494
RO
33# We provide our own version of __divdf3 that performs better and has
34# better support for non-default rounding modes.
35DPBIT_FUNCS := $(filter-out _div_df, $(DPBIT_FUNCS))