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