aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgcc/config/msp430/t-msp430
blob: f82c123b5554c054e3b3b9e6bec5183e2cf4794d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Makefile fragment for building LIBGCC for the TI MSP430 processor.
# Copyright (C) 2011-2014 Free Software Foundation, Inc.
# Contributed by Red Hat.
#
# This file is part of GCC.
#
# GCC is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published
# by the Free Software Foundation; either version 3, or (at your
# option) any later version.
#
# GCC is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   See
# the GNU General Public License for more details.
#
# You should have received a copy of the  GNU General Public
# License along with GCC; see the file COPYING3.  If not see
# <http://www.gnu.org/licenses/>.

# Note - we have separate versions of the lib2div<mode> files
# as the functions are quite large and we do not want to pull
# in unneeded division routines.

LIB2ADD = \
	$(srcdir)/config/msp430/lib2divQI.c \
	$(srcdir)/config/msp430/lib2divHI.c \
	$(srcdir)/config/msp430/lib2divSI.c \
	$(srcdir)/config/msp430/lib2bitcountHI.c \
	$(srcdir)/config/msp430/lib2mul.c \
	$(srcdir)/config/msp430/lib2shift.c \
	$(srcdir)/config/msp430/epilogue.S \
	$(srcdir)/config/msp430/mpy.c \
	$(srcdir)/config/msp430/slli.S \
	$(srcdir)/config/msp430/srai.S \
	$(srcdir)/config/msp430/srli.S \
	$(srcdir)/config/msp430/cmpsi2.S \
	$(srcdir)/config/msp430/lib2hw_mul.S \
	$(srcdir)/config/msp430/floatunhisf.c \
	$(srcdir)/config/msp430/floatunhidf.c \
	$(srcdir)/config/msp430/floathidf.c \
	$(srcdir)/config/msp430/floathisf.c \
	$(srcdir)/config/msp430/cmpd.c

HOST_LIBGCC2_CFLAGS += -Os -ffunction-sections -fdata-sections -mhwmult=none

# Local Variables:
# mode: Makefile
# End: