]>
Commit | Line | Data |
---|---|---|
5f73c6cc RO |
1 | # Don't let CTOR_LIST end up in sdata section. |
2 | # FIXME: This is the default. | |
3 | CRTSTUFF_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 | ||
8 | cachemgr.o: $(srcdir)/config/spu/cachemgr.c | |
9 | $(gcc_compile) -c $< | |
10 | ||
11 | # Specialised rule to add a -D flag. | |
12 | cachemgr_nonatomic.o: $(srcdir)/config/spu/cachemgr.c | |
13 | $(gcc_compile) -DNONATOMIC -c $< | |
14 | ||
15 | libgcc_%.a: %.o | |
16 | $(AR_FOR_TARGET) -rcs $@ $< | |
17 | ||
18 | cache8k.o: $(srcdir)/config/spu/cache.S | |
19 | $(gcc_compile) -D__CACHE_SIZE__=8 -c $< | |
20 | ||
21 | cache16k.o: $(srcdir)/config/spu/cache.S | |
22 | $(gcc_compile) -D__CACHE_SIZE__=16 -c $< | |
23 | ||
24 | cache32k.o: $(srcdir)/config/spu/cache.S | |
25 | $(gcc_compile) -D__CACHE_SIZE__=32 -c $< | |
26 | ||
27 | cache64k.o: $(srcdir)/config/spu/cache.S | |
28 | $(gcc_compile) -D__CACHE_SIZE__=64 -c $< | |
29 | ||
30 | cache128k.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. | |
35 | DPBIT_FUNCS := $(filter-out _div_df, $(DPBIT_FUNCS)) |