1 1.1 mrg # Makefile fragment for building LIBGCC for the TI MSP430 processor. 2 1.1 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 # Note - we have separate versions of the lib2div<mode> files 22 1.1 mrg # as the functions are quite large and we do not want to pull 23 1.1 mrg # in unneeded division routines. 24 1.1 mrg 25 1.1 mrg LIB2ADD = \ 26 1.1 mrg $(srcdir)/config/msp430/lib2divQI.c \ 27 1.1 mrg $(srcdir)/config/msp430/lib2divHI.c \ 28 1.1 mrg $(srcdir)/config/msp430/lib2divSI.c \ 29 1.1 mrg $(srcdir)/config/msp430/lib2bitcountHI.c \ 30 1.1 mrg $(srcdir)/config/msp430/lib2mul.c \ 31 1.1 mrg $(srcdir)/config/msp430/lib2shift.c \ 32 1.1 mrg $(srcdir)/config/msp430/epilogue.S \ 33 1.1 mrg $(srcdir)/config/msp430/mpy.c \ 34 1.1 mrg $(srcdir)/config/msp430/slli.S \ 35 1.1 mrg $(srcdir)/config/msp430/srai.S \ 36 1.1 mrg $(srcdir)/config/msp430/srli.S \ 37 1.1 mrg $(srcdir)/config/msp430/cmpsi2.S \ 38 1.1 mrg $(srcdir)/config/msp430/lib2hw_mul.S \ 39 1.1 mrg $(srcdir)/config/msp430/floatunhisf.c \ 40 1.1 mrg $(srcdir)/config/msp430/floatunhidf.c \ 41 1.1 mrg $(srcdir)/config/msp430/floathidf.c \ 42 1.1 mrg $(srcdir)/config/msp430/floathisf.c \ 43 1.1 mrg $(srcdir)/config/msp430/cmpd.c 44 1.1 mrg 45 1.1 mrg HOST_LIBGCC2_CFLAGS += -Os -ffunction-sections -fdata-sections -mhwmult=none 46 1.1 mrg 47 1.1 mrg # Local Variables: 48 1.1 mrg # mode: Makefile 49 1.1 mrg # End: 50