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