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