]>
Commit | Line | Data |
---|---|---|
cbe34bb5 | 1 | # Copyright (C) 1993-2017 Free Software Foundation, Inc. |
5f73c6cc RO |
2 | # |
3 | # This file is part of GCC. | |
4 | # | |
5 | # GCC is free software; you can redistribute it and/or modify | |
6 | # it under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 3, or (at your option) | |
8 | # any later version. | |
9 | # | |
10 | # GCC is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | # GNU General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU General Public License | |
16 | # along with GCC; see the file COPYING3. If not see | |
17 | # <http://www.gnu.org/licenses/>. | |
18 | ||
45b86625 RO |
19 | LIB1ASMSRC = sh/lib1funcs.S |
20 | LIB1ASMFUNCS = _ashiftrt _ashiftrt_n _ashiftlt _lshiftrt _movmem \ | |
21 | _movmem_i4 _mulsi3 _sdivsi3 _sdivsi3_i4 _udivsi3 _udivsi3_i4 _set_fpscr \ | |
22 | _div_table _udiv_qrnnd_16 \ | |
23 | $(LIB1ASMFUNCS_CACHE) | |
24 | LIB1ASMFUNCS_CACHE = _ic_invalidate _ic_invalidate_array | |
25 | ||
5f73c6cc RO |
26 | crt1.o: $(srcdir)/config/sh/crt1.S |
27 | $(gcc_compile) -c $< | |
28 | ||
45b86625 | 29 | ic_invalidate_array_4-100.o: $(srcdir)/config/sh/lib1funcs.S |
5f73c6cc RO |
30 | $(gcc_compile) -c -DL_ic_invalidate_array -DWAYS=1 -DWAY_SIZE=0x2000 $< |
31 | libic_invalidate_array_4-100.a: ic_invalidate_array_4-100.o | |
32 | $(AR_CREATE_FOR_TARGET) $@ $< | |
33 | ||
45b86625 | 34 | ic_invalidate_array_4-200.o: $(srcdir)/config/sh/lib1funcs.S |
5f73c6cc RO |
35 | $(gcc_compile) -c -DL_ic_invalidate_array -DWAYS=2 -DWAY_SIZE=0x2000 $< |
36 | libic_invalidate_array_4-200.a: ic_invalidate_array_4-200.o | |
37 | $(AR_CREATE_FOR_TARGET) $@ $< | |
38 | ||
45b86625 | 39 | ic_invalidate_array_4a.o: $(srcdir)/config/sh/lib1funcs.S |
5f73c6cc RO |
40 | $(gcc_compile) -c -DL_ic_invalidate_array -D__FORCE_SH4A__ $< |
41 | libic_invalidate_array_4a.a: ic_invalidate_array_4a.o | |
42 | $(AR_CREATE_FOR_TARGET) $@ $< | |
43 | ||
44 | sdivsi3_i4i-Os-4-200.o: $(srcdir)/config/sh/lib1funcs-Os-4-200.S | |
02750c15 | 45 | $(gcc_compile) -c -DL_sdivsi3_i4i $< |
5f73c6cc RO |
46 | udivsi3_i4i-Os-4-200.o: $(srcdir)/config/sh/lib1funcs-Os-4-200.S |
47 | $(gcc_compile) -c -DL_udivsi3_i4i $< | |
f9989b51 | 48 | unwind-dw2-Os-4-200.o: $(srcdir)/unwind-dw2.c |
5f73c6cc RO |
49 | $(gcc_compile) $(LIBGCC2_CFLAGS) $(vis_hide) -fexceptions -Os -c $< |
50 | ||
51 | OBJS_Os_4_200=sdivsi3_i4i-Os-4-200.o udivsi3_i4i-Os-4-200.o unwind-dw2-Os-4-200.o | |
52 | libgcc-Os-4-200.a: $(OBJS_Os_4_200) | |
53 | $(AR_CREATE_FOR_TARGET) $@ $(OBJS_Os_4_200) | |
54 | ||
55 | div_table-4-300.o: $(srcdir)/config/sh/lib1funcs-4-300.S | |
56 | $(gcc_compile) -c -DL_div_table $< | |
57 | ||
58 | libgcc-4-300.a: div_table-4-300.o | |
59 | $(AR_CREATE_FOR_TARGET) $@ div_table-4-300.o | |
f9989b51 | 60 |