]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/config/rl78/t-rl78
Update copyright years.
[thirdparty/gcc.git] / libgcc / config / rl78 / t-rl78
1 # Makefile fragment for building LIBGCC for the Renesas RL78 target.
2 # Copyright (C) 2011-2020 Free Software Foundation, Inc.
3 # Contributed by Red Hat.
4 #
5 # This file is part of GCC.
6 #
7 # GCC is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published
9 # by the Free Software Foundation; either version 3, or (at your
10 # option) any later version.
11 #
12 # GCC is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
15 # the GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public
18 # License along with GCC; see the file COPYING3. If not see
19 # <http://www.gnu.org/licenses/>.
20
21 LIB2ADD = \
22 $(srcdir)/config/rl78/trampoline.S \
23 $(srcdir)/config/rl78/lib2shift.c \
24 $(srcdir)/config/rl78/lshrsi3.S \
25 $(srcdir)/config/rl78/mulsi3.S \
26 $(srcdir)/config/rl78/divmodsi.S \
27 $(srcdir)/config/rl78/divmodhi.S \
28 $(srcdir)/config/rl78/divmodqi.S \
29 $(srcdir)/config/rl78/signbit.S \
30 $(srcdir)/config/rl78/bit-count.S \
31 $(srcdir)/config/rl78/fpbit-sf.S \
32 $(srcdir)/config/rl78/fpmath-sf.S \
33 $(srcdir)/config/rl78/cmpsi2.S \
34 $(srcdir)/config/rl78/adddi3.S \
35 $(srcdir)/config/rl78/subdi3.S \
36 $(srcdir)/config/rl78/umindi3.S \
37 $(srcdir)/config/rl78/umaxdi3.S \
38 $(srcdir)/config/rl78/smindi3.S \
39 $(srcdir)/config/rl78/smaxdi3.S \
40 $(srcdir)/config/rl78/anddi3.S
41
42 LIB2FUNCS_EXCLUDE = _clzhi2 _clzsi2 _ctzhi2 _ctzsi2 \
43 _popcounthi2 _popcountsi2 \
44 _parityhi2 _paritysi2 _ffssi2 _ffshi2 \
45 _negate_sf _compare_sf _eq_sf _ne_sf _gt_sf _ge_sf \
46 _lt_sf _le_sf _unord_sf \
47 _si_to_sf _usi_to_sf \
48 _sf_to_si _sf_to_usi \
49 _fixunssfsi _fixsfsi \
50 _addsub_sf _mul_sf _div_sf
51
52 # Remove __gcc_bcmp from LIB2FUNCS_ST
53 LIB2FUNCS_ST = _eprintf
54
55 HOST_LIBGCC2_CFLAGS += -Os -ffunction-sections -fdata-sections