]>
Commit | Line | Data |
---|---|---|
85b8555e | 1 | # Makefile fragment for building LIBGCC for the Renesas RL78 target. |
83ffe9cd | 2 | # Copyright (C) 2011-2023 Free Software Foundation, Inc. |
85b8555e DD |
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 \ | |
85b8555e DD |
23 | $(srcdir)/config/rl78/lib2shift.c \ |
24 | $(srcdir)/config/rl78/lshrsi3.S \ | |
25 | $(srcdir)/config/rl78/mulsi3.S \ | |
ceb2fc49 DD |
26 | $(srcdir)/config/rl78/divmodsi.S \ |
27 | $(srcdir)/config/rl78/divmodhi.S \ | |
28 | $(srcdir)/config/rl78/divmodqi.S \ | |
29 | $(srcdir)/config/rl78/signbit.S \ | |
8410904a NC |
30 | $(srcdir)/config/rl78/bit-count.S \ |
31 | $(srcdir)/config/rl78/fpbit-sf.S \ | |
32 | $(srcdir)/config/rl78/fpmath-sf.S \ | |
a0bf6cf7 | 33 | $(srcdir)/config/rl78/cmpsi2.S \ |
5feee954 | 34 | $(srcdir)/config/rl78/adddi3.S \ |
5dd16013 | 35 | $(srcdir)/config/rl78/subdi3.S \ |
99cc06ea | 36 | $(srcdir)/config/rl78/umindi3.S \ |
d975e494 | 37 | $(srcdir)/config/rl78/umaxdi3.S \ |
6e9007a0 | 38 | $(srcdir)/config/rl78/smindi3.S \ |
bc8b0d04 SP |
39 | $(srcdir)/config/rl78/smaxdi3.S \ |
40 | $(srcdir)/config/rl78/anddi3.S | |
52a1ff8b | 41 | |
8410904a NC |
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 | ||
52a1ff8b | 55 | HOST_LIBGCC2_CFLAGS += -Os -ffunction-sections -fdata-sections |