Home | History | Annotate | Line # | Download | only in rl78
t-rl78 revision 1.1.1.2
      1      1.1  mrg # Makefile fragment for building LIBGCC for the Renesas RL78 target.
      2  1.1.1.2  mrg # Copyright (C) 2011-2015 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  mrg 	$(srcdir)/config/rl78/cmpsi2.S
     34  1.1.1.2  mrg 
     35  1.1.1.2  mrg LIB2FUNCS_EXCLUDE = _clzhi2 _clzsi2 _ctzhi2 _ctzsi2 \
     36  1.1.1.2  mrg   _popcounthi2 _popcountsi2 \
     37  1.1.1.2  mrg   _parityhi2 _paritysi2 _ffssi2 _ffshi2 \
     38  1.1.1.2  mrg   _negate_sf _compare_sf _eq_sf _ne_sf _gt_sf _ge_sf \
     39  1.1.1.2  mrg   _lt_sf _le_sf _unord_sf \
     40  1.1.1.2  mrg   _si_to_sf _usi_to_sf \
     41  1.1.1.2  mrg   _sf_to_si   _sf_to_usi \
     42  1.1.1.2  mrg   _fixunssfsi _fixsfsi \
     43  1.1.1.2  mrg   _addsub_sf _mul_sf _div_sf
     44  1.1.1.2  mrg 
     45  1.1.1.2  mrg # Remove __gcc_bcmp from LIB2FUNCS_ST
     46  1.1.1.2  mrg LIB2FUNCS_ST = _eprintf
     47  1.1.1.2  mrg 	
     48  1.1.1.2  mrg HOST_LIBGCC2_CFLAGS += -Os -ffunction-sections -fdata-sections
     49